Claude Haiku 4.5 vs Gemini 3.5 Flash
Detailed comparison of API pricing, technical specifications, and benchmark scores. Updated 2026-06-29.
Cost at a Glance
Claude Haiku 4.5 is 3.5× more expensive than Gemini 3.5 Flash — switching could save 71.7% on your monthly API bill.
At 5M input + 2M output tokens per month:
Choosing Gemini 3.5 Flash could save you $10.75/mo
Price Comparison (per 1M tokens)
| Metric | Claude Haiku 4.5 | Gemini 3.5 Flash |
|---|---|---|
| Input (per 1M tokens) | $1.00 | $0.25 |
| Output (per 1M tokens) | $5.00 | $1.50 |
| Cache Write (per 1M tokens) | $1.25 | — |
| Cache Read (per 1M tokens) | $0.10 | $0.03 |
| Batch Input (per 1M tokens) | $0.50 | — |
| Batch Output (per 1M tokens) | $2.50 | — |
Prices are per 1 million tokens. Actual costs depend on your monthly token volume. Use the calculator →
Specifications
| Spec | Claude Haiku 4.5 | Gemini 3.5 Flash |
|---|---|---|
| Context Window | 1M | 1M |
| Max Output Tokens | 64K | 64K |
| Knowledge Cutoff | 2026-03 | 2026-04 |
| Modalities | Text, Image | Text, Image |
| Prompt Caching | Yes | Yes |
| Batch API | Yes | No |
| Thinking / Reasoning | No | No |
Benchmark Scores
| Benchmark | Claude Haiku 4.5 | Gemini 3.5 Flash |
|---|---|---|
| SWE-bench Verified | 55.3 | 65.0 |
| MMLU-Pro | 76.8 | 80.0 |
| HumanEval | 88.2 | 90.0 |
Benchmark scores from official provider reports. Higher is better. Missing scores indicate the provider has not published that benchmark yet.
Use Cases
Claude Haiku 4.5
Gemini 3.5 Flash
About the Providers
Claude Haiku 4.5 is developed by Anthropic. Gemini 3.5 Flash is developed by Google. This is a cross-provider comparison between Anthropic and Google models. For the most up-to-date pricing, always check the official API documentation from each provider.