- Genial
- AI Resources
- AI API pricing dashboard
- Claude vs Gemini API pricing
AI Resources
Claude vs Gemini API pricing
Claude and Gemini API prices side by side: model tiers, current models, the cost of the same workload and what each API supports, read from the providers' own pricing pages.
Last verified: October 13, 2026
AnthropicOpus 5.5 and Fable 5.1 offer 1M context at standard token rates, with model-specific cache discounts.
GeminiSelected general-purpose models offer a free tier, multimodal input and discounted Batch and Flex token rates. Gemini 2.5 access is limited to prior active users.
Tier by tier
The closest model of each provider at four levels, shown as input / output price per million tokens.
| Tier | Claude | Gemini |
|---|---|---|
| Flagship | Fable 5.1$10/$50 | 3.1 Pro Preview$2/$12 |
| Mid | Sonnet 5.5$2/$10 | 3.8 Flash$0.75/$3.75 |
| Budget | Haiku 4.5$1/$5 | 3.5 Flash-Lite$0.30/$2.50 |
| Reasoning | Opus 5.5$4/$20 | 3.1 Pro Preview$2/$12 |
Cost of the same workload
Base token-cost estimate for 10 equal requests: 100K input + 10K output tokens each (1M + 100K total). Only models with documented limits covering each request are shown. DeepSeek uses peak rates; its cached row assumes all input hits an existing cache, excluding warm-up misses. Gemini 2.5 requires prior active use. Cache writes, storage, tools, media and service premiums are excluded.
| Claude | Cost |
|---|---|
| Claude Sonnet 5.5 | $3.00 |
| Claude Sonnet 5 | $3.00 |
| Claude Opus 5.5 | $6.00 |
| Claude Opus 4.6 | $7.50 |
| Claude Opus 5 | $7.50 |
| Claude Fable 5.1 | $15.00 |
| Claude Fable 5 | $15.00 |
| Gemini | Cost |
|---|---|
| Gemini 2.5 Flash-Lite | $0.14 |
| Gemini 3.1 Flash-Lite | $0.40 |
| Gemini 3.5 Flash-Lite | $0.55 |
| Gemini 3 Flash Preview | $0.80 |
| Gemini 3.6 Flash | $1.13 |
| Gemini 3.8 Flash | $1.13 |
| Gemini 3.1 Pro Preview | $3.20 |
Anthropic models and prices
| Model | API ID | Input | Output | Batch in/out | Cache hit | Context | Max out |
|---|---|---|---|---|---|---|---|
| Fable 5.1 | claude-fable-5-1 | $10.00 | $50.00 | $5.00 / $25.00 | $0.25 | 1M | 128K |
| Opus 5.5 | claude-opus-5-5 | $4.00 | $20.00 | $2.00 / $10.00 | $0.20 | 1M | 128K |
| Mythos 5.1 | claude-mythos-5-1 | $10.00 | $50.00 | $5.00 / $25.00 | $0.25 | 1M | 128K |
| Mythos 5 | claude-mythos-5 | $10.00 | $50.00 | $5.00 / $25.00 | $1.00 | 1M | 128K |
| Sonnet 5.5 | claude-sonnet-5-5 | $2.00 | $10.00 | $1.00 / $5.00 | $0.10 | 1M | 128K |
| Haiku 5.5 | claude-haiku-5-5 | $0.10 / $0.50 | $0.50 / $2.50 | $0.05 / $0.25; $0.25 / $1.25 | $0.01 / $0.05 | 1M | 128K |
Fable 5.1 and Mythos 5.1 cache reads cost 2.5% of base input; Opus 5.5 and Sonnet 5.5 reads cost 5%; other listed models use 10%. Five-minute writes cost 1.25x input and one-hour writes 2x, without a separate storage fee. Batch discounts input and output by 50%. Fable 5.1, Opus 5.5 and Sonnet 5.5 provide 1M context at standard rates. Haiku 5.5 has 1M context but higher rates above 100K prompt tokens, including cached tokens. Its directory cells show up-to-100K then above-100K rates; each batch pair is input/output. Output limits shown are standard limits, excluding Batch betas. Opus 4.1 retired on August 5, 2026. Opus 5.5, Sonnet 5.5 and Haiku 5.5 additionally support 300K maximum output on the Message Batches API with the output-300k-2026-03-24 beta header. Sonnet 4.5 was deprecated on 2026-09-30 and is scheduled to retire on 2026-11-30; Anthropic recommends claude-sonnet-5-5.
Gemini models and prices
| Model | API ID | Input | Output | Cached | Context | Free |
|---|---|---|---|---|---|---|
| 3.8 Flash | gemini-3.8-flash | $0.75 | $3.75 | $0.075 | 1M | yes |
| 3.6 Flash | gemini-3.6-flash | $0.75 | $3.75 | $0.075 | 1M | yes |
| 3.5 Flash-Lite | gemini-3.5-flash-lite | $0.30 | $2.50 | $0.03 | 1M | yes |
| 3.1 Flash-Lite | gemini-3.1-flash-lite | $0.25 | $1.50 | $0.025 | 1M | yes |
| 3.1 Pro Preview | gemini-3.1-pro-preview | $2.00 / $4.00 | $12.00 / $18.00 | $0.20 / $0.40 | 1M | no |
| 3 Flash Preview | gemini-3-flash-preview | $0.50 | $3.00 | $0.05 | 1M | yes |
Selected models, not the complete Google catalog. Text-input and text-output rates are shown; audio and media can differ. Gemini 3.6/3.8 Flash standard input/output is $0.75/$3.75 per million tokens through 2026-12-31, then $1.50/$7.50 from 2027-01-01. The listed general-purpose text models have a 1,048,576-token input limit and 65,536-token output limit. Gemini 2.5 Pro, 2.5 Flash and 2.5 Flash-Lite require prior active use and are not deprecated. This restriction also applies to the $0.10/$0.40 Flash-Lite option in charts, simulation and the input KPI. Free tiers depend on model and eligibility; 3.1 Pro Preview has none. Explicit caching adds storage charges; implicit caching is enabled by default on Gemini 2.5 and newer. Audio input/cache rates per million tokens are $0.50/$0.05 on 3.1 Flash-Lite, $1.00/$0.10 on 3 Flash Preview and 2.5 Flash, and $0.30/$0.03 on 2.5 Flash-Lite. 3.5 Flash-Lite uses $0.30 input and $0.03 cache for all its input modalities. Imagen 4 is retired; its row is historical. The earliest possible shutdown date for the three Veo 3.1 preview variants is 2026-10-22; Google recommends gemini-omni-1.1-flash. They are not yet shut down.
What each API supports
| Capability | Claude | Gemini |
|---|---|---|
| Vision (image in) | Yes | Yes |
| Video input | Not documented | Native |
| Audio input | Not documented | Native |
| PDF input | PDF text and page images | Native bytes |
| Image generation | Not documented | Nano Banana 2 |
| Video generation | Not documented | Gemini Omni 1.1 Flash |
| Text to speech | Not documented | 3.8 Flash TTS |
| Embeddings | Not documented | Embedding 2 |
| Web search | $10/1K | 3.x: 5K/month free, then $14/1K search queries |
| Tool / function calling | Yes | Yes |
| Structured JSON | Schema enforced | Schema enforced |
| Reasoning mode | Adaptive thinking | Thinking tokens |
| Code fill-in-the-middle | Not documented | Not documented |
| Prompt caching | 90–97.5% off cache reads | Implicit; explicit storage billed hourly |
| Batch API | Yes, 50% off | Yes, 50% off |
| Long-context surcharge | Haiku 5.5: higher rates above 100K prompt tokens | 2x input / 1.5x output above 200K (Pro) |
| Free tier | Trial credits | Selected text models; 2.5 access restricted |
| Max context | 1M | 1M |
| Max output | 128K standard; 300K on selected Batch betas | 64K |
| OpenAI SDK compatible | Testing layer; no prompt caching or strict schemas | OpenAI libraries via compatibility endpoint |
| Data sovereignty | US residency (1.1x) | Not documented |
Scheduled price changes
Dated prices recorded in the pricing data, per million tokens (input / output).
Sources
Every figure on this page was read from the provider's own pricing documentation on the verification date shown above.