Codestral 2508 is 2.9× cheaper per million tokens (blended). Qwen3.8 27B has the larger context window (1,000,000 vs 256,000 tokens, 3.9×). Qwen3.8 27B is open-weights; the other is not.
Codestral 2508 vs Qwen3.8 27B
Live catalog fields. Best-in-row is highlighted.
Codestral 2508
Mistral · mistralai__codestral-2508
Qwen3.8 27Bopen
Qwen · qwen__qwen3.8-27b
Identity
| Field | mistralai__codestral-2508 | qwen__qwen3.8-27b |
|---|---|---|
| Provider | Mistral | Qwen |
| Slug | mistralai__codestral-2508 | qwen__qwen3.8-27b |
| Status | live | live |
| Open weights | No | Yes |
| License | — | — |
| HuggingFace | — | Qwen/Qwen3.8-27B |
Quality
| Field | mistralai__codestral-2508 | qwen__qwen3.8-27b |
|---|---|---|
| Quality index (0–100) | — | 87.4 |
Cost
| Field | mistralai__codestral-2508 | qwen__qwen3.8-27b |
|---|---|---|
| Input $ / 1M tokens | $0.30 | $0.42 |
| Cached input $ / 1M | $0.03 | $0.09 |
| Output $ / 1M tokens | $0.90 | $3.00 |
Context
| Field | mistralai__codestral-2508 | qwen__qwen3.8-27b |
|---|---|---|
| Max context tokens | 256,000 | 1,000,000 |
| Max output tokens | 204,800 | 131,072 |
Modalities
| Field | mistralai__codestral-2508 | qwen__qwen3.8-27b |
|---|---|---|
| Input | text, file | text, image, video |
| Output | text | text |