Claude Haiku 5.5 vs Gemini 3.8 Flash
Official Anthropic and Google API prices and LMArena scores, checked 2026-12-03. Add up to 2 more models to compare 4.
Claude Haiku 5.5 costs less; Gemini 3.8 Flash wins more LMArena tasks.
Claude Haiku 5.5 is 7.5x cheaper on input and output. Gemini 3.8 Flash scores 69 points higher for reasoning and math; Claude Haiku 5.5 scores 4 points higher for coding. Across 6 shared LMArena tasks, Gemini 3.8 Flash leads 5 to 1. A medium month (20M input + 5M output tokens) costs $4.50 on Claude Haiku 5.5 and $33.75 on Gemini 3.8 Flash.
- Pick Claude Haiku 5.5 if you want the lower bill ($4.50 vs $33.75 for a medium month), you care most about coding (+4) or you reuse long prompts (cached input $0.01 vs $0.075).
- Pick Gemini 3.8 Flash if you care most about reasoning and math (+69), creative writing (+54) and chat (+47).
Medium: 20M input + 5M output tokens a month at list price (short-context rate, no caching or batch discounts).
Marked side is better: lower for prices, higher for context and scores. Bars are scaled to the larger of the two.
| Spec | Claude Haiku 5.5 | Gemini 3.8 Flash |
|---|---|---|
| Price per 1M tokens | ||
| Input | $0.10 | $0.75 |
| Cached input | $0.01 | $0.075 |
| Output | $0.50 | $3.75 |
| Blend 3:1 | $0.20 | $1.50 |
| Sample month, medium | $4.50 | $33.75 |
| Context | ||
| Context window | 1M tokens | 1M tokens |
| Quality (LMArena, out of 100) | ||
| Coding | 5/100 #32 of 59 | 1/100 #35 of 59 |
| Chat | 0/100 #54 of 59 | 47/100 #8 of 59 |
| Creative writing | 0/100 #55 of 59 | 54/100 #8 of 59 |
| Roleplay and characters | 0/100 #56 of 59 | 29/100 #6 of 59 |
| Reasoning and math | 0/100 #39 of 58 | 69/100 #6 of 58 |
| Vision | Not ranked | 78/100 #4 of 35 |
| Long documents | Not ranked | 74/100 #8 of 13 |
| Cheap bulk and agents | 15/100 #28 of 45 | 20/100 #21 of 45 |
| Details | ||
| Provider | Anthropic | |
| API model id | claude-haiku-5.5 | gemini-3.8-flash |
| Notes | Prompts up to 100K tokens. Longer prompts cost $0.50 in, $2.50 out. 5-minute cache writes $0.125. | Through Dec 31, 2026. From Jan 1, 2027: $1.50 in, $7.50 out. |
| Sources | ||
| Last checked | 2026-12-03 | 2026-12-03 |
| Official pricing | Anthropic pricing | Google pricing |
Plans from data checked hourly against each vendor's official pricing page. Vendors state limits in different units, so we quote them as published. Team and enterprise plans are per seat.
API prices in USD per 1M tokens from each provider's official pricing page. Blend 3:1 = (3 x input + output) / 4. Sample month = stated input and output tokens at the list price, no caching. Quality: relative score out of 100 on each LMArena leaderboard (100 = top model we price on that board, n/a = not ranked there), data licensed CC BY 4.0. See how we pick.
Where each one ranks on LMArena
Relative score out of 100 on each leaderboard (100 = the top model we price there), with the rank among the models from our API price table that appear on that board.
- Coding (Code Arena): Claude Haiku 5.5 #32 of 59 (5/100), Gemini 3.8 Flash #35 of 59 (1/100)
- Chat (Text Arena): Claude Haiku 5.5 #54 of 59 (0/100), Gemini 3.8 Flash #8 of 59 (47/100)
- Creative writing (Text Arena creative writing): Claude Haiku 5.5 #55 of 59 (0/100), Gemini 3.8 Flash #8 of 59 (54/100)
- Roleplay and characters (Text Arena multi-turn): Claude Haiku 5.5 #56 of 59 (0/100), Gemini 3.8 Flash #6 of 59 (29/100)
- Reasoning and math (Text Arena math): Claude Haiku 5.5 #39 of 58 (0/100), Gemini 3.8 Flash #6 of 58 (69/100)
- Vision (Vision Arena): Claude Haiku 5.5 not ranked, Gemini 3.8 Flash #4 of 35 (78/100)
- Long documents (Document Arena): Claude Haiku 5.5 not ranked, Gemini 3.8 Flash #8 of 13 (74/100)
- Cheap bulk and agents (Agent Arena): Claude Haiku 5.5 #28 of 45 (15/100), Gemini 3.8 Flash #21 of 45 (20/100)
Pricing details from the official pages
Claude Haiku 5.5 lists $0.10 input, $0.50 output, $0.01 cached input per 1M tokens on Anthropic pricing. Gemini 3.8 Flash lists $0.75 input, $3.75 output, $0.075 cached input per 1M tokens on Google pricing. Prices checked 2026-12-03.
- Claude Haiku 5.5: Prompts up to 100K tokens. Longer prompts cost $0.50 in, $2.50 out. 5-minute cache writes $0.125.
- Gemini 3.8 Flash: Through Dec 31, 2026. From Jan 1, 2027: $1.50 in, $7.50 out.
Sample monthly bill at list price, no caching: Light (2M input + 0.5M output tokens): $0.45 vs $3.38. Medium (20M input + 5M output tokens): $4.50 vs $33.75. Heavy (200M input + 50M output tokens): $45 vs $337.50.
FAQ
Is Claude Haiku 5.5 cheaper than Gemini 3.8 Flash?
Claude Haiku 5.5 costs $0.10 input and $0.50 output per 1M tokens; Gemini 3.8 Flash costs $0.75 and $3.75. For a medium month (20M input + 5M output tokens) Claude Haiku 5.5 is cheaper: $4.50 vs $33.75.
Which is better for coding, Claude Haiku 5.5 or Gemini 3.8 Flash?
On LMArena's Code Arena Claude Haiku 5.5 scores 5/100 (#32 of 59) and Gemini 3.8 Flash 1/100 (#35 of 59), so Claude Haiku 5.5 is ahead by 4 points.
Which has the bigger context window?
Claude Haiku 5.5: 1M tokens. Gemini 3.8 Flash: 1M tokens. Both list the same window. Long prompts can cost more; see the pricing notes above.
How much do Claude Haiku 5.5 and Gemini 3.8 Flash cost per month?
Light (2M input + 0.5M output tokens): $0.45 vs $3.38. Medium (20M input + 5M output tokens): $4.50 vs $33.75. Heavy (200M input + 50M output tokens): $45 vs $337.50. Pick your own token counts in the plan vs API calculator.
Where do these numbers come from?
Prices come from each provider's official pricing page, checked daily. Quality is the relative score on the LMArena leaderboard dataset, licensed CC BY 4.0. Where a model is not ranked we show n/a.
Sources
Related
- Claude vs Gemini API pricing
- Claude Haiku 5.5 API pricing and alternatives
- Gemini 3.8 Flash API pricing and alternatives
- Cheapest LLM APIs, compared
- Anthropic API pricing, every model
- Google API pricing, every model
- DeepSeek V4.1 Flash vs Gemini 3.8 Flash
- GPT-6 Luna vs Gemini 3.8 Flash
- Seed 2.1 Turbo vs Gemini 3.8 Flash
- DeepSeek V4.1 Flash vs Claude Haiku 5.5
- Claude Sonnet 5.5 vs Claude Haiku 5.5
- GPT-6.1 Terra vs Gemini 3.8 Flash