Claude 3 5 Haiku vs Gemma 3 4B
Side-by-side pricing tables, surcharge math, capability benchmarks, and 30-day spend estimators across 411 live models and cloud GPU matchups.
$0.05 vs $0.80 / 1M
$0.10 vs $4.00 / 1M
—
200K vs 131K tokens
Capability Benchmarks & Third-Party Evaluations
Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.
| Metric | Claude 3 5 Haiku | Gemma 3 4B |
|---|---|---|
| Reasoning | Yes | — |
| Input Modalities | text, image | text, image |
| Tools & JSON | Tools | — |
| Prompt Caching | $0.08/1M | $0.05/1M |
| Open-Weight | Proprietary | Proprietary |
Compare independent Intelligence Index, Engineering/Coding scores, tokens/sec throughput, and TTFT latency for Claude 3 5 Haiku and Gemma 3 4B.
Blind pairwise human preference Elo ratings across Overall, Coding, Hard Prompts, and Instruction Following.
Measures autonomous GitHub repository issue resolution rates in sandboxed software engineering evaluations.
Monthly refreshed objective tests spanning Math, Coding, Reasoning, Data Analysis, and Language.
Evaluates practical diff editing pass rates and API cost per benchmark run across Python, C++, Go, Java, JS, and Rust.
Side-by-side specification matrix
USD ·| Metric | Compare | ||
|---|---|---|---|
| Input / 1M | $0.80 | $0.05 | Gemma 3 4B -94% |
| Output / 1M | $4.00 | $0.10 | Gemma 3 4B -98% |
| 5m Cache Write / 1M | $1.00 | $0.05 | Gemma 3 4B -95% |
| 1h Cache Write / 1M | — | — | — |
| Cache Read | $0.08 | $0.05 | Gemma 3 4B -38% |
| Web Search / Call | — | — | — |
| Context | 200K (200,000) | 131K (131,072) | Claude 3 5 Haiku 1.5× |
| Max Output | 32K (32,000) | 16K (16,384) | Claude 3 5 Haiku 2× |
| AA Intelligence(Artificial Analysis) | — | — | — |
| AA Engineering | — | — | — |
| Capabilities | text, image | text, image | Equal |
| Reasoning | Supported | Not listed | Claude 3 5 Haiku |
| Structured Outputs(JSON Schema) | Not listed | Not listed | Equal |
| Open-Weight | Proprietary API | Proprietary API | Equal |
30-day production cost estimator
Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.
Frequently Asked Questions
Is Claude 3 5 Haiku or Gemma 3 4B cheaper per API token?
Gemma 3 4B is 94% cheaper on input tokens ($0.05 vs $0.80 per 1M). For output tokens, Gemma 3 4B costs 98% less ($0.10 vs $4.00 per 1M).
How do Claude 3 5 Haiku and Gemma 3 4B prompt caching discounts compare?
Gemma 3 4B offers 38% cheaper cache reads at $0.05/1M compared to $0.08/1M for Claude 3 5 Haiku. Claude 3 5 Haiku 5m write: $1.00/1M; Gemma 3 4B 5m write: $0.05/1M.
Which model has a larger context window: Claude 3 5 Haiku or Gemma 3 4B?
Claude 3 5 Haiku provides a 1.5× larger context window (200K vs 131K tokens). For single-turn output generation, Claude 3 5 Haiku caps at 32K tokens and Gemma 3 4B caps at 16K tokens.
How do Claude 3 5 Haiku and Gemma 3 4B compare on benchmarks and capabilities?
Compare Claude 3 5 Haiku (Anthropic) and Gemma 3 4B (Google) across tool calling (yes vs no) and reasoning support above.
Related Head-to-Head Matchups
ComparisonsClaude 3 5 Haiku vs Claude 3.5 Sonnet
In: $0.80 vs $3.00 · Out: $4.00 vs $15.00
Claude 3 5 Haiku vs GPT-6.2 Astra
In: $0.80 vs $8.00 · Out: $4.00 vs $40.00
Claude 3 5 Haiku vs GPT-6.2 Sol
In: $0.80 vs $2.00 · Out: $4.00 vs $10.00
Claude 3 5 Haiku vs GPT Oss 20B
In: $0.80 vs $0.03 · Out: $4.00 vs $0.13
Gemma 3 4B vs GPT-6.2 Astra
In: $0.05 vs $8.00 · Out: $0.10 vs $40.00
Gemma 3 4B vs GPT-6.2 Sol
In: $0.05 vs $2.00 · Out: $0.10 vs $10.00