Directory · Model comparison
Codestral vs GLM-5.2
Side-by-side API economics and benchmarks. Per-1M input and output rates, context window, and verified metrics.
Tale of the tape
Head-to-head specs pulled from each model profile.
| Metric | Codestral | GLM-5.2 |
|---|---|---|
| Input cost / 1M | $0.30 | $1.40 |
| Output cost / 1M | $0.90 | $4.40 |
| Context window | 128,000 tokens | 1,048,576 tokens |
| MMLU score | — | — |
Cost verdict
Enter monthly input and output volumes to see total cost savings.
Codestral
- Input: 1M × $0.30 = $0.30
- Output: 1M × $0.90 = $0.90
- Total
- $1.20
GLM-5.2
- Input: 1M × $1.40 = $1.40
- Output: 1M × $4.40 = $4.40
- Total
- $5.80
Total cost savings
$4.60
Codestral saves $4.60 per month vs the other model at this volume.
Model routing savings
Uses this page's verified rates. GLM-5.2 is the premium route (higher combined per-1M cost); Codestral handles routine traffic.
All premium
GLM-5.2
$290.00
100% of input and output on the premium route
Routed stack
80% → Codestral
20% → GLM-5.2
$106.00
- Routine slice
- $48.00
- Premium slice
- $58.00
Monthly savings
$184.00
63.4% lower
Rates pulled from this page's model database entries (glm-5-2, codestral) — same per-1M input/output figures as Tale of the tape. Production routing needs quality gates and monitoring.
Related comparisons
More head-to-head model matchups.