The AI arena is free today

Open Superagent

Devstral Medium vs Grok 4.7

Grok 4.7 leads the LLM Stats Score 48.5 to 13.6. Devstral Medium is 3.8x cheaper per token.

Mistral AI · xAI · Updated for 2026

Which is better?

Grok 4.7 leads the overall LLM Stats Score 48.5 to 13.6, ranking #23 overall.

On price, Devstral Medium is roughly 3.8x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Grok 4.7 also accepts a larger context window (500,000 input tokens), making it the stronger choice for long documents and large codebases.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose Devstral Medium

  • cost matters — it's about 3.8x cheaper per token

Choose Grok 4.7

  • overall performance matters — it scores 48.5 and ranks #23 on LLM Stats
  • your work emphasizes reasoning and coding — it leads those capability indexes
  • you process long inputs — it offers a 500,000 token context window
  • you want the most recent training data — it shipped Sep 2026

At a glance

The differences that matter most.

Core performance indexes
13.6
#246
48.5
#23
13.5
#239
37.4
#69
5.3
#203
40.1
#13
Cost, coverage & limits
Benchmark wins
Input price
$0.40 / M
$2.00 / M
Output price
$2.00 / M
$6.00 / M
Context window
128,000
500,000

Individual benchmarks

1 reported for Devstral Medium · 23 for Grok 4.7

No common benchmarks found

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

Human preference

Blind head-to-head votes and playground preference scores

Pricing Analysis

Price comparison per million tokens

Devstral Medium costs less

For input processing, Devstral Medium ($0.40/1M tokens) is 5.0x cheaper than Grok 4.7 ($2.00/1M tokens).

For output processing, Devstral Medium ($2.00/1M tokens) is 3.0x cheaper than Grok 4.7 ($6.00/1M tokens).

In conclusion, Grok 4.7 is more expensive than Devstral Medium.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Tue Sep 22 2026 • llm-stats.com
Mistral AI
Devstral Medium
Input tokens$0.40
Output tokens$2.00
Best providerMistral
xAI
Grok 4.7
Input tokens$2.00
Output tokens$6.00
Best providerxAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Grok 4.7 accepts 500,000 input tokens compared to Devstral Medium's 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.7
Input500,000 tokens
Output- tokens
Tue Sep 22 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Grok 4.7 supports multimodal inputs, whereas Devstral Medium does not.

Grok 4.7 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.7

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.7

Proprietary

Closed source

Release Timeline

When each model was launched

Devstral Medium was released on 2025-07-10, while Grok 4.7 was released on 2026-09-21.

Grok 4.7 is 15 months newer than Devstral Medium.

Devstral Medium

Jul 10, 2025

1.2 years ago

Grok 4.7

Sep 21, 2026

1 days ago

1.2yr newer

Knowledge Cutoff

When training data ends

Grok 4.7 has a documented knowledge cutoff of 2026-06-01, while Devstral Medium's cutoff date is not specified.

We can confirm Grok 4.7's training data extends to 2026-06-01, but cannot make a direct comparison without Devstral Medium's cutoff date.

Devstral Medium

Grok 4.7

Jun 2026

Provider Availability

Devstral Medium is available from Mistral AI. Grok 4.7 is available from xAI.

Devstral Medium

mistral logo
Mistral
Input Price:Input: $0.40/1MOutput Price:Output: $2.00/1M

Grok 4.7

xai logo
xAI
Input Price:Input: $2.00/1MOutput Price:Output: $6.00/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

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

Devstral Medium
✓ Preferred
Grok 4.7
Open in Playground

FAQ

Common questions about Devstral Medium vs Grok 4.7.

Which is better, Devstral Medium or Grok 4.7?

Grok 4.7 leads the LLM Stats Score 48.5 to 13.6. Devstral Medium is made by Mistral AI and Grok 4.7 is made by xAI. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does Devstral Medium compare to Grok 4.7 in benchmarks?

Devstral Medium scores SWE-Bench Verified: 61.6%. Grok 4.7 scores BixBench MCQ: 88.4%, WMDP-Bio: 88.1%, WMDP-Cyber: 88.1%, WMDP-Chem: 84.9%, CyberGym: 80.3%.

Is Devstral Medium cheaper than Grok 4.7?

Devstral Medium is 5.0x cheaper for input tokens. Devstral Medium costs $0.40/M input and $2.00/M output via mistral. Grok 4.7 costs $2.00/M input and $6.00/M output via xai.

What are the context window sizes for Devstral Medium and Grok 4.7?

Devstral Medium supports 128K tokens and Grok 4.7 supports 500K 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.7?

Key differences include LLM Stats Score (13.6 vs 48.5), context window (128K vs 500K), input pricing ($0.40 vs $2.00/M), multimodal support (no vs yes). See the full comparison above for benchmark-by-benchmark results.

Who makes Devstral Medium and Grok 4.7?

Devstral Medium is developed by Mistral AI and Grok 4.7 is developed by xAI.