MistralvsZ.ai·Updated Nov 2026
Codestral 2508 logovsz-ai/glm-4.6 logo

Codestral 2508 vs z-ai/glm-4.6

Side-by-side pricing tables, surcharge math, capability benchmarks, and 30-day spend estimators across 411 live models and cloud GPU matchups.

Switch Comparison Matchup411 · Updated Nov 2026
Cheaper Input
Codestral 2508 logoCodestral 2508-40%

$0.30 vs $0.50 / 1M

Cheaper Output
Codestral 2508 logoCodestral 2508-55%

$0.90 vs $2.00 / 1M

AA Intelligence / AA Engineering
z-ai/glm-4.6

—

Context Window
Codestral 2508 logoCodestral 25081.3×

256K vs 203K tokens

Capability Benchmarks & Third-Party Evaluations

Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.

AA Intelligence · Engineering · Arena · SWE-bench
Artificial Analysis Benchmarks
AA Intelligence
Codestral 2508 logoCodestral 2508Pending
z-ai/glm-4.6 logoz-ai/glm-4.6Pending
AA Engineering
Codestral 2508 logoCodestral 2508Pending
z-ai/glm-4.6 logoz-ai/glm-4.6Pending
Core Capability Profile
MetricCodestral 2508z-ai/glm-4.6
Reasoning—Yes
Input Modalitiestext, filetext
Tools & JSONToolsTools
Prompt Caching$0.03/1M$0.10/1M
Open-WeightOpenOpen

Side-by-side specification matrix

USD ·
MetricCodestral 2508 logoCodestral 2508z-ai/glm-4.6 logoz-ai/glm-4.6Compare
Input / 1M$0.30$0.50Codestral 2508 -40%
Output / 1M$0.90$2.00Codestral 2508 -55%
5m Cache Write / 1M$0.30$0.50Codestral 2508 -40%
1h Cache Write / 1M———
Cache Read$0.03$0.10Codestral 2508 -70%
Web Search / Call———
Context256K (256,000)203K (202,752)Codestral 2508 1.3×
Max Output205K (204,800)131K (131,072)Codestral 2508 1.6×
AA Intelligence(Artificial Analysis)———
AA Engineering———
Capabilitiestext, filetextCodestral 2508
ReasoningNot listedSupportedz-ai/glm-4.6
Structured Outputs(JSON Schema)Not listedNot listedEqual
Open-WeightOpen-WeightOpen-WeightEqual

30-day production cost estimator

Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.

LLM API Monthly Cost Calculator
2,000
2,500
500
50%
0
60,000 · 150.0M · 30.0M
Est. 30-Day Spend
Estimated monthly savings with Codestral 2508 $53.25/mo ($639.00)
-51%
Codestral 2508 logoCodestral 2508Best Value
$51.75/mo
In: $22.50
Cache: $2.25
Out: $27.00
Search: N/A
z-ai/glm-4.6 logoz-ai/glm-4.6
$105.00/mo
In: $37.50
Cache: $7.50
Out: $60.00
Search: N/A

Frequently Asked Questions

Is Codestral 2508 or z-ai/glm-4.6 cheaper per API token?

Codestral 2508 is 40% cheaper on input tokens ($0.30 vs $0.50 per 1M). For output tokens, Codestral 2508 costs 55% less ($0.90 vs $2.00 per 1M).

How do Codestral 2508 and z-ai/glm-4.6 prompt caching discounts compare?

Codestral 2508 offers 70% cheaper cache reads at $0.03/1M compared to $0.10/1M for z-ai/glm-4.6. Codestral 2508 5m write: $0.30/1M; z-ai/glm-4.6 5m write: $0.50/1M.

Which model has a larger context window: Codestral 2508 or z-ai/glm-4.6?

Codestral 2508 provides a 1.3× larger context window (256K vs 203K tokens). For single-turn output generation, Codestral 2508 caps at 205K tokens and z-ai/glm-4.6 caps at 131K tokens.

How do Codestral 2508 and z-ai/glm-4.6 compare on benchmarks and capabilities?

Compare Codestral 2508 (Mistral) and z-ai/glm-4.6 (Z.ai) across tool calling (yes vs yes) and reasoning support above.

Related Head-to-Head Matchups

Comparisons