Across 3 comparable benchmarks, Codestral has better reported results on 2 and worse on 1.
Moderate evidence3 of 3 shared results countedHow we compare
Codestral is no longer available through its official API. API prices for this version are not shown.
Price basis: Listed rates vs standard rates. The price section below shows the applicable periods.
| Fact | Codestral | Gemma 3 - 27B (IT) |
|---|---|---|
| Context window | 32K tokens | 128K tokens |
| Input / 1M | — | $0.080 |
| Output / 1M | — | $0.160 |
| Blended (4:1) | — | $0.096 |
| Status | Retired | Available |
| Released | May 29, 2024 | March 12, 2025 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 2 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
Codestral ahead on 2 of 3 counted
No shared comparable results for Abstract reasoning, Mathematics, Science & health, Computer & tool use, Research & search, Long context, Multimodal, Professional work & productivity, Cybersecurity.
Published scores, with matching modes where available. Gaps show Codestral relative to Gemma 3 - 27B (IT). Reading the results
| Benchmark | Codestral | Gemma 3 - 27B (IT) | Gap |
|---|---|---|---|
| HumanEvalCode Generation & Editing · Accuracy | 81.1Normal · no tools | 87.8Normal · no tools | −6.7 pts#40 vs #32 of 100 |
| LiveCodeBenchAlgorithmic Coding · Pass @K | 31.5Normal · no tools | 29.7Normal · no tools | 1.06×#107 vs #109 of 113 |
| MBPPCode Generation & Editing · Pass rate (%) | 78.2Normal · no tools | 74.4Normal · no tools | +3.8 pts#20 vs #25 of 67 |
Code Generation & Editing · Accuracy
Algorithmic Coding · Pass @K
Code Generation & Editing · Pass rate (%)
A dash means no result is available.
| Benchmark | Codestral | Gemma 3 - 27B (IT) |
|---|---|---|
| AIME 2024 | — | 25.3 |
| GPQA | — | 36.8 |
| GPQA Diamond | — | 42.4 |
| GSM8K | — | 95.9 |
| MATH | — | 89.0 |
| MMLU | — | 78.6 |
| MMLU-Pro | — | 67.5 |
| Aider-Polyglot | — | 4.9 |
| Creative Writing | — | 1266 |
| DROP | — | 77.2 |
| MMMU | — | 64.9 |
| BBH | — | 87.6 |
| HellaSwag | — | 85.6 |
| SimpleQA | — | 10.0 |
Time-of-day providers use peak-hour rates; fixed-price providers use standard rates. Off-peak discounts remain in the published details.
Drag the handle above the bar for cache hits, the one below it for the input : output mix · 5% steps
Blended price = effective input rate at 90% cache hits × 80% + output rate × 20%
A blended cost needs a published input and output price on both sides, and one of these two does not have them yet.
Codestral: Listed text rates; pricing tier not confirmed.
Gemma 3 - 27B (IT): Standard pricing. DeepInfra official models API (google/gemma-3-27b-it) verified 2026-11-13
| Price / 1M tokens | Codestral | Gemma 3 - 27B (IT) | Ratio |
|---|---|---|---|
| Input | — | $0.08 | — |
| Output | — | $0.16 | — |
| Cached input | — | — | — |
| Cache write | — | — | — |
| Blended | — | $0.096 | — |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
| Attribute | Codestral | Gemma 3 - 27B (IT) |
|---|---|---|
| Availability | Retired | Available |
| Provider | MistralAI | Google Deep Mind |
| Model type | Coding model | Chat model |
| First release | May 29, 2024 | March 12, 2025 |
| Context window | 32K tokens | 128K tokens |
| Total parameters | 22B | 27B |
| Architecture | Dense | Dense |
| Documented capabilities | Coding | Multilingual |
| Input modalities | — | Text, Image |
| Output modalities | — | Text |
| Weights | Restricted weights | Open weights |
| Licence | Mistral AI Non-Production License | Gemma Terms of Use |
| Commercial use | Non-commercial only | Commercial use allowed |
These are reported-score comparisons, not controlled head-to-head tests.
What people found comparing these models, or using either one. Comments also appear on the models' own pages.
Sign in with Google to comment on Codestral vs Gemma 3 - 27B (IT).
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.