Home/AI Models/Codestral vs Grok 4

Codestral VS Grok 4

Mistral · xAI · AI Models · Updated May 23, 2026

🏆
CodestralMistral · Codestral is 76.0% cheaper
WINNER
★ Best Value
Mistral

Codestral

Input Price
$0.300/1M tkns
Output Price
$0.900/1M tkns
Specs
context window256000
codingoptimized
xAI

Grok 4

Input Price
$1.25/1M tkns
Output Price
$2.50/1M tkns
Specs
context window2000000
visiontrue
modalitiestext+vision

Side-by-Side Breakdown

FeatureCodestralGrok 4Winner
Input Price$0.300/1M tkns$1.25/1M tknsCodestral
Output Price$0.900/1M tkns$2.50/1M tknsCodestral
ProviderMistralxAI
Categoryai-modelai-model
context window2560002000000
codingoptimized
Overall Winner🏆Codestral

Codestral vs Grok 4: Quick Summary

Codestral is the more affordable choice. Codestral costs $0.300/1M tkns vs Grok 4 at $1.25/1M tkns (Input Price). Codestral is 76.0% cheaper. Pricing verified as of May 23, 2026 — always confirm on the provider's official pricing page before committing.

Also Compare Codestral with

Codestral vs GPT-4.1Codestral vs GPT-4.1 MiniCodestral vs GPT-4.1 Nano

Also Compare Grok 4 with

Grok 4 vs GPT-4.1Grok 4 vs GPT-4.1 MiniGrok 4 vs GPT-4.1 Nano
← All AI Models Comparisons