Price Per TokenPrice Per Token
Xai
Xai
vs
Xai
Xai

Grok 3 vs Grok 4

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

Grok 3 wins:

  • Faster response time

Grok 4 wins:

  • Larger context window
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
  • Supports vision
Price Advantage
Grok 3
Benchmark Advantage
Grok 4
Context Window
Grok 4
Speed
Grok 3

Pricing Comparison

Price Comparison

MetricGrok 3Grok 4Winner
Input (per 1M tokens)$3.00$3.00Tie
Output (per 1M tokens)$15.00$15.00Tie
Cache Read (per 1M)$750000.00$750000.00Tie
Both models have similar overall pricing.

Grok 3 Providers

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

Grok 4 Providers

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

Benchmark Comparison

8
Benchmarks Compared
0
Grok 3 Wins
7
Grok 4 Wins

Benchmark Scores

BenchmarkGrok 3Grok 4Winner
Intelligence Index
Overall intelligence score
25.041.4
Coding Index
Code generation & understanding
19.840.5
Math Index
Mathematical reasoning
58.092.7
MMLU Pro
Academic knowledge
79.986.6
GPQA
Graduate-level science
69.387.7
LiveCodeBench
Competitive programming
42.581.9
Aider
Real-world code editing
-79.6-
AIME
Competition math
33.094.3
Grok 4 significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Grok 3
Other models

Context & Performance

Context Window

Grok 3
131,072
tokens
Grok 4
256,000
tokens
Grok 4 has a 49% larger context window.

Speed Performance

MetricGrok 3Grok 4Winner
Tokens/second62.5 tok/s38.5 tok/s
Time to First Token0.73s15.96s
Grok 3 responds 62% faster on average.

Capabilities

Feature Comparison

FeatureGrok 3Grok 4
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGrok 3Grok 4
LicenseProprietaryProprietary
AuthorXaiXai
ReleasedJun 2025Jul 2025

Grok 3 Modalities

Input
text
Output
text

Grok 4 Modalities

Input
imagetext
Output
text

Related Comparisons

Compare Grok 3 with:

Compare Grok 4 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.
Grok 4 scores higher on coding benchmarks with a score of 40.5, compared to Grok 3's score of 19.8.
Grok 3 has a 131,072 token context window, while Grok 4 has a 256,000 token context window.
Grok 3 does not support vision. Grok 4 supports vision.