Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
Xai
Xai

o3 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

o3 wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Faster response time
  • Has reasoning mode

Grok 4 wins:

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

Pricing Comparison

Price Comparison

Metrico3Grok 4Winner
Input (per 1M tokens)$2.00$3.00 o3
Output (per 1M tokens)$8.00$15.00 o3
Cache Read (per 1M)$500000.00$750000.00 o3
Using a 3:1 input/output ratio, o3 is 42% cheaper overall.

o3 Providers

OpenAI $2.00 (Cheapest)
Vercel $2.00 (Cheapest)

Grok 4 Providers

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

Benchmark Comparison

8
Benchmarks Compared
1
o3 Wins
7
Grok 4 Wins

Benchmark Scores

Benchmarko3Grok 4Winner
Intelligence Index
Overall intelligence score
38.341.4
Coding Index
Code generation & understanding
38.440.5
Math Index
Mathematical reasoning
88.392.7
MMLU Pro
Academic knowledge
85.386.6
GPQA
Graduate-level science
82.787.7
LiveCodeBench
Competitive programming
80.881.9
Aider
Real-world code editing
81.379.6
AIME
Competition math
90.394.3
Grok 4 wins 7 out of 8 benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
o3
Other models

Context & Performance

Context Window

o3
200,000
tokens
Max output: 100,000 tokens
Grok 4
256,000
tokens
Grok 4 has a 22% larger context window.

Speed Performance

Metrico3Grok 4Winner
Tokens/second109.7 tok/s38.5 tok/s
Time to First Token20.34s15.96s
o3 responds 185% faster on average.

Capabilities

Feature Comparison

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

License & Release

Propertyo3Grok 4
LicenseProprietaryProprietary
AuthorOpenAIXai
ReleasedApr 2025Jul 2025

o3 Modalities

Input
imagetextfile
Output
text

Grok 4 Modalities

Input
imagetext
Output
text

Related Comparisons

Compare o3 with:

Compare Grok 4 with:

Frequently Asked Questions

o3 has cheaper input pricing at $2.00/M tokens. o3 has cheaper output pricing at $8.00/M tokens.
Grok 4 scores higher on coding benchmarks with a score of 40.5, compared to o3's score of 38.4.
o3 has a 200,000 token context window, while Grok 4 has a 256,000 token context window.
o3 supports vision. Grok 4 supports vision.