Model Comparison

Claude Sonnet 4 vs Grok-3 MiniWhich is better in 2026?

Grok-3 Mini significantly outperforms across most benchmarks. Grok-3 Mini is 17.1x cheaper per token.

Verdict: Claude Sonnet 4 vs Grok-3 Mini — which is better?

Claude Sonnet 4 (by Anthropic) and Grok-3 Mini (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.

Claude Sonnet 4 outperforms in 0 benchmarks, while Grok-3 Mini is better at 2 benchmarks (AIME 2025, GPQA). Grok-3 Mini significantly outperforms across most benchmarks.

On price, Grok-3 Mini is roughly 17.1x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Claude Sonnet 4 also accepts a larger context window (200,000 input tokens), making it the stronger choice for long documents and large codebases.

Choose Claude Sonnet 4 if…

  • you process long inputs — it offers a 200,000 token context window
  • you want the most recent training data — it shipped May 2025

Choose Grok-3 Mini if…

  • you want the strongest raw capability — it leads on 2 of 2 shared benchmarks
  • cost matters — it's about 17.1x cheaper per token

Performance Benchmarks

Comparative analysis across standard metrics

2 benchmarks

Claude Sonnet 4 outperforms in 0 benchmarks, while Grok-3 Mini is better at 2 benchmarks (AIME 2025, GPQA).

Grok-3 Mini significantly outperforms across most benchmarks.

Tue Jun 16 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Grok-3 Mini costs less

For input processing, Claude Sonnet 4 ($3.00/1M tokens) is 10.0x more expensive than Grok-3 Mini ($0.30/1M tokens).

For output processing, Claude Sonnet 4 ($15.00/1M tokens) is 30.0x more expensive than Grok-3 Mini ($0.50/1M tokens).

In conclusion, Claude Sonnet 4 is more expensive than Grok-3 Mini.*

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

Lowest available price from all providers
Tue Jun 16 2026 • llm-stats.com
Anthropic
Claude Sonnet 4
Input tokens$3.00
Output tokens$15.00
Best providerAnthropic
xAI
Grok-3 Mini
Input tokens$0.30
Output tokens$0.50
Best providerxAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Claude Sonnet 4 accepts 200,000 input tokens compared to Grok-3 Mini's 128,000 tokens. Claude Sonnet 4 can generate longer responses up to 64,000 tokens, while Grok-3 Mini is limited to 8,000 tokens.

Anthropic
Claude Sonnet 4
Input200,000 tokens
Output64,000 tokens
xAI
Grok-3 Mini
Input128,000 tokens
Output8,000 tokens
Tue Jun 16 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Both Claude Sonnet 4 and Grok-3 Mini support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

Claude Sonnet 4

Text
Images
Audio
Video

Grok-3 Mini

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.

Claude Sonnet 4

Proprietary

Closed source

Grok-3 Mini

Proprietary

Closed source

Release Timeline

When each model was launched

Claude Sonnet 4 was released on 2025-05-22, while Grok-3 Mini was released on 2025-02-17.

Claude Sonnet 4 is 3 months newer than Grok-3 Mini.

Claude Sonnet 4

May 22, 2025

1.1 years ago

3mo newer
Grok-3 Mini

Feb 17, 2025

1.3 years ago

Knowledge Cutoff

When training data ends

Grok-3 Mini has a documented knowledge cutoff of 2024-11-17, while Claude Sonnet 4's cutoff date is not specified.

We can confirm Grok-3 Mini's training data extends to 2024-11-17, but cannot make a direct comparison without Claude Sonnet 4's cutoff date.

Claude Sonnet 4

Grok-3 Mini

Nov 2024

Provider Availability

Claude Sonnet 4 is available from Anthropic, Bedrock, Google. Grok-3 Mini is available from xAI.

Claude Sonnet 4

anthropic logo
Anthropic
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
bedrock logo
AWS Bedrock
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
google logo
Google
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M

Grok-3 Mini

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

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Larger context window (200,000 tokens)
Less expensive input tokens
Less expensive output tokens
Higher AIME 2025 score (90.8% vs 70.5%)
Higher GPQA score (84.0% vs 75.4%)
AnthropicClaude Sonnet 4
xAIGrok-3 Mini

Detailed Comparison

AI Model Comparison Table
Feature
Anthropic
Claude Sonnet 4
xAI
Grok-3 Mini

FAQ

Common questions about Claude Sonnet 4 vs Grok-3 Mini.

Which is better, Claude Sonnet 4 or Grok-3 Mini?

Grok-3 Mini significantly outperforms across most benchmarks. Claude Sonnet 4 is made by Anthropic and Grok-3 Mini is made by xAI. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Claude Sonnet 4 compare to Grok-3 Mini in benchmarks?

Claude Sonnet 4 scores MMMLU: 86.5%, TAU-bench Retail: 80.5%, GPQA: 75.4%, MMMU: 74.4%, SWE-Bench Verified: 72.7%. Grok-3 Mini scores AIME 2024: 95.8%, AIME 2025: 90.8%, GPQA: 84.0%, LiveCodeBench: 80.4%.

Is Claude Sonnet 4 cheaper than Grok-3 Mini?

Grok-3 Mini is 10.0x cheaper for input tokens. Claude Sonnet 4 costs $3.00/M input and $15.00/M output via anthropic. Grok-3 Mini costs $0.30/M input and $0.50/M output via xai.

What are the context window sizes for Claude Sonnet 4 and Grok-3 Mini?

Claude Sonnet 4 supports 200K tokens and Grok-3 Mini 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 Claude Sonnet 4 and Grok-3 Mini?

Key differences include context window (200K vs 128K), input pricing ($3.00 vs $0.30/M). See the full comparison above for benchmark-by-benchmark results.

Who makes Claude Sonnet 4 and Grok-3 Mini?

Claude Sonnet 4 is developed by Anthropic and Grok-3 Mini is developed by xAI.