Claude Haiku 4.5 vs Gemini 3.5 Flash API pricing
Updated
Claude Haiku 4.5: USD 1 input, USD 5 output per 1M tokens (Anthropic and 3 others). Gemini 3.5 Flash: USD 1.50 input, USD 9 output per 1M tokens (DeepInfra and 2 others). At 3 input tokens per output token, Gemini 3.5 Flash costs 69% more than Claude Haiku 4.5 (USD 3.375 vs USD 2 per 1M).
How do Claude Haiku 4.5 and Gemini 3.5 Flash differ on price?
- Cheapest input price: Claude Haiku 4.5 USD 1 against USD 1.50 per 1M tokens, so Gemini 3.5 Flash costs 1.5× as much (50% more).
- Cheapest output price: Claude Haiku 4.5 USD 5 against USD 9 per 1M tokens, so Gemini 3.5 Flash costs 1.8× as much (80% more).
- Among the 201 indexed models, Claude Haiku 4.5 ranks 154th cheapest and Gemini 3.5 Flash 164th on the 3:1 blend.
- No input:output mix changes the answer: Claude Haiku 4.5 is cheaper at every mix before cache discounts.
- Both list cached-input discounts: Claude Haiku 4.5 at 4 standard prices of 5, from USD 0.10 (Anthropic, 90% below that provider's input price); Gemini 3.5 Flash at 2 standard prices of 3, from USD 0.15 (GMI Cloud, 90% below that provider's input price).
- Gemini 3.5 Flash states up to 1,048,576 tokens of context, 5.2× the 200,000 of Claude Haiku 4.5.
- Claude Haiku 4.5 has 5 providers with a standard price, 2 more than Gemini 3.5 Flash; 2 providers sell both (DeepInfra and Google Vertex AI).
- On one account, DeepInfra charges USD 2 for Claude Haiku 4.5 (its cheapest price) and USD 3.375 for Gemini 3.5 Flash (its cheapest price) at 3:1, tied with 1 other provider for the lowest combined price among the providers that sell both.
- Shopping around matters more for Claude Haiku 4.5: its dearest standard price is 1.1× its cheapest, against 1× for Gemini 3.5 Flash.
- Anthropic's own API is one of 4 providers tied for the lowest standard price we found for Claude Haiku 4.5, USD 2 at 3:1.
- Claude Haiku 4.5 has a batch price at 3 providers, from USD 1 at 3:1 (Anthropic); Gemini 3.5 Flash has a batch price at 1 provider, from USD 1.688 at 3:1 (Google Vertex AI).
- For the one-developer coding agent preset, the gap is USD 6,858 a year in Claude Haiku 4.5's favour (Claude Haiku 4.5 USD 873.00 a month, Gemini 3.5 Flash USD 1,444).
Claude Haiku 4.5 and Gemini 3.5 Flash prices side by side
USD per 1M tokens, standard tier. "Cheapest" is the lowest price at 3 input tokens to 1 output token; each line can come from a different provider.
| Price | Claude Haiku 4.5 | Gemini 3.5 Flash |
|---|---|---|
| Model page | Claude Haiku 4.5 Anthropic · 5 providers | Gemini 3.5 Flash Google · 3 providers |
| Cheapest standard price, blended 3:1 | USD 2 lower USD 1 in / USD 5 out at Anthropic and 3 others Anthropic page checked 2026-11-14 | USD 3.375 USD 1.50 in / USD 9 out at DeepInfra and 2 others DeepInfra page checked 2026-11-14 |
| Cheapest input | USD 1 lower Anthropic source | USD 1.50 DeepInfra source |
| Cheapest cached input | USD 0.10 lower Anthropic source | USD 0.15 GMI Cloud source |
| Cheapest output | USD 5 lower Anthropic source | USD 9 DeepInfra source |
| Maker's own API | USD 1 / USD 5 Anthropic source | Google publishes no paid standard price on its own API that we found. |
| Median standard price | USD 1 / USD 5 input / output, 5 prices | USD 1.50 / USD 9 input / output, 3 prices |
| Context window | 200,000 tokens, largest stated | 1,048,576 tokens, largest stated; from 1,000,000 at some providers |
| Providers with a standard price | 5 | 3 |
- Lower marks the lower price on a line; tie, equal prices. Other tiers and free rows are on the model pages.
Report a wrong price or number (email to info@broadnet.ai, with this page's link filled in).
What do Claude Haiku 4.5 and Gemini 3.5 Flash cost for a real workload?
30 days at each model's cheapest standard price for the workload (presets of the cost calculator; cached input at the cached price where listed).
| Workload | Claude Haiku 4.5 | Gemini 3.5 Flash | Difference |
|---|---|---|---|
| Support chatbot 2,000 requests a day, 1,500 input tokens (60% cached), 300 output | USD 131.40 Anthropic | USD 224.10 GMI Cloud | USD 92.70 Claude Haiku 4.5 lower |
| RAG over documents 1,000 requests a day, 8,000 input tokens (30% cached), 500 output | USD 250.20 Anthropic | USD 397.80 GMI Cloud | USD 147.60 Claude Haiku 4.5 lower |
| Coding agent (one developer) 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning | USD 873.00 Anthropic | USD 1,444 GMI Cloud | USD 571.50 Claude Haiku 4.5 lower |
Claude Haiku 4.5 is cheaper on all three workloads. The widest gap is on Support chatbot: the dearer model costs 71% more than the cheaper one.
Does the cheaper model change with your input:output ratio?
Claude Haiku 4.5 is cheaper at every mix of input and output tokens, before cache discounts: its cheapest input price and its cheapest output price are both at or below Gemini 3.5 Flash's, so the input:output ratio never changes the answer.
| Input : output tokens | Claude Haiku 4.5 | Gemini 3.5 Flash |
|---|---|---|
| 1 : 3 (long answers) | USD 4 lower Anthropic | USD 7.125 DeepInfra |
| 1 : 1 | USD 3 lower Anthropic | USD 5.25 DeepInfra |
| 3 : 1 (the site’s blend) | USD 2 lower Anthropic | USD 3.375 DeepInfra |
| 10 : 1 (retrieval, long prompts) | USD 1.364 lower Anthropic | USD 2.182 DeepInfra |
| 30 : 1 (agents, big contexts) | USD 1.129 lower Anthropic | USD 1.742 DeepInfra |
USD per 1M tokens at the cheapest standard provider for each mix, before cache discounts. Thinking tokens bill as output.
What do Claude Haiku 4.5 and Gemini 3.5 Flash cost per character in other languages?
Not measured: the real cost by language dataset covers only tokenizers we could measure from published files, and Claude Haiku 4.5 and Gemini 3.5 Flash are not among them. Count tokens on your own text with the counters below.
Check it on your own traffic
- Claude Haiku 4.5 API pricing: all 5 providers and other tiers.
- Gemini 3.5 Flash API pricing: all 3 providers and other tiers.
- Cost calculator with Claude Haiku 4.5 and Gemini 3.5 Flash preloaded
- Token counter
- Prompt caching calculator
More comparisons: Claude Haiku 5.5 vs Claude Haiku 4.5 · Gemini 3.6 Flash vs Gemini 3.5 Flash · Gemini 3.5 Flash vs Gemini 2.5 Flash · every Claude Haiku 4.5 comparison · every Gemini 3.5 Flash comparison · all 662 price comparisons
Questions
Is Claude Haiku 4.5 cheaper than Gemini 3.5 Flash?
Yes. On a blend of 3 input tokens to 1 output token, Claude Haiku 4.5 costs USD 2 per 1M tokens and Gemini 3.5 Flash USD 3.375, at each model's cheapest standard price. For input alone, Claude Haiku 4.5 is cheaper (USD 1 against USD 1.50 per 1M); for output alone, Claude Haiku 4.5 is (USD 5 against USD 9). This compares price only, not quality.
What do Claude Haiku 4.5 and Gemini 3.5 Flash cost per 1M tokens?
Claude Haiku 4.5: from USD 1 input and USD 5 output at Anthropic and 3 others; Anthropic's own API charges USD 1 / USD 5; median of 5 standard prices USD 1 / USD 5. Gemini 3.5 Flash: from USD 1.50 input and USD 9 output at DeepInfra and 2 others; median of 3 standard prices USD 1.50 / USD 9. Each price is read from the provider's own pricing page; the source is linked in the table.
Which providers sell both Claude Haiku 4.5 and Gemini 3.5 Flash?
2 providers have a standard price for both: DeepInfra (USD 2 and USD 3.375 at 3:1), Google Vertex AI (USD 2 and USD 3.375 at 3:1). The first 2 tie for the lowest combined price. Buying each model from its own cheapest provider costs USD 2 and USD 3.375.
Which is cheaper for a coding agent or a chatbot, Claude Haiku 4.5 or Gemini 3.5 Flash?
For a coding agent (1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning): USD 873.00 a month on Claude Haiku 4.5 (Anthropic) against USD 1,444 on Gemini 3.5 Flash (GMI Cloud), a difference of USD 571.50. For a support chatbot (2,000 requests a day, 1,500 input tokens (60% cached), 300 output): USD 131.40 a month on Claude Haiku 4.5 (Anthropic) against USD 224.10 on Gemini 3.5 Flash (GMI Cloud), a difference of USD 92.70. Each uses the cheapest standard price for that workload, cached input included. Try your own numbers.
At what input:output ratio does the cheaper of Claude Haiku 4.5 and Gemini 3.5 Flash change?
Claude Haiku 4.5 is cheaper at every mix of input and output tokens, before cache discounts: its cheapest input price and its cheapest output price are both at or below Gemini 3.5 Flash's, so the input:output ratio never changes the answer.
Do Claude Haiku 4.5 and Gemini 3.5 Flash have cached input pricing?
Claude Haiku 4.5 from USD 0.10 per 1M cached input tokens (Anthropic; 4 of 5 standard prices list a discount). Gemini 3.5 Flash from USD 0.15 per 1M cached input tokens (GMI Cloud; 2 of 3 standard prices list a discount). Cached tokens are billed at the input price where no cache price is published.
Which has the larger context window, Claude Haiku 4.5 or Gemini 3.5 Flash?
Gemini 3.5 Flash: up to 1,048,576 tokens, against 200,000 for Claude Haiku 4.5, as stated on providers' pricing pages. Some providers offer less than the maximum; check the model pages before you pick the cheapest row for long prompts.
Read as MarkdownAsk ChatGPTAsk ClaudeAsk Perplexity
Sources