Claude Haiku 4.5 vs Gemini 3.5 Flash: Pricing & Specs Compared

Choosing between Claude Haiku 4.5 (Anthropic) and Gemini 3.5 Flash (Google)? This is a side-by-side of their API pricing, context windows, and real cost on a sample workload — so you can pick on the numbers, not the marketing.

Claude Haiku 4.5 vs Gemini 3.5 Flash: pricing & specs

Standard text/chat rates, per 1,000,000 tokens, as of June 2026. Verify against the provider's official page.
Claude Haiku 4.5Gemini 3.5 Flash
Vendor AnthropicGoogle
Input / 1M tokens $1.00$1.50
Output / 1M tokens $5.00$9.00
Cached input / 1M $0.10
Context window 200K tokens1M tokens

Cost example: 1M input + 1M output tokens

For a workload of 1M input plus 1M output tokens, Claude Haiku 4.5 costs $6.00 and Gemini 3.5 Flash costs $10.50 Claude Haiku 4.5 is about 43% cheaper on this mix. Your real ratio of input to output tokens shifts the math; plug in your own numbers with the token cost calculator.

Which should you choose?

  • Lower cost: Claude Haiku 4.5 is cheaper on output tokens ($5.00 vs $9.00 / 1M), which usually dominates spend on generation-heavy workloads.
  • Larger context window: Gemini 3.5 Flash fits more in one prompt (1M tokens) — better for long documents or big RAG context.
  • Ecosystem: pick the provider whose SDK, rate limits, and tooling fit your stack — see Anthropic rate limits and Google rate limits.

Full specs: Claude Haiku 4.5 · Gemini 3.5 Flash. Thinking of switching providers? See the migration guides.

Prices as of June 2026 and change often — verify before relying on them.