MistralvsxAI·Updated Nov 2026
Codestral 2508 logovsGrok 4.7 logo

Codestral 2508 vs Grok 4.7

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

$0.30 vs $2.00 / 1M

Cheaper Output
Codestral 2508 logoCodestral 2508-85%

$0.90 vs $6.00 / 1M

AA Intelligence / AA Engineering
Grok 4.7

Grok 4.7: 35.4

Context Window
Grok 4.7 logoGrok 4.72×

500K 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.7 logoGrok 4.735.4
AA Engineering
Codestral 2508 logoCodestral 2508Pending
Grok 4.7 logoGrok 4.741.7
Core Capability Profile
MetricCodestral 2508Grok 4.7
Reasoning—xhigh/high/medium/low
Input Modalitiestext, filetext, image, file
Tools & JSONToolsTools · JSON
Prompt Caching$0.03/1M$0.50/1M
Open-WeightOpenProprietary

Side-by-side specification matrix

USD ·
MetricCodestral 2508 logoCodestral 2508Grok 4.7 logoGrok 4.7Compare
Input / 1M$0.30$2.00Codestral 2508 -85%
Output / 1M$0.90$6.00Codestral 2508 -85%
5m Cache Write / 1M$0.30$2.00Codestral 2508 -85%
1h Cache Write / 1M———
Cache Read$0.03$0.50Codestral 2508 -94%
Web Search / Call—$0.005—
Context256K (256,000)500K (500,000)Grok 4.7 2×
Max Output205K (204,800)500K (500,000)Grok 4.7 2.4×
AA Intelligence(Artificial Analysis)—35.4—
AA Engineering—41.7—
Capabilitiestext, filetext, image, fileGrok 4.7
ReasoningNot listedxhigh, high, medium, lowGrok 4.7
Structured Outputs(JSON Schema)Not listedSupportedGrok 4.7
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 $315.75/mo ($3,789.00)
-86%
Codestral 2508 logoCodestral 2508Best Value
$51.75/mo
In: $22.50
Cache: $2.25
Out: $27.00
Search: N/A
Grok 4.7 logoGrok 4.7
$367.50/mo
In: $150.00
Cache: $37.50
Out: $180.00
Search: $0.00

Frequently Asked Questions

Is Codestral 2508 or Grok 4.7 cheaper per API token?

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

How do Codestral 2508 and Grok 4.7 prompt caching discounts compare?

Codestral 2508 offers 94% cheaper cache reads at $0.03/1M compared to $0.50/1M for Grok 4.7. Codestral 2508 5m write: $0.30/1M; Grok 4.7 5m write: $2.00/1M.

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

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

How do Codestral 2508 and Grok 4.7 compare on benchmarks and capabilities?

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

Related Head-to-Head Matchups

Comparisons