---
title: "Claude Haiku 4.5 vs Gemini 3.8 Flash API pricing compared"
description: "Claude Haiku 4.5 vs Gemini 3.8 Flash API price per 1M tokens: USD 1 / USD 5 vs USD 0.75 / USD 3.75 input/output, from providers' own pricing pages."
url: https://broadrouter.com/llm-api-pricing/compare/claude-haiku-4.5-vs-gemini-3.8-flash/
lang: en
updated: 2026-11-15
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# Claude Haiku 4.5 vs Gemini 3.8 Flash API pricing

Updated 2026-11-15

Claude Haiku 4.5: USD 1 input, USD 5 output per 1M tokens (Anthropic and 3 others). Gemini 3.8 Flash: USD 0.75 input, USD 3.75 output per 1M tokens (Google Gemini API and 2 others, promotional). At 3 input tokens per output token, Claude Haiku 4.5 costs 33% more than Gemini 3.8 Flash (USD 2 vs USD 1.50 per 1M).

Picked by the same-tier rule: both are in the fourth quarter of the indexed models by price (above USD 1.40 per 1M tokens at 3:1) and in the same size class, small (a tier word such as Flash, Mini or Haiku, or 40B parameters or fewer). Gemini 3.8 Flash is the 2nd-closest-priced model from another maker to Claude Haiku 4.5 in that bucket. **Price only**: every number is computed from prices read from each provider's own pricing page (linked per cell, newest check 2026-11-15), with no claim about quality, speed or accuracy.

## How do Claude Haiku 4.5 and Gemini 3.8 Flash differ on price?

