Price Per TokenPrice Per Token
Anthropic
Anthropic
vs
Xai
Xai

Claude 3.5 Sonnet vs Grok 3

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Best LLMs for OpenClaw Vote for which model works best with OpenClaw

112 out of our 301 tracked models have had a price change in February.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

Claude 3.5 Sonnet wins:

  • Larger context window
  • Better at coding
  • Supports vision

Grok 3 wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Faster response time
  • Higher intelligence benchmark
  • Better at math
Price Advantage
Grok 3
Benchmark Advantage
Grok 3
Context Window
Claude 3.5 Sonnet
Speed
Grok 3

Pricing Comparison

Price Comparison

MetricClaude 3.5 SonnetGrok 3Winner
Input (per 1M tokens)$6.00$3.00 Grok 3
Output (per 1M tokens)$30.00$15.00 Grok 3
Cache Read (per 1M)N/A$750000.00 Grok 3
Using a 3:1 input/output ratio, Grok 3 is 50% cheaper overall.

Claude 3.5 Sonnet Providers

Vercel $3.00 (Cheapest)
Amazon Bedrock $6.00

Grok 3 Providers

Vercel $3.00 (Cheapest)
xAI $3.00 (Cheapest)
Azure $3.00 (Cheapest)

Benchmark Comparison

8
Benchmarks Compared
1
Claude 3.5 Sonnet Wins
5
Grok 3 Wins

Benchmark Scores

BenchmarkClaude 3.5 SonnetGrok 3Winner
Intelligence Index
Overall intelligence score
15.925.0
Coding Index
Code generation & understanding
30.219.8
Math Index
Mathematical reasoning
-58.0-
MMLU Pro
Academic knowledge
77.279.9
GPQA
Graduate-level science
59.969.3
LiveCodeBench
Competitive programming
38.142.5
Aider
Real-world code editing
84.2--
AIME
Competition math
15.733.0
Claude 3.5 Sonnet significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Claude 3.5 Sonnet
Other models

Context & Performance

Context Window

Claude 3.5 Sonnet
200,000
tokens
Max output: 8,192 tokens
Grok 3
131,072
tokens
Claude 3.5 Sonnet has a 34% larger context window.

Speed Performance

MetricClaude 3.5 SonnetGrok 3Winner
Tokens/second0.0 tok/s62.5 tok/s
Time to First Token0.00s0.73s
Grok 3 responds Infinity% faster on average.

Capabilities

Feature Comparison

FeatureClaude 3.5 SonnetGrok 3
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyClaude 3.5 SonnetGrok 3
LicenseProprietaryProprietary
AuthorAnthropicXai
ReleasedOct 2024Jun 2025

Claude 3.5 Sonnet Modalities

Input
textimagefile
Output
text

Grok 3 Modalities

Input
text
Output
text

Related Comparisons

Compare Claude 3.5 Sonnet with:

Compare Grok 3 with:

Frequently Asked Questions

Grok 3 has cheaper input pricing at $3.00/M tokens. Grok 3 has cheaper output pricing at $15.00/M tokens.
Claude 3.5 Sonnet scores higher on coding benchmarks with a score of 30.2, compared to Grok 3's score of 19.8.
Claude 3.5 Sonnet has a 200,000 token context window, while Grok 3 has a 131,072 token context window.
Claude 3.5 Sonnet supports vision. Grok 3 does not support vision.