← Back to Calculator

Claude Haiku 4.5 vs Gemini 3.1 Pro

Detailed comparison of API pricing, technical specifications, and benchmark scores. Updated 2026-06-29.

Cost at a Glance

Gemini 3.1 Pro is 2.3× more expensive than Claude Haiku 4.5 — switching could save 55.9% on your monthly API bill.

At 5M input + 2M output tokens per month:

Claude Haiku 4.5$15.00/movsGemini 3.1 Pro$34.00/mo

Choosing Claude Haiku 4.5 could save you $19.00/mo

Price Comparison (per 1M tokens)

Input (per 1M tokens)
$1.00vs$2.00
Output (per 1M tokens)
$5.00vs$12.00
Cache Write (per 1M tokens)
$1.25vs
Cache Read (per 1M tokens)
$0.10vs$0.20
Batch Input (per 1M tokens)
$0.50vs
Batch Output (per 1M tokens)
$2.50vs

Prices are per 1 million tokens. Actual costs depend on your monthly token volume. Use the calculator →

Specifications

Context Window
1Mvs1M
Max Output Tokens
64Kvs64K
Knowledge Cutoff
2026-03vs2026-04
Modalities
Text, ImagevsText, Image, Audio, Video
Prompt Caching
YesvsYes
Batch API
YesvsNo
Thinking / Reasoning
NovsYes

Benchmark Scores

SWE-bench Verified
55.3vs80.6
MMLU-Pro
76.8vs86.5
HumanEval
88.2vs93.5

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

fastcheapgeneral

Gemini 3.1 Pro

multimodalcodinggeneral

About the Providers

Claude Haiku 4.5 is developed by Anthropic. Gemini 3.1 Pro 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.

Compare More AI Models