Claude Sonnet 5 vs Gemini 3.8 Flash
Anthropic's workhorse against Google's, where Flash stays cheaper even after its 2027 price rise. Both list prices from the makers’ own pages, and what three everyday jobs cost on each.
US dollars, standard rate, shortest context band. Price only: this page does not rank quality.
- Claude Sonnet 5
- $10.00
- Gemini 3.8 Flash
- $3.75
- Claude Sonnet 5, per M tokens
- $2 / $10
- Gemini 3.8 Flash, per M tokens
- $0.75 / $3.75
3,000 tokens in and 400 out each, at list price.
Per million tokens, Claude Sonnet 5 costs $2 in and $10 out; Gemini 3.8 Flash costs $0.75 in and $3.75 out. 1,000 support replies cost $10.00 on Claude Sonnet 5 and $3.75 on Gemini 3.8 Flash, so Claude Sonnet 5 costs 2.7 times as much.
Side by side
Each maker’s published rate for its standard tier. Cached input is what a repeated prompt prefix costs once the provider has stored it.
| Fact | Claude Sonnet 5 | Gemini 3.8 Flash |
|---|---|---|
| Maker | Anthropic | |
| Tier | Workhorses | Workhorses |
| Input, per M tokens | $2.00 | $0.75 |
| Output, per M tokens | $10.00 | $3.75 |
| Cached input | $0.20 | $0.075 |
| Context window | 1M | 1.05M |
| Released | 30 Jun 2026 | 2 Sep 2026 |
| Weights | Closed | Closed |
What a job costs on each
1,000 runs of each job at the two list prices. The gap moves from job to job because the models price input, output and cached context differently.
| Job | Claude Sonnet 5 | Gemini 3.8 Flash | Cheaper |
|---|---|---|---|
| Support reply3,000 in, 400 out. | $10.00 | $3.75 | Gemini 3.8 Flash, 63% less |
| Document summary25,000 in, 1,000 out. | $60.00 | $22.50 | Gemini 3.8 Flash, 63% less |
| Agent task80,000 in (70,000 cached), 3,000 out. | $64.00 | $24.00 | Gemini 3.8 Flash, 63% less |
The token counts are ours, chosen to look like real work; the prices are the makers’. A model with no published cache price bills the agent task’s repeated context at its full input rate.
The small print
What each base rate leaves out, from the makers’ own pages: surcharges, discounts, promotions and cache pricing.
- Claude Sonnet 5
- The introductory $2 / $10 price became the standard price; the planned rise to $3 / $15 was cancelled. Cache write $2.50 (5 min) or $4 (1 h). Batch API 50% off. US-only inference (inference_geo) bills 1.1x. Full context window billed at standard rates. Anthropic’s pricing page
- Gemini 3.8 Flash
- Launch price through 2026-12-31; from 2027-01-01 it becomes $1.50 / $7.50, cached $0.15. Batch and Flex 50% off; Priority $1.35 / $6.75. Cache storage $0.50 per MTok per hour (rising to $1.00). Google’s pricing page
Other comparisons
Every head to head on the list that involves Claude Sonnet 5 or Gemini 3.8 Flash.
- Mistral Medium 3.5 vs Claude Sonnet 5
- Claude Sonnet 5 vs GPT-5.6 Terra
- GPT-5.6 Terra vs Gemini 3.8 Flash
- Claude Sonnet 5 vs Claude Sonnet 4.6
- Claude Sonnet 5 vs Claude Opus 5
- Qwen3.7 Plus vs Gemini 3.8 Flash
- Mistral Medium 3.5 vs Gemini 3.8 Flash
- Grok 4.3 vs Gemini 3.8 Flash
- Claude Haiku 4.5 vs Gemini 3.8 Flash
Run both for a quarter of list price
AIGROW API credit covers Claude Sonnet 5 and Gemini 3.8 Flash and is metered at the list prices above: $25 buys $100 of usage.
Prices checked 22 September 2026