All comparisons · Prices checked 2026-10-01
Gemini 3.1 Pro vs Claude Sonnet 5.5: API cost comparison
For a typical chatbot reply, Gemini 3.1 Pro costs $0.0074 and Claude Sonnet 5.5 costs $0.0091 per request: Gemini 3.1 Pro is 19% cheaper. Gemini 3.1 Pro is cheaper in every workload below.
API prices
| Gemini 3.1 Pro | Claude Sonnet 5.5 | |
|---|---|---|
| Maker | Anthropic | |
| Input / 1M tokens | $2 | $2 |
| Output / 1M tokens | $12 | $10 |
| Output vs input price | 6.0× | 5.0× |
| Context window | 1.05M tokens | 1M tokens |
| Tokens for the same English text | ~95% of GPT's count (estimate) | ~130% of GPT's count (estimate) |
Cost by workload
| Workload (per 1,000 requests) | Gemini 3.1 Pro | Claude Sonnet 5.5 | Cheaper |
|---|---|---|---|
| Chatbot reply short question plus some chat history · 1,500 in / 400 out | $7.41 | $9.10 | Gemini 3.1 Pro 19% cheaper |
| Document Q&A (RAG) retrieved passages plus a question · 8,000 in / 500 out | $20.90 | $27.30 | Gemini 3.1 Pro 23% cheaper |
| Coding agent step large working context, short edit · 25,000 in / 800 out | $56.62 | $75.40 | Gemini 3.1 Pro 25% cheaper |
| Summarize a long report long input, short summary · 20,000 in / 300 out | $41.42 | $55.90 | Gemini 3.1 Pro 26% cheaper |
| Write an article short brief, long draft · 800 in / 2,000 out | $24.32 | $28.08 | Gemini 3.1 Pro 13% cheaper |
Gemini 3.1 Pro is cheaper on both input and output, so it costs less for every kind of request. The gap is 1.4× on input and 1.1× on output once the tokenizer difference is included.
Same text, different token counts. Each company uses its own tokenizer. By our estimate Claude Sonnet 5.5 counts about 37% more tokens than Gemini 3.1 Pro for the same English text, and the costs above already include that. Paste your own prompt into the token counter to see both counts.
Monthly cost
| Monthly volume | Gemini 3.1 Pro | Claude Sonnet 5.5 |
|---|---|---|
| 10,000 chatbot replies / month | $74.10 | $91.00 |
| 100,000 chatbot replies / month | $741 | $910 |
| 1,000,000 chatbot replies / month | $7,410 | $9,100 |
Calculate your own
Enter your typical request size and volume.
Token counts are for English text measured with GPT's tokenizer; each model's own tokenizer difference is applied automatically.
Questions
Which is cheaper, Gemini 3.1 Pro or Claude Sonnet 5.5?
For a typical chatbot reply (1,500 input and 400 output tokens), Gemini 3.1 Pro costs $0.0074 and Claude Sonnet 5.5 costs $0.0091 per request, so Gemini 3.1 Pro is 19% cheaper. Gemini 3.1 Pro is cheaper in every workload below.
How much do Gemini 3.1 Pro and Claude Sonnet 5.5 cost per million tokens?
Gemini 3.1 Pro costs $2 per 1M input tokens and $12 per 1M output tokens. Claude Sonnet 5.5 costs $2 input and $10 output. Prices checked 2026-10-01.
Do both models count the same text as the same number of tokens?
No. Each model family has its own tokenizer, so the same text can be a different number of tokens. The costs on this page already include that difference (estimated from GPT's tokenizer).
Related comparisons
- GPT-6 Sol vs Claude Sonnet 5.5
- Gemini 4 Argon vs Gemini 3.1 Pro
- Gemini 3.1 Pro vs GPT-6 Sol
- Claude Sonnet 5.5 vs Claude Opus 5.5
- Claude Haiku 4.5 vs Claude Sonnet 5.5
- DeepSeek V4 Pro vs Claude Sonnet 5.5
Paste a real prompt to see its exact tokens and cost on Gemini 3.1 Pro, Claude Sonnet 5.5 and 30+ other models.
Open the token counter →Standard API list prices, short-context tier, no caching or batch discounts. Prices change; check each provider's pricing page before large jobs.