Codestral 25.08 vs Gemma 4 31B IT
Price and specs side by side · USD per 1M tokens · verified 2026-10-11
// side by side
| metric | Codestral 25.08 | Gemma 4 31B IT |
|---|
| input / 1M | $0.30 | $0.14 |
| output / 1M | $0.90 | $0.40 |
| blended (3:1) | $0.45 | $0.205 |
| cache read / 1M | $0.03 | — |
| context | 256K | 262.1K |
| max output | 8.2K | 32.8K |
| input types | text | text · image · video |
| reasoning | no | yes |
| tool calling | yes | yes |
| structured output | yes | yes |
| open weights | no | yes |
| released | 2025-07-30 | 2026-04-02 |
| knowledge cutoff | n/a | n/a |
| lab | Mistral | Google |
// monthly cost scenarios
| workload | tokens in / out | Codestral 25.08 | Gemma 4 31B IT |
|---|
| Chatbot | 10M / 2M | $4.80 | $2.20 |
| RAG app | 50M / 5M | $19.50 | $9.00 |
| Coding agent | 20M / 10M | $15.00 | $6.80 |
// verdict
- Gemma 4 31B IT is 54.4% cheaper than Codestral 25.08 on a blended 3:1 input/output basis.
- Gemma 4 31B IT has the larger context window (262.1K vs 256K tokens).
- Only Gemma 4 31B IT supports built-in reasoning.
- Only Gemma 4 31B IT accepts image input.