Compare / head-to-head
CodestralvsGemma 4 E2B
Codestral and Gemma 4 E2B do not yet share a public benchmark, so quality cannot be compared apples-to-apples. Codestral has the larger context window (256K tokens).
Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.
Shared benchmarks
0
no overlap yet
Cheaper per token
—
list price, input + output
Larger context
Codestral
256K tokens
Provider uptime (30d)
100% · 100%
Mistral AI · Google
Codestral
Mistral AI · released 2025-01-13
text
Gemma 4 E2B
Google · released 2026-04-02
textvisionaudio
- Context
- 128K
- Max out
- —
- Input /1M
- —
- Output /1M
- —
- Cached /1M
- —
- Scores
- 4 · 3 core
Quality
Benchmark matrix
0 shared · 1 only Codestral · 4 only Gemma 4 E2B| Benchmark | Codestral | Gemma 4 E2B | Δ | Edge |
|---|---|---|---|---|
| Reported by both · 0 | ||||
| No public benchmark is reported for both models yet. | ||||
| Only Codestral reports · 1 | ||||
| HumanEval | 86.6% ↗ | not reported | — | — |
| Only Gemma 4 E2B reports · 4 | ||||
| GPQA Diamond | not reported | 43.4% ↗ | — | — |
| MMLU-Pro | not reported | 60% ↗ | — | — |
| AIME 2026 | not reported | 37.5% ↗ | — | — |
| LiveCodeBench v6 | not reported | 44% ↗ | — | — |
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 Codestral minus Gemma 4 E2B 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 | Codestral | Gemma 4 E2B | Edge |
|---|---|---|---|
| Context window | 256K tokens | 128K tokens | Codestral |
| Max output | — | — | — |
| Input price / 1M | $0.3 ↗ | — | — |
| Output price / 1M | $0.9 ↗ | — | — |
| Cached input / 1M | $0.03 ↗ | — | — |
| Input + output / 1M Lower is cheaper. List prices; batch, tool and regional fees excluded. | $1.2 | — | — |
| Modalities | text | text · vision · audio | Gemma 4 E2B |
| Released | 2025-01-13 | 2026-04-02 | — |
| Cited benchmark scores | 1 | 4 | — |
Reliability
Provider status
Last 60 days · refreshed daily on this page · live on /statusMore matchups
Codestral vs …
Models sharing the most benchmarksMore matchups
Gemma 4 E2B vs …
Models sharing the most benchmarksBuilt by Respan
Which one wins on your data?
Public benchmarks are a starting point. Run Codestral and Gemma 4 E2B on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.