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