Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
Xai
Xai

GPT-4 (older v0314) vs Grok 4

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Deploy OpenClaw in Under 1 Minute We handle hosting, scaling, and maintenance

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

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

Key Takeaways

GPT-4 (older v0314) wins:

  • No clear advantages in compared metrics

Grok 4 wins:

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

Pricing Comparison

Price Comparison

MetricGPT-4 (older v0314)Grok 4Winner
Input (per 1M tokens)$30.00$3.00 Grok 4
Output (per 1M tokens)$60.00$15.00 Grok 4
Cache Read (per 1M)N/A$0.75 Grok 4
Using a 3:1 input/output ratio, Grok 4 is 84% cheaper overall.

GPT-4 (older v0314) Providers

OpenAI $30.00 (Cheapest)
Azure $30.00 (Cheapest)

Grok 4 Providers

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

Benchmark Comparison

8
Benchmarks Compared
0
GPT-4 (older v0314) Wins
1
Grok 4 Wins

Benchmark Scores

BenchmarkGPT-4 (older v0314)Grok 4Winner
Intelligence Index
Overall intelligence score
-41.5-
Coding Index
Code generation & understanding
-40.5-
Math Index
Mathematical reasoning
-92.7-
MMLU Pro
Academic knowledge
-86.6-
GPQA
Graduate-level science
-87.7-
LiveCodeBench
Competitive programming
-81.9-
Aider
Real-world code editing
66.279.6
AIME
Competition math
-94.3-
Grok 4 significantly outperforms in coding benchmarks.

Cost vs Quality

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

Context & Performance

Context Window

GPT-4 (older v0314)
8,191
tokens
Max output: 4,096 tokens
Grok 4
256,000
tokens
Grok 4 has a 97% larger context window.

Speed Performance

MetricGPT-4 (older v0314)Grok 4Winner
Tokens/secondN/A43.6 tok/s
Time to First TokenN/A9.88s

Capabilities

Feature Comparison

FeatureGPT-4 (older v0314)Grok 4
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGPT-4 (older v0314)Grok 4
LicenseProprietaryProprietary
AuthorOpenAIXai
ReleasedMay 2023Jul 2025

GPT-4 (older v0314) Modalities

Input
text
Output
text

Grok 4 Modalities

Input
imagetext
Output
text

Related Comparisons

Compare GPT-4 (older v0314) with:

Compare Grok 4 with:

Frequently Asked Questions

Grok 4 has cheaper input pricing at $3.00/M tokens. Grok 4 has cheaper output pricing at $15.00/M tokens.
Grok 4 scores higher on coding benchmarks with a score of 40.5, compared to GPT-4 (older v0314)'s score of N/A.
GPT-4 (older v0314) has a 8,191 token context window, while Grok 4 has a 256,000 token context window.
GPT-4 (older v0314) does not support vision. Grok 4 supports vision.
Advertise with us