# Codestral vs GLM-5

> GLM-5 is the stronger model overall, scoring 45.9 to 30.1 on the Noometry Index. Codestral costs 3.4× less per token, which makes it the better buy when GLM-5's lead doesn't matter for your workload.

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

## Summary

- They share 2 benchmarks with published results for both. Codestral scores higher in 0 categories and GLM-5 in 2 categories; 2 gaps are clear of the uncertainty.
- The widest gap is in coding, where GLM-5 leads 49.0 to 26.9.
- The biggest single-benchmark swing is Kagi LLM Benchmark: 32.5% for Codestral and 75% for GLM-5.
- Codestral is cheaper at $0.30 / $0.90 per million input/output tokens, against $1 / $3.20 for GLM-5.
- Codestral accepts more context: 256K tokens versus 205K.

## Snapshot

| | Codestral | GLM-5 |
|---|---|---|
| Provider | Mistral AI | Z.ai (Zhipu) |
| Noometry Index | 30.1 | 45.9 |
| Rank | 287 | 59 |
| Context | 256K | 205K |
| Input $/M | $0.30 | $1 |
| Output $/M | $0.90 | $3.20 |
| Weights | Open | Open |

## Coding

- Codestral: 26.9 (#316)
- GLM-5: 49.0 (#47)

| Benchmark | Codestral | GLM-5 |
|---|---|---|
| ALE-Bench | 137.78 | 765.62 |
| SWE-bench Verified | — | 72.1% |
| SWE-bench Verified (bash only) | — | 72.8% |
| Aider Polyglot | 11.1% | — |
| LMArena WebDev | — | 1434 |
| SWE-bench Multilingual | — | 69.7% |
| WeirdML | — | 48.2% |
| BigCodeBench Instruct | 41.8% | — |
| LMArena Coding | — | 1461 |
| BigCodeBench Complete | 52.5% | — |
| HumanEval+ | 73.8% | — |
| MBPP+ | 61.9% | — |

## Agentic & Tool Use

- Codestral: —
- GLM-5: 30.9 (#65)

| Benchmark | Codestral | GLM-5 |
|---|---|---|
| Terminal-Bench | — | 52.4% |
| τ²-bench Airline | — | 82.5% |
| τ²-bench Banking | — | 9.8% |
| τ²-bench Retail | — | 73.7% |
| τ²-bench Telecom | — | 86.8% |
| Vending-Bench 2 | — | 4,432 |

## Reasoning

- Codestral: 19.1 (#244)
- GLM-5: 27.6 (#100)

| Benchmark | Codestral | GLM-5 |
|---|---|---|
| Kagi LLM Benchmark | 32.5% | 75% |
| ARC-AGI-2 | — | 4.9% |
| SimpleBench | — | 53.2% |
| NYT Connections (extended) | — | 74.8% |
| ARC-AGI-1 | — | 44.7% |
| Chess Puzzles | — | 10% |
| LMArena Hard Prompts | — | 1451 |
| Epoch Capabilities Index | — | 145.84 |
| ForecastBench | — | 61 |

## Math

- Codestral: —
- GLM-5: 44.8 (#66)

| Benchmark | Codestral | GLM-5 |
|---|---|---|
| MathArena Final-Answer Competitions | — | 65.7% |
| OTIS Mock AIME 2024-2025 | — | 80% |
| LMArena Math | — | 1440 |
| FrontierMath (Feb 2025 set) | — | 16.4% |
| FrontierMath Tier 4 (v1) | — | 2.1% |

## Knowledge

- Codestral: —
- GLM-5: 52.2 (#59)

| Benchmark | Codestral | GLM-5 |
|---|---|---|
| GPQA Diamond | — | 87.8% |
| Vectara Hallucination Rate | — | 10.1% |
| LMArena Expert | — | 1454 |

## Multilingual

- Codestral: —
- GLM-5: 53.9 (#57)

| Benchmark | Codestral | GLM-5 |
|---|---|---|
| LMArena Non-English | — | 1430 |
| LMArena Chinese | — | 1511 |
| LMArena French | — | 1455 |
| LMArena German | — | 1445 |
| LMArena Japanese | — | 1416 |
| LMArena Korean | — | 1421 |
| LMArena Russian | — | 1436 |
| LMArena Spanish | — | 1452 |

## Instruction Following

- Codestral: —
- GLM-5: 75.4 (#64)

| Benchmark | Codestral | GLM-5 |
|---|---|---|
| LMArena Instruction Following | — | 1427 |

## Long Context

- Codestral: —
- GLM-5: 44.6 (#58)

| Benchmark | Codestral | GLM-5 |
|---|---|---|
| CL-bench | — | 18.7% |
| LMArena Longer Query | — | 1446 |

## Writing & Preference

- Codestral: —
- GLM-5: 66.2 (#38)

| Benchmark | Codestral | GLM-5 |
|---|---|---|
| LMArena Text | — | 1446 |
| LMArena Creative Writing | — | 1438 |
| EQ-Bench Creative Writing | — | 1601 |
| LMArena Multi-Turn | — | 1456 |

## FAQ

### Is Codestral better than GLM-5?

GLM-5 is the stronger model overall, scoring 45.9 to 30.1 on the Noometry Index. Codestral costs 3.4× less per token, which makes it the better buy when GLM-5's lead doesn't matter for your workload.

### Which is cheaper, Codestral or GLM-5?

Codestral is cheaper. It lists at $0.30 per million input tokens and $0.90 per million output tokens; GLM-5 lists at $1 and $3.20.

### Is Codestral or GLM-5 better for coding?

GLM-5 scores higher on coding benchmarks: 49.0 versus 26.9 in the Noometry coding category.

### Which has the bigger context window?

Codestral does, with 256K tokens against 205K.

### How many benchmarks do Codestral and GLM-5 share?

2 benchmarks have published results for both models. Codestral has 7 scored results on Noometry and GLM-5 has 45.
