Skip to content
llmmodels

Codestral 25.08 vs Grok 4

Which is better, Codestral 25.08 or Grok 4?

Codestral 25.08 is made by Mistral AI and Grok 4 by xAI. See the full spec comparison below.

SpecCodestral 25.08Grok 4
ProviderMistral AIxAI
ReleasedJul 30, 2025 (better)Jul 9, 2025
TypeChat LLMChat LLM
Parameters—3T
Context window250K—
Max output8K—
Input price / 1M$0.3—
Output price / 1M$0.9—
Input modalitiestext, pdf, file (better)text, image
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeNoNo
Tool callingYesNo
API providers11 (better)—
Epoch Capabilities Index—146.9
GPQA Diamond—87.0%
Terminal-Bench—27.2%
Aider Polyglot—79.6%
OTIS Mock AIME—84.0%
ARC-AGI-2—16.0%
METR Time Horizon—110 min

About Codestral 25.08

Codestral 25.08 is a proprietary chat llm from Mistral AI, released Jul 30, 2025. It has a 250K-token context window and accepts text, pdf, file input. API pricing starts at $0.3 per million input tokens and $0.9 per million output tokens. It is available from 11 API providers. Full Codestral 25.08 specs →

About Grok 4

Grok 4 is a proprietary chat llm from xAI, released Jul 9, 2025. It has 3T parameters and accepts text, image input. It scores 146.9 on the Epoch Capabilities Index. Full Grok 4 specs →

Compare other models

More from Mistral AI and xAI · Categories: domain-specific llms, coding & software engineering llms, agentic & tool-calling llms, visual-based llms (vision & multimodal)

FAQ

Which is better, Codestral 25.08 or Grok 4?

Codestral 25.08 is made by Mistral AI and Grok 4 by xAI. See the full spec comparison below.

Are Codestral 25.08 and Grok 4 open source?

Codestral 25.08 is proprietary; Grok 4 is proprietary.