Hacker News new | ask | show | jobs
by xpe 424 days ago
> Gemini is ... way cheaper.

Yep. Here are the API pricing numbers for Gemini vs Claude. All per 1M tokens.

1. Gemini 2.5: in: $0.15; out: $0.60 non-thinking or $3.50 thinking

2. Claude 3.7: in: $3.00; out: $15

[1] https://ai.google.dev/gemini-api/docs/pricing [2] https://www.anthropic.com/pricing#api

1 comments

Your gemini pricing is for flash, not pro. Also, claude uses prompt caching and gemini currently does not. The pricing isn't super straightforward because of that.