Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
Xai
Xai

GPT-4o (2024-11-20) 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

GPT-4o (2024-11-20) wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Faster response time

Grok 4 wins:

  • Larger context window
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
Price Advantage
GPT-4o (2024-11-20)
Benchmark Advantage
Grok 4
Context Window
Grok 4
Speed
GPT-4o (2024-11-20)

Pricing Comparison

Price Comparison

MetricGPT-4o (2024-11-20)Grok 4Winner
Input (per 1M tokens)$2.50$3.00 GPT-4o (2024-11-20)
Output (per 1M tokens)$10.00$15.00 GPT-4o (2024-11-20)
Cache Read (per 1M)$1250000.00$750000.00 Grok 4
Using a 3:1 input/output ratio, GPT-4o (2024-11-20) is 27% cheaper overall.

GPT-4o (2024-11-20) Providers

OpenAI $2.50 (Cheapest)
Azure $2.50 (Cheapest)

Grok 4 Providers

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

Benchmark Comparison

8
Benchmarks Compared
0
GPT-4o (2024-11-20) Wins
8
Grok 4 Wins

Benchmark Scores

BenchmarkGPT-4o (2024-11-20)Grok 4Winner
Intelligence Index
Overall intelligence score
17.341.4
Coding Index
Code generation & understanding
16.740.5
Math Index
Mathematical reasoning
6.092.7
MMLU Pro
Academic knowledge
74.886.6
GPQA
Graduate-level science
54.387.7
LiveCodeBench
Competitive programming
30.981.9
Aider
Real-world code editing
71.479.6
AIME
Competition math
15.094.3
Grok 4 significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
GPT-4o (2024-11-20)
Other models

Context & Performance

Context Window

GPT-4o (2024-11-20)
128,000
tokens
Max output: 16,384 tokens
Grok 4
256,000
tokens
Grok 4 has a 50% larger context window.

Speed Performance

MetricGPT-4o (2024-11-20)Grok 4Winner
Tokens/second132.8 tok/s38.5 tok/s
Time to First Token0.42s15.96s
GPT-4o (2024-11-20) responds 245% faster on average.

Capabilities

Feature Comparison

FeatureGPT-4o (2024-11-20)Grok 4
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGPT-4o (2024-11-20)Grok 4
LicenseProprietaryProprietary
AuthorOpenAIXai
ReleasedNov 2024Jul 2025

GPT-4o (2024-11-20) Modalities

Input
textimagefile
Output
text

Grok 4 Modalities

Input
imagetext
Output
text

Related Comparisons

Compare GPT-4o (2024-11-20) with:

Compare Grok 4 with:

Frequently Asked Questions

GPT-4o (2024-11-20) has cheaper input pricing at $2.50/M tokens. GPT-4o (2024-11-20) has cheaper output pricing at $10.00/M tokens.
Grok 4 scores higher on coding benchmarks with a score of 40.5, compared to GPT-4o (2024-11-20)'s score of 16.7.
GPT-4o (2024-11-20) has a 128,000 token context window, while Grok 4 has a 256,000 token context window.
GPT-4o (2024-11-20) supports vision. Grok 4 supports vision.