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.

Codestral Mistral AI

30.6

Rank #290 Reported

GLM-5.1 Z.ai (Zhipu)

47.8

Rank #59 Confirmed

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 and GLM-5.1 specifications
CodestralGLM-5.1
ProviderMistral AIZ.ai (Zhipu)
Noometry Index30.647.8
Released2024-05-292026-04-07
WeightsProprietaryOpen
Context window256K200K
Max output8K131K
Input $ / M tokens$0.30$1.40
Output $ / M tokens$0.90$4.40
Results tracked741

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)

Coding benchmarks
BenchmarkCodestralGLM-5.1
ALE-Bench137.78887.1
SWE-bench Verified—74.2%
Aider Polyglot11.1%—
LMArena WebDev—1508
SciCode—43.8%
WeirdML—57.1%
BigCodeBench Instruct41.8%—
LMArena Coding—1485
BigCodeBench Complete52.5%—
HumanEval+73.8%—
MBPP+61.9%—

Agentic & Tool Use Not comparable

Codestral: —, GLM-5.1: 24.9 (#113)

Agentic & Tool Use benchmarks
BenchmarkCodestralGLM-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)

Reasoning benchmarks
BenchmarkCodestralGLM-5.1
SimpleBench—55.1%
Kagi LLM Benchmark32.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)

Knowledge Not comparable

Codestral: —, GLM-5.1: 54.9 (#50)

Knowledge benchmarks
BenchmarkCodestralGLM-5.1
GPQA Diamond—89.9%
SimpleQA Verified—34%
LMArena Expert—1476

Multilingual Not comparable

Codestral: —, GLM-5.1: 55.0 (#36)

Multilingual benchmarks
BenchmarkCodestralGLM-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)

Instruction Following benchmarks
BenchmarkCodestralGLM-5.1
LMArena Instruction Following—1451

Long Context Not comparable

Codestral: —, GLM-5.1: 44.9 (#53)

Long Context benchmarks
BenchmarkCodestralGLM-5.1
LMArena Longer Query—1466

Writing & Preference Not comparable

Codestral: —, GLM-5.1: 66.9 (#31)

Writing & Preference benchmarks
BenchmarkCodestralGLM-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.

Related comparisons

Go deeper