Model comparison
Codestral vs GLM-5.1
GLM-5.1 is the stronger model overall, scoring 47.8 to 30.6 on the Noometry Index. Codestral costs 4.8× less per token, which makes it the better buy when GLM-5.1's lead doesn't matter for your workload.
Last verified . 1 shared benchmarks.
Summary
- They share 1 benchmark with published results for both. Codestral scores higher in 0 categories and GLM-5.1 in 2 categories; 2 gaps are clear of the uncertainty.
- The widest gap is in coding, where GLM-5.1 leads 48.7 to 27.3.
- Codestral is cheaper at $0.30 / $0.90 per million input/output tokens, against $1.40 / $4.40 for GLM-5.1.
- Codestral accepts more context: 256K tokens versus 200K.
- GLM-5.1 has downloadable open weights; the other is API-only.
Side by side
| Codestral | GLM-5.1 | |
|---|---|---|
| Provider | Mistral AI | Z.ai (Zhipu) |
| Noometry Index | 30.6 | 47.8 |
| Released | 2024-05-29 | 2026-04-07 |
| Weights | Proprietary | Open |
| Context window | 256K | 200K |
| Max output | 8K | 131K |
| Input $ / M tokens | $0.30 | $1.40 |
| Output $ / M tokens | $0.90 | $4.40 |
| Results tracked | 7 | 41 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding GLM-5.1 leads
Codestral: 27.3 (#321), GLM-5.1: 48.7 (#55)
| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| ALE-Bench | 137.78 | 887.1 |
| SWE-bench Verified | — | 74.2% |
| Aider Polyglot | 11.1% | — |
| LMArena WebDev | — | 1508 |
| SciCode | — | 43.8% |
| WeirdML | — | 57.1% |
| BigCodeBench Instruct | 41.8% | — |
| LMArena Coding | — | 1485 |
| BigCodeBench Complete | 52.5% | — |
| HumanEval+ | 73.8% | — |
| MBPP+ | 61.9% | — |
Agentic & Tool Use Not comparable
Codestral: —, GLM-5.1: 24.9 (#113)
| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| APEX-Agents | — | 40.9% |
| ExploitBench | — | 18.1% |
| GBAEval | — | 0% |
| Vending-Bench 2 | — | 5,634 |
Reasoning GLM-5.1 leads
Codestral: 19.8 (#251), GLM-5.1: 39.1 (#60)
| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| SimpleBench | — | 55.1% |
| Kagi LLM Benchmark | 32.5% | — |
| NYT Connections (extended) | — | 77.7% |
| CritPt | — | 4.6% |
| Chess Puzzles | — | 19% |
| Thematic Generalization | — | 69.8% |
| LMArena Hard Prompts | — | 1472 |
| Epoch Capabilities Index | — | 149.84 |
Math Not comparable
Codestral: —, GLM-5.1: 49.7 (#60)
| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| FrontierMath (Tiers 1-3) | — | 36.8% |
| MathArena Final-Answer Competitions | — | 67.1% |
| OTIS Mock AIME 2024-2025 | — | 93.3% |
| ProofBench | — | 22.2% |
| LMArena Math | — | 1473 |
| FrontierMath (Feb 2025 set) | — | 33.4% |
| FrontierMath Tier 4 (v1) | — | 12.5% |
Knowledge Not comparable
Codestral: —, GLM-5.1: 54.9 (#50)
| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| GPQA Diamond | — | 89.9% |
| SimpleQA Verified | — | 34% |
| LMArena Expert | — | 1476 |
Multilingual Not comparable
Codestral: —, GLM-5.1: 55.0 (#36)
| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| LMArena Non-English | — | 1447 |
| LMArena Chinese | — | 1515 |
| LMArena French | — | 1474 |
| LMArena German | — | 1465 |
| LMArena Japanese | — | 1434 |
| LMArena Korean | — | 1418 |
| LMArena Russian | — | 1454 |
| LMArena Spanish | — | 1469 |
Instruction Following Not comparable
Codestral: —, GLM-5.1: 76.3 (#42)
| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| LMArena Instruction Following | — | 1451 |
Long Context Not comparable
Codestral: —, GLM-5.1: 44.9 (#53)
| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| LMArena Longer Query | — | 1466 |
Writing & Preference Not comparable
Codestral: —, GLM-5.1: 66.9 (#31)
| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| LMArena Text | — | 1461 |
| LMArena Creative Writing | — | 1453 |
| EQ-Bench Creative Writing | — | 1592 |
| LMArena Multi-Turn | — | 1472 |
Frequently asked questions
Is Codestral better than GLM-5.1?
GLM-5.1 is the stronger model overall, scoring 47.8 to 30.6 on the Noometry Index. Codestral costs 4.8× less per token, which makes it the better buy when GLM-5.1's lead doesn't matter for your workload.
Which is cheaper, Codestral or GLM-5.1?
Codestral is cheaper. It lists at $0.30 per million input tokens and $0.90 per million output tokens; GLM-5.1 lists at $1.40 and $4.40.
Is Codestral or GLM-5.1 better for coding?
GLM-5.1 scores higher on coding benchmarks: 48.7 versus 27.3 in the Noometry coding category.
Which has the bigger context window?
Codestral does, with 256K tokens against 200K.
How many benchmarks do Codestral and GLM-5.1 share?
1 benchmark has published results for both models. Codestral has 7 scored results on Noometry and GLM-5.1 has 41.