Codestral 2508 vs GLM 4.7 Flash
Updated October 21, 2026. 6 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Neither model has a coding score yet, so the two cannot be ranked on coding.
Codestral 2508 has the edge where the context window is larger, 256K against 200K tokens, and where what matters is Design Arena: websites or Design Arena: UI components, where it leads.
- Shared results
- 6
- Codestral 2508 only
- 1
- GLM 4.7 Flash only
- 37
- Like-for-like categories
- 1 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
No call
Only GLM 4.7 Flash has a AA Intelligence Index result, 14.9.
Directional only
Web design
Design Arena: websites
GLM 4.7 Flash
GLM 4.7 Flash leads, 1194 against 1013.
Same board, both measured
Long documents
Listed context window
Codestral 2508
Codestral 2508 takes 256K tokens against 200K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 4.7 Flash
Codestral 2508 $0.0008, GLM 4.7 Flash $0.0003 per turn.
List prices
At a glance
- Coding index
- Codestral 2508 not benchmarked, GLM 4.7 Flash not benchmarked.
- Widest category
- Web design, 19.1 points apart on average over 6 shared benchmarks.
- Widest single gap
- Design Arena: UI components: Codestral 2508 1017 against GLM 4.7 Flash 1208, 23.9 points apart on a 0 to 100 scale.
- Output price
- Codestral 2508 $0.90 against GLM 4.7 Flash $0.40 per million output tokens, 2.3x apart.
- Context window
- Codestral 2508 takes 256K tokens, GLM 4.7 Flash 200K.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | Codestral 2508 | Bars | GLM 4.7 Flash | Ties |
|---|---|---|---|---|
| Web design | 0 | 6 | ||
| All shared boards | 0 | 6 |
CodingDirectional onlySix of these boards feed the Vibe Coding Index4 boards, none shared
| Benchmark | Codestral 2508 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 22.0% | Only GLM 4.7 Flash measured |
| ALE-Bench | 137.8 | Not measured | Only Codestral 2508 measured |
| LMArena Text: coding | Not measured | 1382 | Only GLM 4.7 Flash measured |
| LMArena Text: software and IT | Not measured | 1389 | Only GLM 4.7 Flash measured |
| Neither model has a result on the other 34 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
| Benchmark | Codestral 2508 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 14.9 | Only GLM 4.7 Flash measured |
| Neither model has a result on the other 1 board here | |||
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
| Benchmark | Codestral 2508 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| τ²-Bench Telecom | Not measured | 98.8% | Only GLM 4.7 Flash measured |
| Neither model has a result on the other 38 boards here | |||
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
| Benchmark | Codestral 2508 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| GPQA Diamond (Artificial Analysis run) | Not measured | 58.1% | Only GLM 4.7 Flash measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 7.6% | Only GLM 4.7 Flash measured |
| GPQA Diamond (Epoch AI run) | Not measured | 60.5% | Only GLM 4.7 Flash measured |
| LMArena Text: hard prompts | Not measured | 1356 | Only GLM 4.7 Flash measured |
| LMArena Text: expert | Not measured | 1357 | Only GLM 4.7 Flash measured |
| LMArena Text: hard prompts in English | Not measured | 1369 | Only GLM 4.7 Flash measured |
| Neither model has a result on the other 15 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
| Benchmark | Codestral 2508 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| OTIS Mock AIME | Not measured | 58.3% | Only GLM 4.7 Flash measured |
| LMArena Text: math | Not measured | 1355 | Only GLM 4.7 Flash measured |
| LMArena Text: mathematical work | Not measured | 1369 | Only GLM 4.7 Flash measured |
| Neither model has a result on the other 10 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
| Benchmark | Codestral 2508 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| LMArena Text: science | Not measured | 1358 | Only GLM 4.7 Flash measured |
| LMArena Text: medicine and healthcare | Not measured | 1343 | Only GLM 4.7 Flash measured |
| LMArena Text: legal and government | Not measured | 1357 | Only GLM 4.7 Flash measured |
| LMArena Text: business and finance | Not measured | 1343 | Only GLM 4.7 Flash measured |
| Neither model has a result on the other 13 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | Codestral 2508 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| Design Arena: websites | 1013 | 1194 | GLM 4.7 Flash |
| Design Arena: UI components | 1017 | 1208 | GLM 4.7 Flash |
| Design Arena: game dev | 968 | 1135 | GLM 4.7 Flash |
| Design Arena: data viz | 1017 | 1123 | GLM 4.7 Flash |
| Design Arena: 3D | 1020 | 1121 | GLM 4.7 Flash |
| Design Arena: all code categories | 1007 | 1178 | GLM 4.7 Flash |
| Design Arena: SVG | Not measured | 1038 | Only GLM 4.7 Flash measured |
| Neither model has a result on the other 2 boards here | |||
GeneralDirectional onlyPublic boards, shown as published, kept out of the index18 boards, none shared
| Benchmark | Codestral 2508 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| IFBench | Not measured | 60.8% | Only GLM 4.7 Flash measured |
| Long context reasoning (AA-LCR) | Not measured | 41.7% | Only GLM 4.7 Flash measured |
| LMArena Text | Not measured | 1351 | Only GLM 4.7 Flash measured |
| LMArena Text: instruction following | Not measured | 1327 | Only GLM 4.7 Flash measured |
| LMArena Text: creative writing | Not measured | 1296 | Only GLM 4.7 Flash measured |
| LMArena Text: English | Not measured | 1373 | Only GLM 4.7 Flash measured |
| LMArena Text: non-English | Not measured | 1330 | Only GLM 4.7 Flash measured |
| LMArena Text: Chinese | Not measured | 1403 | Only GLM 4.7 Flash measured |
| LMArena Text: German | Not measured | 1336 | Only GLM 4.7 Flash measured |
| LMArena Text: Korean | Not measured | 1283 | Only GLM 4.7 Flash measured |
| LMArena Text: French | Not measured | 1332 | Only GLM 4.7 Flash measured |
| LMArena Text: Spanish | Not measured | 1350 | Only GLM 4.7 Flash measured |
| LMArena Text: Russian | Not measured | 1333 | Only GLM 4.7 Flash measured |
| LMArena Text: Polish | Not measured | 1291 | Only GLM 4.7 Flash measured |
| LMArena Text: multi-turn | Not measured | 1342 | Only GLM 4.7 Flash measured |
| LMArena Text: longer queries | Not measured | 1345 | Only GLM 4.7 Flash measured |
| LMArena Text: writing and language | Not measured | 1320 | Only GLM 4.7 Flash measured |
| LMArena Text: entertainment and media | Not measured | 1304 | Only GLM 4.7 Flash measured |
| Neither model has a result on the other 28 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Codestral 2508 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
GLM 4.7 Flash costs less
Repository review
50K input + 3K output tokens
GLM 4.7 Flash costs less
Agent loop
200K input + 10K output tokens
GLM 4.7 Flash costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Mistral Codestral 2508 | Z.ai GLM 4.7 Flash |
|---|---|---|
| Maker | Mistral AI | Z.ai |
| Weights | No public weights listed | Open weights |
| Released | August 1, 2025 | January 19, 2026 |
| Context window | 256K | 200K |
| Input $/Mtok | $0.30 | $0.0653 |
| Output $/Mtok | $0.90 | $0.40 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Codestral 2508 better than GLM 4.7 Flash for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Codestral 2508 has the edge where the context window is larger, 256K against 200K tokens, and where what matters is Design Arena: websites or Design Arena: UI components, where it leads.
Which is cheaper, Codestral 2508 or GLM 4.7 Flash?
Codestral 2508 costs $0.30 per million input tokens and $0.90 per million output tokens; GLM 4.7 Flash costs $0.0653 and $0.40. Cost per solved task is known for neither of them.
Which has the bigger context window, Codestral 2508 or GLM 4.7 Flash?
Codestral 2508, with 256K tokens against 200K.
How many benchmarks is the Codestral 2508 vs GLM 4.7 Flash comparison based on?
6 benchmarks have a result for both models as of October 21, 2026. Codestral 2508's coding index rests on 0 independent benchmarks and GLM 4.7 Flash's on 0. Where only one model has a result, the page says so instead of naming a winner.