Gemma 3 4B vs Qwen2.5 Coder 32B Instruct
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.66 / 1M
$0.10 vs $1.00 / 1M
—
131K vs 33K tokens
Capability Benchmarks & Third-Party Evaluations
Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.
| Metric | Gemma 3 4B | Qwen2.5 Coder 32B Instruct |
|---|---|---|
| Reasoning | — | — |
| Input Modalities | text, image | text |
| Tools & JSON | — | — |
| Prompt Caching | $0.05/1M | $0.66/1M |
| Open-Weight | Proprietary | 32B |
Compare independent Intelligence Index, Engineering/Coding scores, tokens/sec throughput, and TTFT latency for Gemma 3 4B and Qwen2.5 Coder 32B Instruct.
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.05 | $0.66 | Gemma 3 4B -92% |
| Output / 1M | $0.10 | $1.00 | Gemma 3 4B -90% |
| 5m Cache Write / 1M | $0.05 | $0.66 | Gemma 3 4B -92% |
| 1h Cache Write / 1M | — | — | — |
| Cache Read | $0.05 | $0.66 | Gemma 3 4B -92% |
| Web Search / Call | — | — | — |
| Context | 131K (131,072) | 33K (32,768) | Gemma 3 4B 4× |
| Max Output | 16K (16,384) | 29K (29,491) | Qwen2.5 Coder 32B Instruct 1.8× |
| AA Intelligence(Artificial Analysis) | — | — | — |
| AA Engineering | — | — | — |
| Capabilities | text, image | text | Gemma 3 4B |
| Reasoning | Not listed | Not listed | Equal |
| Structured Outputs(JSON Schema) | Not listed | Not listed | Equal |
| Open-Weight | Proprietary API | Open-Weight · 32B | Qwen2.5 Coder 32B Instruct |
30-day production cost estimator
Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.
Frequently Asked Questions
Is Gemma 3 4B or Qwen2.5 Coder 32B Instruct cheaper per API token?
Gemma 3 4B is 92% cheaper on input tokens ($0.05 vs $0.66 per 1M). For output tokens, Gemma 3 4B costs 90% less ($0.10 vs $1.00 per 1M).
How do Gemma 3 4B and Qwen2.5 Coder 32B Instruct prompt caching discounts compare?
Gemma 3 4B offers 92% cheaper cache reads at $0.05/1M compared to $0.66/1M for Qwen2.5 Coder 32B Instruct. Gemma 3 4B 5m write: $0.05/1M; Qwen2.5 Coder 32B Instruct 5m write: $0.66/1M.
Which model has a larger context window: Gemma 3 4B or Qwen2.5 Coder 32B Instruct?
Gemma 3 4B provides a 4× larger context window (131K vs 33K tokens). For single-turn output generation, Gemma 3 4B caps at 16K tokens and Qwen2.5 Coder 32B Instruct caps at 29K tokens.
How do Gemma 3 4B and Qwen2.5 Coder 32B Instruct compare on benchmarks and capabilities?
Gemma 3 4B adds native vision/image input support, and Qwen2.5 Coder 32B Instruct releases open weights for self-hosting or dedicated inference.
Related Head-to-Head Matchups
ComparisonsGemma 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
Gemma 3 4B vs GPT Oss 20B
In: $0.05 vs $0.03 · Out: $0.10 vs $0.13
Gemma 3 4B vs GPT-6 Sol Pro
In: $0.05 vs $2.00 · Out: $0.10 vs $10.00
Qwen2.5 Coder 32B Instruct vs Gemma 2 27B
In: $0.66 vs $0.65 · Out: $1.00 vs $0.65
Qwen2.5 Coder 32B Instruct vs Kimi K2.6
In: $0.66 vs $0.65 · Out: $1.00 vs $3.41