LIVE Cheapest: GLM-4.7-Flash $0.000/Mtok in 153 models tracked Updated Jun 25, 2026
Jun 25, 2026
ModelPriceWatch$/Mtok
Pricing / Compare / Codestral vs Grok Build 0.1

Codestral vs Grok Build 0.1

Side-by-side API pricing comparison · Mistral vs xAI

🏆 Codestral is 150% cheaper on blended cost ($0.600 vs $1.50/Mtok)

Codestral

by Mistral

Current coding
Input
$0.300/Mtok
Output
$0.900/Mtok
✓ Cheaper
Blended avg$0.600/Mtok
Context256K tokens
Modalitytext
Parameters22B
ReleasedMay 29, 2024
Full details →

Grok Build 0.1

by xAI

Current coding
Input
$1.00/Mtok
Output
$2.00/Mtok
Blended avg$1.50/Mtok
Context256K tokens
Modalitytext
ParametersProprietary
ReleasedFeb 1, 2026
Full details →

Cost at scale — 1M tokens (50/50 input/output)

VolumeCodestralGrok Build 0.1Savings
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 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 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.