Codestral 22B · 11 GPUs measured first-party · llama.cpp Q4_K_M · Updated October 2026
Codestral 22B is Mistral's dedicated code model, trained for fill-in-the-middle completion across 80+ languages. We measured it on 11 GPUs (llama.cpp, Q4_K_M): 120 tok/s on the B300, ~14GB peak VRAM, which lands it squarely on 16GB cards.
Benchmarked weights: bartowski/Codestral-22B-v0.1-GGUF

119.8 tok/s on Codestral 22B, the ceiling. Measured on our bench. 288GB of VRAM, $40,000 at launch.

92.7 tok/s on Codestral 22B, lowest launch price that still fits. Measured on our bench. 96GB of VRAM, $8,565 at launch.
What GPU Do You Need for Codestral 22B?, tok/s by GPU
Measured on our own bench. A card absent from this chart has not been run on this model yet, or cannot fit it.
Efficiency: tok/s per 100W drawn
Power is the average pulled during the run, sampled at 1Hz. The fastest card is often not the one here, and for anything left running this is the number that shows up on the bill.
Value: tok/s per $1,000 of MSRP
Launch price, not street price, so it ages. A speed leaderboard always crowns the most expensive card; this is the counterweight.
Codestral 22B. Measured generation speed by GPU
| GPU | tok/s | Prompt t/s | tok/W | Avg power |
|---|---|---|---|---|
| NVIDIA B300 | 119.8 | 1929.6 | 0.36 | 328.4 W |
| NVIDIA B200 | 112.2 | 3257.8 | 0.31 | 365.7 W |
| NVIDIA H200 | 111.3 | 3137.3 | 0.65 | 170.5 W |
| NVIDIA H100 80GB HBM3 | 110 | 3185.8 | 0.49 | 224.3 W |
| NVIDIA RTX PRO 6000 Blackwell Workstation Edition | 92.7 | 4798.2 | 0.62 | 150.1 W |
| NVIDIA A100 40GB SXM4 | 63.74 | 1585.6 | 0.31 | 203.1 W |
| NVIDIA A100 80GB SXM4 | 63.26 | 1638.9 | 0.36 | 174.4 W |
| NVIDIA L40S | 50.06 | 3462.3 | 0.2 | 249.1 W |
| NVIDIA A10G | 32.09 | 1061.3 | 0.24 | 133.2 W |
| NVIDIA L4 | 18.14 | 972.2 | 0.27 | 67.1 W |
| NVIDIA T4 | 12.59 | 410.6 | 0.19 | 64.9 W |
The completion specialist in the stack. Our model philosophy is specialists over generalists, and Codestral is a clean example: it exists to complete code: fill-in-the-middle is its native trick, which matters because that's how real editors request completions (cursor in the middle of a file, context on both sides). Slot it as the IDE-facing model in a coding stack: Codestral serving completions, with a bigger agent model (Devstral, or Qwen's Coder MoE) handling chat, refactors and multi-file work.
Fit and speed notes. The ~14GB floor is the story for owners: this is the strongest completion model that fits a 16GB card, RTX 4060 Ti 16GB, RX 7600 XT territory, where the 20GB+ models can't follow. Speed lands at 120 tok/s peak and 111 on the H200 at 171W; for inline completion, anything above ~30 tok/s feels instant, which even the A10G's 33 tok/s clears. One number to appreciate: 1,930-3,260 prompt t/s at the top means big file contexts load fast. Completion latency is dominated by prompt ingestion, and this model ingests quickly.
How it compares. H100 80GB HBM3: Codestral 22B 110.0 tok/s, Dolphin Mistral 24B Venice 109.1, Dolphin 3.0 R1 Mistral 24B 107.8, Devstral Small 24B 107.8, Dolphin-Mistral-24B-Venice-Edition 105.6. Codestral 22B beats all 4 here.
Cost on a rented GPU. 1M generated tokens of Codestral 22B: $2.06 on a A100 40GB SXM4 ($0.47/hr, 4.4 hours), $16.09 on a B300 ($6.94/hr, 2.3 hours, 7.8x the cost).
Codestral 22B: cost per 1M generated tokens on rented GPUs
| GPU | Cheapest rate | Speed (tok/s) | Cost per 1M generated tokens |
|---|---|---|---|
| NVIDIA A100 40GB SXM4 | $0.47/hr | 63.74 | $2.06 |
| NVIDIA T4 | $0.14/hr | 12.59 | $3.00 |
| NVIDIA RTX PRO 6000 Blackwell Workstation Edition | $1.08/hr | 92.7 | $3.22 |
| NVIDIA A100 80GB SXM4 | $0.95/hr | 63.26 | $4.16 |
| NVIDIA L40S | $0.79/hr | 50.06 | $4.38 |
| NVIDIA H100 80GB HBM3 | $2.14/hr | 110 | $5.39 |
| NVIDIA L4 | $0.44/hr | 18.14 | $6.74 |
| NVIDIA H200 | $3.59/hr | 111.3 | $8.96 |
| NVIDIA B200 | $5.98/hr | 112.2 | $14.81 |
| NVIDIA B300 | $6.94/hr | 119.8 | $16.09 |
Cheapest hourly rate we track on RunPod and Vast.ai, divided by the measured speed. Startup time and storage are extra.
Speed tiers for Codestral 22B. 30+ tok/s: 9 (B300, B200, H200); 10-30 tok/s: 2 (L4, T4). 30 tok/s is roughly where replies outpace reading.
Reading your prompt. Before Codestral 22B writes anything it reads the input: 4798.2 tok/s on the RTX PRO 6000 Blackwell Workstation Edition (0.8s for a 4,000-token prompt), 410.6 on the T4 (9.7s). Long documents and big code files feel this number more than the generation speed.
VRAM for Codestral 22B. Measured peak 13.1GB, so 16GB is the smallest common card size; smallest card it ran on: T4 (16GB). With long context: Q4_K_M 15GB (tested), Q2_K 10GB, Q3_K_M 13GB, Q5_K_M 18GB, Q6_K 21GB.
Power on Codestral 22B. Most efficient: H200, 170W, 0.43 kWh per 1M generated tokens. Hungriest: B200, 366W, 0.91 kWh. At $0.15/kWh: $0.064 per 1M generated tokens.
Codestral 22B: 120 tok/s peak, ~14GB floor, the best code-completion specialist that fits a 16GB card. Pair it with an agent-class model and you've split the coding workload the way the models were actually trained: Codestral completes, the big model thinks.