Model Comparison

Devstral Medium vs Grok-4 HeavyWhich is better in 2026?

Comparing Devstral Medium and Grok-4 Heavy across benchmarks, pricing, and capabilities.

Verdict: Devstral Medium vs Grok-4 Heavy — which is better?

Devstral Medium (by Mistral AI) and Grok-4 Heavy (by xAI) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.

Choose Devstral Medium if…

  • you want predictable pricing at $0.40/M input and $2.00/M output

Choose Grok-4 Heavy if…

  • you are already invested in the xAI ecosystem

Performance Benchmarks

Comparative analysis across standard metrics

No common benchmarks found

Devstral Medium and Grok-4 Heavydon't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.

Arena Performance

Human preference votes

Context Window

Maximum input and output token capacity

Only Devstral Medium specifies input context (128,000 tokens). Only Devstral Medium specifies output context (128,000 tokens).

Mistral AI
Devstral Medium
Input128,000 tokens
Output128,000 tokens
xAI
Grok-4 Heavy
Input- tokens
Output- tokens
Fri Jun 26 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Grok-4 Heavy supports multimodal inputs, whereas Devstral Medium does not.

Grok-4 Heavy can handle both text and other forms of data like images, making it suitable for multimodal applications.

Devstral Medium

Text
Images
Audio
Video

Grok-4 Heavy

Text
Images
Audio
Video

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

Devstral Medium

Proprietary

Closed source

Grok-4 Heavy

Proprietary

Closed source

Release Timeline

When each model was launched

Devstral Medium was released on 2025-07-10, while Grok-4 Heavy's release date is not specified.

We can confirm Devstral Medium's release timeline, but cannot make a direct age comparison without Grok-4 Heavy's release date.

Devstral Medium

Jul 10, 2025

11 months ago

Grok-4 Heavy

Knowledge Cutoff

When training data ends

Grok-4 Heavy has a documented knowledge cutoff of 2024-12-31, while Devstral Medium's cutoff date is not specified.

We can confirm Grok-4 Heavy's training data extends to 2024-12-31, but cannot make a direct comparison without Devstral Medium's cutoff date.

Devstral Medium

Grok-4 Heavy

Dec 2024

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Larger context window (128,000 tokens)
Supports multimodal inputs

Detailed Comparison

Interactive Arena

Judge for yourself.

Run your own prompts against Devstral Medium and Grok-4 Heavy side-by-side, then vote on the output you prefer.

Devstral Medium
✓ Preferred
Grok-4 Heavy
Open in Playground
AI Model Comparison Table
Feature
Mistral AI
Devstral Medium
xAI
Grok-4 Heavy

FAQ

Common questions about Devstral Medium vs Grok-4 Heavy.

Which is better, Devstral Medium or Grok-4 Heavy?

Devstral Medium (Mistral AI) and Grok-4 Heavy (xAI) each have strengths in different areas. Compare their benchmark scores, pricing, context windows, and capabilities above to determine which fits your needs.

How does Devstral Medium compare to Grok-4 Heavy in benchmarks?

Devstral Medium scores SWE-Bench Verified: 61.6%. Grok-4 Heavy scores AIME 2025: 100.0%, HMMT25: 96.7%, GPQA: 88.4%, LiveCodeBench: 79.4%, USAMO25: 61.9%.

What are the context window sizes for Devstral Medium and Grok-4 Heavy?

Devstral Medium supports 128K tokens and Grok-4 Heavy supports an unknown number of tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Devstral Medium and Grok-4 Heavy?

Key differences include multimodal support (no vs yes). See the full comparison above for benchmark-by-benchmark results.

Who makes Devstral Medium and Grok-4 Heavy?

Devstral Medium is developed by Mistral AI and Grok-4 Heavy is developed by xAI.