Devstral Medium is a high-performance code generation and agentic reasoning model developed jointly by Mistral AI and All Hands AI. Positioned as a step up from Devstral Small, it achieves 61.6% on SWE-Bench Verified, placing it ahead of Ge…
Model details →Mistral: Devstral Medium vs OpenAI: gpt-oss-20b
OpenAI: gpt-oss-20b wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
gpt-oss-20b is an open-weight 21B parameter model released by OpenAI under the Apache 2.0 license. It uses a Mixture-of-Experts (MoE) architecture with 3.6B active parameters per forward pass, optimized for lower-latency inference and deplo…
Model details →Side-by-side comparison
| Capability | Mistral: Devstral Medium | OpenAI: gpt-oss-20b | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 131K | 131K | Tie |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $0.40 | $0.03 | 🏆 OpenAI: gpt-oss-20b |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $2.00 | $0.11 | 🏆 OpenAI: gpt-oss-20b |
| Tool / function calling First-class support for emitting structured tool calls. | Yes | Yes | Tie |
| Vision input Accepts image inputs alongside text. | — | — | Tie |
| Reasoning mode Internal chain-of-thought / extended-thinking support. | — | Yes | 🏆 OpenAI: gpt-oss-20b |
Frequently asked questions
Is Mistral: Devstral Medium better than OpenAI: gpt-oss-20b?
OpenAI: gpt-oss-20b wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
What's the price difference between Mistral: Devstral Medium and OpenAI: gpt-oss-20b?
Input: $0.40 vs $0.03 per 1M tokens. Output: $2.00 vs $0.11 per 1M tokens.
What context windows do Mistral: Devstral Medium and OpenAI: gpt-oss-20b support?
Mistral: Devstral Medium supports up to 131K tokens. OpenAI: gpt-oss-20b supports up to 131K tokens.
Do both Mistral: Devstral Medium and OpenAI: gpt-oss-20b support tool calling?
Mistral: Devstral Medium: yes. OpenAI: gpt-oss-20b: yes.