Compare / head-to-head
Claude Sonnet 4vsGemma 4 12B Unified
Claude Sonnet 4 leads 1 of 1 shared benchmark. Gemma 4 12B Unified has the larger context window (256K tokens).
Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.
Shared benchmarks
1 – 0
Claude Sonnet 4 leads
Cheaper per token
—
list price, input + output
Larger context
Gemma 4 12B Unified
256K tokens
Provider uptime (30d)
100% · 100%
Anthropic · Google
Claude Sonnet 4
Anthropic · released 2025-05-22
textvision
Gemma 4 12B Unified
Google · released 2026-06-03
textvisionaudio
- Context
- 256K
- Max out
- —
- Input /1M
- —
- Output /1M
- —
- Cached /1M
- —
- Scores
- 5 · 4 core
Quality
Benchmark matrix
1 shared · 3 only Claude Sonnet 4 · 4 only Gemma 4 12B Unified| Benchmark | Claude Sonnet 4 | Gemma 4 12B Unified | Δ | Edge |
|---|---|---|---|---|
| Reported by both · 1 | ||||
| GPQA Diamond | 79.2% ↗epoch | 78.8% ↗ | +0.4 pt | Claude Sonnet 4 |
| Only Claude Sonnet 4 reports · 3 | ||||
| SWE-bench Verified | 72.7% ↗ | not reported | — | — |
| AIME 2024 (no extended thinking) | 33.1% ↗ | not reported | — | — |
| OTIS Mock AIME 2024-2025 (Epoch AI run) | 71.1% ↗epoch | not reported | — | — |
| Only Gemma 4 12B Unified reports · 4 | ||||
| MMLU-Pro | not reported | 77.2% ↗ | — | — |
| AIME 2026 | not reported | 77.5% ↗ | — | — |
| Humanity's Last Exam (no tools) | not reported | 5.2% ↗ | — | — |
| LiveCodeBench v6 | not reported | 72% ↗ | — | — |
Scores tagged "epoch" or "matharena" are independent runs, used only where the lab has not published its own; ⚠ marks rows MathArena flags as released after the competition. Higher is better on every row. Δ is Claude Sonnet 4 minus Gemma 4 12B Unified in the benchmark's own unit. "Not reported" means the lab has not published that figure; it is not a zero. ↗ opens the source.
Specs & pricing
Side by side
Official pricing pages and model cards| Spec | Claude Sonnet 4 | Gemma 4 12B Unified | Edge |
|---|---|---|---|
| Context window | 200K tokens | 256K tokens | Gemma 4 12B Unified |
| Max output | 64K tokens | — | — |
| Input price / 1M | $3 ↗ | — | — |
| Output price / 1M | $15 ↗ | — | — |
| Cached input / 1M | $0.3 ↗ | — | — |
| Input + output / 1M Lower is cheaper. List prices; batch, tool and regional fees excluded. | $18 | — | — |
| Modalities | text · vision | text · vision · audio | Gemma 4 12B Unified |
| Released | 2025-05-22 | 2026-06-03 | — |
| Cited benchmark scores | 4 | 5 | — |
Reliability
Provider status
Last 60 days · refreshed daily on this page · live on /statusMore matchups
Claude Sonnet 4 vs …
Models sharing the most benchmarksMore matchups
Gemma 4 12B Unified vs …
Models sharing the most benchmarksBuilt by Respan
Which one wins on your data?
Public benchmarks are a starting point. Run Claude Sonnet 4 and Gemma 4 12B Unified on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.