Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
Xai
Xai

ChatGPT-4o vs Grok 4

A detailed comparison of pricing, benchmarks, and capabilities

Track Your LLM Costs Across Every Provider Broken down by user, feature, and endpoint

107 out of our 483 tracked models have had a price change in March.

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

Key Takeaways

ChatGPT-4o wins:

  • No clear advantages in compared metrics

Grok 4 wins:

  • Cheaper input tokens
  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
  • Has reasoning mode
Price Advantage
Grok 4
Benchmark Advantage
Grok 4
Context Window
Grok 4
Speed
Grok 4

Pricing Comparison

Price Comparison

MetricChatGPT-4oGrok 4Winner
Input (per 1M tokens)$5.00$3.00 Grok 4
Output (per 1M tokens)$15.00$15.00Tie
Cache Read (per 1M)N/A$0.75 Grok 4
Using a 3:1 input/output ratio, Grok 4 is 20% cheaper overall.

ChatGPT-4o Providers

No provider data available

Grok 4 Providers

No provider data available

Benchmark Comparison

8
Benchmarks Compared
0
ChatGPT-4o Wins
7
Grok 4 Wins

Benchmark Scores

BenchmarkChatGPT-4oGrok 4Winner
Intelligence Index
Overall intelligence score
18.641.5
Coding Index
Code generation & understanding
-40.5-
Math Index
Mathematical reasoning
25.792.7
MMLU Pro
Academic knowledge
80.386.6
GPQA
Graduate-level science
65.587.7
LiveCodeBench
Competitive programming
42.581.9
Aider
Real-world code editing
72.279.6
AIME
Competition math
32.794.3
Grok 4 significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
ChatGPT-4o
Other models

Context & Performance

Context Window

ChatGPT-4o
128,000
tokens
Grok 4
256,000
tokens
Grok 4 has a 50% larger context window.

Speed Performance

MetricChatGPT-4oGrok 4Winner
Tokens/second0.0 tok/s40.4 tok/s
Time to First Token0.00s11.45s
Grok 4 responds Infinity% faster on average.

Capabilities

Feature Comparison

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

License & Release

PropertyChatGPT-4oGrok 4
LicenseProprietaryProprietary
AuthorOpenAIXai
ReleasedUnknownJul 2025

ChatGPT-4o Modalities

Input
Output

Grok 4 Modalities

Input
imagetext
Output
text

Related Comparisons

Compare ChatGPT-4o with:

Compare Grok 4 with:

Frequently Asked Questions

Grok 4 has cheaper input pricing at $3.00/M tokens. ChatGPT-4o has cheaper output pricing at $15.00/M tokens.
Grok 4 scores higher on coding benchmarks with a score of 40.5, compared to ChatGPT-4o's score of N/A.
ChatGPT-4o has a 128,000 token context window, while Grok 4 has a 256,000 token context window.
ChatGPT-4o supports vision. Grok 4 supports vision.