# Codestral vs GLM-5.1

> GLM-5.1 is the stronger model overall, scoring 47.6 to 30.1 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.

- Canonical page: https://noometry.com/compare/codestral-vs-glm-5-1
- Last updated: 2026-10-10
- Shared benchmarks: 1

## 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.5 to 26.9.
- 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.

## Snapshot

| | Codestral | GLM-5.1 |
|---|---|---|
| Provider | Mistral AI | Z.ai (Zhipu) |
| Noometry Index | 30.1 | 47.6 |
| Rank | 287 | 51 |
| Context | 256K | 200K |
| Input $/M | $0.30 | $1.40 |
| Output $/M | $0.90 | $4.40 |
| Weights | Open | Open |

## Coding

- Codestral: 26.9 (#316)
- GLM-5.1: 48.5 (#52)

| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| ALE-Bench | 137.78 | 887.1 |
| SWE-bench Verified | — | 74.2% |
| Aider Polyglot | 11.1% | — |
| LMArena WebDev | — | 1509 |
| SciCode | — | 43.8% |
| WeirdML | — | 57.1% |
| BigCodeBench Instruct | 41.8% | — |
| LMArena Coding | — | 1486 |
| BigCodeBench Complete | 52.5% | — |
| HumanEval+ | 73.8% | — |
| MBPP+ | 61.9% | — |

## Agentic & Tool Use

- Codestral: —
- GLM-5.1: 24.8 (#106)

| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| APEX-Agents | — | 40.9% |
| ExploitBench | — | 18.1% |
| GBAEval | — | 0% |
| Vending-Bench 2 | — | 5,634 |

## Reasoning

- Codestral: 19.1 (#244)
- GLM-5.1: 38.2 (#57)

| 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.86 |

## Math

- Codestral: —
- GLM-5.1: 49.0 (#48)

| 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 | — | 1472 |
| FrontierMath (Feb 2025 set) | — | 33.4% |
| FrontierMath Tier 4 (v1) | — | 12.5% |

## Knowledge

- Codestral: —
- GLM-5.1: 55.0 (#45)

| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| GPQA Diamond | — | 89.9% |
| SimpleQA Verified | — | 34% |
| LMArena Expert | — | 1477 |

## Multilingual

- Codestral: —
- GLM-5.1: 55.2 (#34)

| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| LMArena Non-English | — | 1448 |
| LMArena Chinese | — | 1516 |
| LMArena French | — | 1478 |
| LMArena German | — | 1466 |
| LMArena Japanese | — | 1436 |
| LMArena Korean | — | 1423 |
| LMArena Russian | — | 1453 |
| LMArena Spanish | — | 1467 |

## Instruction Following

- Codestral: —
- GLM-5.1: 76.5 (#41)

| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| LMArena Instruction Following | — | 1451 |

## Long Context

- Codestral: —
- GLM-5.1: 44.9 (#51)

| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| LMArena Longer Query | — | 1467 |

## Writing & Preference

- Codestral: —
- GLM-5.1: 67.2 (#29)

| Benchmark | Codestral | GLM-5.1 |
|---|---|---|
| LMArena Text | — | 1462 |
| LMArena Creative Writing | — | 1454 |
| EQ-Bench Creative Writing | — | 1592 |
| LMArena Multi-Turn | — | 1473 |

## FAQ

### Is Codestral better than GLM-5.1?

GLM-5.1 is the stronger model overall, scoring 47.6 to 30.1 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.5 versus 26.9 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.