-   Cheapest input price: Gemini 3.8 Flash USD 0.75 against USD 1 per 1M tokens, so Claude Haiku 4.5 costs 1.33× as much (33% more).
-   Cheapest output price: Gemini 3.8 Flash USD 3.75 against USD 5 per 1M tokens, so Claude Haiku 4.5 costs 1.33× as much (33% more).
-   Among the 201 indexed models, Claude Haiku 4.5 ranks 154th cheapest and Gemini 3.8 Flash 144th on the 3:1 blend.
-   No input:output mix changes the answer: Gemini 3.8 Flash 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.8 Flash at 3 standard prices of 3, from USD 0.075 (Google Gemini API, 90% below that provider's input price).
-   Gemini 3.8 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.8 Flash; 1 provider sells both (Google Vertex AI).
-   On one account, Google Vertex AI charges USD 2 for Claude Haiku 4.5 (its cheapest price) and USD 1.50 for Gemini 3.8 Flash (its cheapest price) at 3:1, 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.8 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.
-   Google's own API is one of 3 providers tied for the lowest standard price we found for Gemini 3.8 Flash, USD 1.50 at 3:1.
-   Claude Haiku 4.5 has a batch price at 3 providers, from USD 1 at 3:1 (Anthropic); Gemini 3.8 Flash has a batch price at 2 providers, from USD 0.75 at 3:1 (Google Gemini API).
-   For the one-developer coding agent preset, the gap is USD 2,619 a year in Gemini 3.8 Flash's favour (Claude Haiku 4.5 USD 873.00 a month, Gemini 3.8 Flash USD 654.75).

## Claude Haiku 4.5 and Gemini 3.8 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.

Claude Haiku 4.5 and Gemini 3.8 Flash API prices compared
| Price | Claude Haiku 4.5 | Gemini 3.8 Flash |
| --- | --- | --- |
| Model page | [Claude Haiku 4.5](https://broadrouter.com/llm-api-pricing/claude-haiku-4.5/) · Anthropic · 5 providers | [Gemini 3.8 Flash](https://broadrouter.com/llm-api-pricing/gemini-3.8-flash/) · Google · 3 providers |
| Cheapest standard price, blended 3:1 | USD 2 · USD 1 in / USD 5 out at Anthropic and 3 others · [Anthropic page](https://platform.claude.com/docs/en/about-claude/pricing) checked 2026-11-14 | USD 1.50 lower promo · USD 0.75 in / USD 3.75 out at Google Gemini API and 2 others · [Google Gemini API page](https://aistudio.google.com/docs/pricing#gemini-3.8-flash) checked 2026-11-14 |
| Cheapest input | USD 1 · Anthropic [source](https://platform.claude.com/docs/en/about-claude/pricing) | USD 0.75 lower promo · Google Gemini API [source](https://aistudio.google.com/docs/pricing#gemini-3.8-flash) |
| Cheapest cached input | USD 0.10 · Anthropic [source](https://platform.claude.com/docs/en/about-claude/pricing) | USD 0.075 lower promo · Google Gemini API [source](https://aistudio.google.com/docs/pricing#gemini-3.8-flash) |
| Cheapest output | USD 5 · Anthropic [source](https://platform.claude.com/docs/en/about-claude/pricing) | USD 3.75 lower promo · Google Gemini API [source](https://aistudio.google.com/docs/pricing#gemini-3.8-flash) |
| Cheapest non-promotional price | The cheapest price is not promotional. | USD 0.75 / USD 3.75 · GMI Cloud, USD 1.50 blended [source](https://console.gmicloud.ai/model/llm/gemini-3-8-flash/e5aabab2-5ae8-4de1-875b-8aca0d92a833) |
| Maker's own API | USD 1 / USD 5 · Anthropic [source](https://platform.claude.com/docs/en/about-claude/pricing) | USD 0.75 / USD 3.75 promo · Google Gemini API [source](https://aistudio.google.com/docs/pricing#gemini-3.8-flash) |
| Median standard price | USD 1 / USD 5 · input / output, 5 prices | USD 0.75 / USD 3.75 · input / output, 3 prices |
| Context window | 200,000 tokens, largest stated | 1,048,576 tokens, largest stated |
| 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.
-   **Promo:** the provider calls the price promotional or discounted, so it is current now and can end without notice.

[Report a wrong price or number](mailto:info@broadnet.ai?subject=Wrong%20price%20or%20number%20on%20Claude%20Haiku%204.5%20vs%20Gemini%203.8%20Flash%20API%20pricing&body=Page%3A%20https%3A%2F%2Fbroadrouter.com%2Fllm-api-pricing%2Fcompare%2Fclaude-haiku-4.5-vs-gemini-3.8-flash%2F%0A%0AWhat%20looks%20wrong%20(model%2C%20figure%20shown%2C%20correct%20figure%20and%20a%20source%20link%20if%20you%20have%20one)%3A%0A) (email to info@broadnet.ai, with this page's link filled in).

## What do Claude Haiku 4.5 and Gemini 3.8 Flash cost for a real workload?

30 days at each model's cheapest standard price for the workload (presets of the [cost calculator](https://broadrouter.com/tools/llm-api-cost-calculator/?model=claude-haiku-4.5,gemini-3.8-flash); cached input at the cached price where listed).

Monthly cost of three workloads on Claude Haiku 4.5 and Gemini 3.8 Flash
| Workload | Claude Haiku 4.5 | Gemini 3.8 Flash | Difference |
| --- | --- | --- | --- |
| **Support chatbot** · 2,000 requests a day, 1,500 input tokens (60% cached), 300 output | USD 131.40 · Anthropic | USD 98.55 · Google Gemini API | USD 32.85 · Gemini 3.8 Flash lower |
| **RAG over documents** · 1,000 requests a day, 8,000 input tokens (30% cached), 500 output | USD 250.20 · Anthropic | USD 187.65 · Google Gemini API | USD 62.55 · Gemini 3.8 Flash 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 654.75 · Google Gemini API | USD 218.25 · Gemini 3.8 Flash lower |

Gemini 3.8 Flash is cheaper on all three workloads. The widest gap is on Support chatbot: the dearer model costs 33% more than the cheaper one.

## Does the cheaper model change with your input:output ratio?

Gemini 3.8 Flash 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 Claude Haiku 4.5's, so the input:output ratio never changes the answer.

Price per 1M tokens of Claude Haiku 4.5 and Gemini 3.8 Flash at different input:output mixes
| Input : output tokens | Claude Haiku 4.5 | Gemini 3.8 Flash |
| --- | --- | --- |
| **1 : 3** (long answers) | USD 4 · Anthropic | USD 3 lower · Google Gemini API |
| **1 : 1** | USD 3 · Anthropic | USD 2.25 lower · Google Gemini API |
| **3 : 1** (the site’s blend) | USD 2 · Anthropic | USD 1.50 lower · Google Gemini API |
| **10 : 1** (retrieval, long prompts) | USD 1.364 · Anthropic | USD 1.023 lower · Google Gemini API |
| **30 : 1** (agents, big contexts) | USD 1.129 · Anthropic | USD 0.8468 lower · Google Gemini API |

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.8 Flash cost per character in other languages?

Not measured: the [real cost by language dataset](https://broadrouter.com/data/real-cost-by-language/) covers only tokenizers we could measure from published files, and Claude Haiku 4.5 and Gemini 3.8 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](https://broadrouter.com/llm-api-pricing/claude-haiku-4.5/): all 5 providers and other tiers.
-   [Gemini 3.8 Flash API pricing](https://broadrouter.com/llm-api-pricing/gemini-3.8-flash/): all 3 providers and other tiers.
-   [Cost calculator with Claude Haiku 4.5 and Gemini 3.8 Flash preloaded](https://broadrouter.com/tools/llm-api-cost-calculator/?model=claude-haiku-4.5,gemini-3.8-flash)
-   [Token counter](https://broadrouter.com/tools/token-counter/)
-   [Prompt caching calculator](https://broadrouter.com/tools/prompt-caching-calculator/)

More comparisons: [Claude Haiku 5.5 vs Claude Haiku 4.5](https://broadrouter.com/llm-api-pricing/compare/claude-haiku-5.5-vs-claude-haiku-4.5/) · [Gemini 3.8 Flash vs Gemini 3.7 Flash](https://broadrouter.com/llm-api-pricing/compare/gemini-3.8-flash-vs-gemini-3.7-flash/) · [Claude Haiku 5.5 vs Gemini 3.8 Flash](https://broadrouter.com/llm-api-pricing/compare/claude-haiku-5.5-vs-gemini-3.8-flash/) · [GPT-6 Luna vs Gemini 3.8 Flash](https://broadrouter.com/llm-api-pricing/compare/gpt-6-luna-vs-gemini-3.8-flash/) · [Gemini 3.8 Flash vs DeepSeek V4.1 Flash](https://broadrouter.com/llm-api-pricing/compare/gemini-3.8-flash-vs-deepseek-v4.1-flash/) · [every Claude Haiku 4.5 comparison](https://broadrouter.com/llm-api-pricing/compare/#m-claude-haiku-4.5) · [every Gemini 3.8 Flash comparison](https://broadrouter.com/llm-api-pricing/compare/#m-gemini-3.8-flash) · [all 662 price comparisons](https://broadrouter.com/llm-api-pricing/compare/)

## Questions

### Is Claude Haiku 4.5 cheaper than Gemini 3.8 Flash?

No. On a blend of 3 input tokens to 1 output token, Gemini 3.8 Flash costs USD 1.50 per 1M tokens and Claude Haiku 4.5 USD 2, at each model's cheapest standard price. For input alone, Gemini 3.8 Flash is cheaper (USD 0.75 against USD 1 per 1M); for output alone, Gemini 3.8 Flash is (USD 3.75 against USD 5). This compares price only, not quality.

### What do Claude Haiku 4.5 and Gemini 3.8 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.8 Flash: from USD 0.75 input and USD 3.75 output at Google Gemini API and 2 others (promotional); Google Gemini API's own API charges USD 0.75 / USD 3.75; median of 3 standard prices USD 0.75 / USD 3.75. 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.8 Flash?

1 provider has a standard price for both: Google Vertex AI (USD 2 and USD 1.50 at 3:1). Buying each model from its own cheapest provider costs USD 2 and USD 1.50.

### Which is cheaper for a coding agent or a chatbot, Claude Haiku 4.5 or Gemini 3.8 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 654.75 on Gemini 3.8 Flash (Google Gemini API), a difference of USD 218.25. 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 98.55 on Gemini 3.8 Flash (Google Gemini API), a difference of USD 32.85. Each uses the cheapest standard price for that workload, cached input included. [Try your own numbers](https://broadrouter.com/tools/llm-api-cost-calculator/?model=claude-haiku-4.5,gemini-3.8-flash).

### At what input:output ratio does the cheaper of Claude Haiku 4.5 and Gemini 3.8 Flash change?

Gemini 3.8 Flash 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 Claude Haiku 4.5's, so the input:output ratio never changes the answer.

### Do Claude Haiku 4.5 and Gemini 3.8 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.8 Flash from USD 0.075 per 1M cached input tokens (Google Gemini API; 3 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.8 Flash?

Gemini 3.8 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.

Try it on your real workload. New accounts start with $5 of credit for Gemma and transcription. DeepSeek, GLM and Qwen3.8 need a top-up.

[Get started](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=llm-api-pricing-compare-claude-haiku-4.5-vs-gemini-3.8-flash&utm_content=page-cta) ·

**Sources**

-   [Anthropic: own API pricing (checked 2026-11-14)](https://platform.claude.com/docs/en/about-claude/pricing)
-   [DeepInfra: pricing (checked 2026-11-14)](https://deepinfra.com/anthropic/claude-haiku-4-5)
-   [DigitalOcean: pricing (checked 2026-11-14)](https://docs.digitalocean.com/products/inference/details/pricing/)
-   [Google Vertex AI: pricing (checked 2026-11-14)](https://cloud.google.com/model-garden/partner-models/pricing)
-   [Google Gemini API: own API pricing (checked 2026-11-14)](https://aistudio.google.com/docs/pricing#gemini-3.8-flash)
-   [GMI Cloud: pricing (checked 2026-11-15)](https://console.gmicloud.ai/model/llm/gemini-3-8-flash/e5aabab2-5ae8-4de1-875b-8aca0d92a833)
-   [Google Vertex AI: pricing (checked 2026-11-14)](https://cloud.google.com/model-garden/pricing)
