MistralvsxAI·Updated Nov 2026
Codestral 2508 logovsGrok 4.20 Reasoning logo

Codestral 2508 vs Grok 4.20 Reasoning

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-76%

$0.30 vs $1.25 / 1M

Cheaper Output
Codestral 2508 logoCodestral 2508-64%

$0.90 vs $2.50 / 1M

AA Intelligence / AA Engineering
Grok 4.20 Reasoning

—

Context Window
Grok 4.20 Reasoning logoGrok 4.20 Reasoning7.8×

2M vs 256K 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
Grok 4.20 Reasoning logoGrok 4.20 ReasoningPending
AA Engineering
Codestral 2508 logoCodestral 2508Pending
Grok 4.20 Reasoning logoGrok 4.20 ReasoningPending
Core Capability Profile
MetricCodestral 2508Grok 4.20 Reasoning
Reasoning—Yes
Input Modalitiestext, filetext
Tools & JSONToolsTools
Prompt Caching$0.03/1M$0.20/1M
Open-WeightOpenProprietary

Side-by-side specification matrix

USD ·
MetricCodestral 2508 logoCodestral 2508Grok 4.20 Reasoning logoGrok 4.20 ReasoningCompare
Input / 1M$0.30$1.25Codestral 2508 -76%
Output / 1M$0.90$2.50Codestral 2508 -64%
5m Cache Write / 1M$0.30$1.25Codestral 2508 -76%
1h Cache Write / 1M———
Cache Read$0.03$0.20Codestral 2508 -85%
Web Search / Call———
Context256K (256,000)2M (2,000,000)Grok 4.20 Reasoning 7.8×
Max Output205K (204,800)2M (2,000,000)Grok 4.20 Reasoning 9.8×
AA Intelligence(Artificial Analysis)———
AA Engineering———
Capabilitiestext, filetextCodestral 2508
ReasoningNot listedSupportedGrok 4.20 Reasoning
Structured Outputs(JSON Schema)Not listedNot listedEqual
Open-WeightOpen-WeightProprietary APICodestral 2508

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 $132.00/mo ($1,584.00)
-72%
Codestral 2508 logoCodestral 2508Best Value
$51.75/mo
In: $22.50
Cache: $2.25
Out: $27.00
Search: N/A
Grok 4.20 Reasoning logoGrok 4.20 Reasoning
$183.75/mo
In: $93.75
Cache: $15.00
Out: $75.00
Search: N/A

Frequently Asked Questions

Is Codestral 2508 or Grok 4.20 Reasoning cheaper per API token?

Codestral 2508 is 76% cheaper on input tokens ($0.30 vs $1.25 per 1M). For output tokens, Codestral 2508 costs 64% less ($0.90 vs $2.50 per 1M).

How do Codestral 2508 and Grok 4.20 Reasoning prompt caching discounts compare?

Codestral 2508 offers 85% cheaper cache reads at $0.03/1M compared to $0.20/1M for Grok 4.20 Reasoning. Codestral 2508 5m write: $0.30/1M; Grok 4.20 Reasoning 5m write: $1.25/1M.

Which model has a larger context window: Codestral 2508 or Grok 4.20 Reasoning?

Grok 4.20 Reasoning provides a 7.8× larger context window (2M vs 256K tokens). For single-turn output generation, Codestral 2508 caps at 205K tokens and Grok 4.20 Reasoning caps at 2M tokens.

How do Codestral 2508 and Grok 4.20 Reasoning compare on benchmarks and capabilities?

Grok 4.20 Reasoning adds native vision/image input support, and Codestral 2508 releases open weights for self-hosting or dedicated inference.

Related Head-to-Head Matchups

Comparisons