Codestral 2508 vs Grok Build 0.1
Side-by-side API pricing comparison · Mistral vs xAI
🏆
Codestral 2508 is 150% cheaper on blended cost ($0.600 vs $1.50/Mtok)
Codestral 2508
by Mistral
Current codingInput
$0.300/Mtok
Output
$0.900/Mtok
✓ Cheaper
| Blended avg | $0.600/Mtok |
|---|---|
| Context | 256K tokens |
| Modality | text |
| Parameters | 22B |
| Released | Aug 1, 2025 |
Grok Build 0.1
by xAI
Current codingInput
$1.00/Mtok
Output
$2.00/Mtok
| Blended avg | $1.50/Mtok |
|---|---|
| Context | 256K tokens |
| Modality | text |
| Parameters | Proprietary |
| Released | Feb 1, 2026 |
Cost at scale — 1M tokens (50/50 input/output)
| Volume | Codestral 2508 | Grok Build 0.1 | Savings |
|---|---|---|---|
| 1M tokens | $0.6 | $1.5 | $0.9 (60%) |
| 10M tokens | $6 | $15 | $9 (60%) |
| 100M tokens | $60 | $150 | $90 (60%) |
| 1000M tokens | $600 | $1500 | $900 (60%) |
Summary
Codestral 2508 by Mistral costs $0.300/Mtok input and $0.900/Mtok output, with a 256K-token context window. It supports text input.
Grok Build 0.1 by xAI costs $1.00/Mtok input and $2.00/Mtok output, with a 256K-token context window. It supports text input.
On a blended cost basis, Codestral 2508 is 150% cheaper than Grok Build 0.1.
Note: Pricing is per million tokens. Actual costs vary with usage patterns, prompt caching, and batch discounts. Always verify against official provider pricing pages.