Model comparison
Codestral and Gemma 4 31B compared on price, context window, capabilities and published benchmarks. Data comes from the OpenModels registry.
| Specification | Codestral | Gemma 4 31B |
|---|---|---|
| Developer | Codestral | |
| Released | Jan 14, 2025 | Apr 2, 2026 |
| Context window | 256K tokens | 262K tokens |
| Input price / 1M | $0.30via Mistral AI | $0.10via Deep Infra |
| Output price / 1M | $0.90via Mistral AI | $0.20via Deep Infra |
| Providers | 1 | 4 |
| License | other | apache-2.0 |
| Input modalities | code, text | code, image, text |
| Capabilities | chat, completion, code-generation | chat, completion, vision, code-generation, reasoning |
| Reasoning | No | Yes |
| Tool calling | No | No |
No published benchmark scores recorded for these models yet.