Model Comparison

Devstral Medium vs Grok-2

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

Performance Benchmarks

Comparative analysis across standard metrics

No common benchmarks found

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

Arena Performance

Human preference votes

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-2 ($2.00/1M tokens).

For output processing, Devstral Medium ($2.00/1M tokens) is 5.0x cheaper than Grok-2 ($10.00/1M tokens).

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

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

Lowest available price from all providers
Sun May 10 2026 • llm-stats.com
Mistral AI
Devstral Medium
Input tokens$0.40
Output tokens$2.00
Best providerMistral
xAI
Grok-2
Input tokens$2.00
Output tokens$10.00
Best providerxAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Both models have the same input context window of 128,000 tokens. Devstral Medium can generate longer responses up to 128,000 tokens, while Grok-2 is limited to 8,000 tokens.

Mistral AI
Devstral Medium
Input128,000 tokens
Output128,000 tokens
xAI
Grok-2
Input128,000 tokens
Output8,000 tokens
Sun May 10 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

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

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

Devstral Medium

Text
Images
Audio
Video

Grok-2

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

Proprietary

Closed source

Release Timeline

When each model was launched

Devstral Medium was released on 2025-07-10, while Grok-2 was released on 2024-08-13.

Devstral Medium is 11 months newer than Grok-2.

Devstral Medium

Jul 10, 2025

10 months ago

11mo newer
Grok-2

Aug 13, 2024

1.7 years ago

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Provider Availability

Devstral Medium is available from Mistral AI. Grok-2 is available from xAI.

Devstral Medium

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

Grok-2

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

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Less expensive input tokens
Less expensive output tokens
Supports multimodal inputs

Detailed Comparison

AI Model Comparison Table
Feature
Mistral AI
Devstral Medium
xAI
Grok-2

FAQ

Common questions about Devstral Medium vs Grok-2.

Which is better, Devstral Medium or Grok-2?

Devstral Medium (Mistral AI) and Grok-2 (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-2 in benchmarks?

Devstral Medium scores SWE-Bench Verified: 61.6%. Grok-2 scores DocVQA: 93.6%, HumanEval: 88.4%, MMLU: 87.5%, MATH: 76.1%, MMLU-Pro: 75.5%.

Is Devstral Medium cheaper than Grok-2?

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

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

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

Key differences include 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-2?

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