Last verified 2025-09-22 (left) · 2025-09-22 (right)
GPT-4o vs Grok 4 — Pricing & Capability Comparison
GPT-4o charges $2.50 per million input tokens and $10.00 per million output tokens. Grok 4 comes in at $3.00 / $15.00. Context windows span 128K vs 256K tokens respectively.
Input price (per 1M)
GPT-4o
$2.50
Grok 4
$3.00
GPT-4o leads here
Output price (per 1M)
GPT-4o
$10.00
Grok 4
$15.00
GPT-4o leads here
Context window
GPT-4o
128,000 tokens
Grok 4
256,000 tokens
Grok 4 leads here
Cached input
GPT-4o
$1.250
Grok 4
$0.750
Grok 4 leads here
Cost comparison for 10K-token workloads
Side-by-side pricing for identical workloads (10,000 total tokens per request) across different distributions.
Scenario | GPT-4o | Grok 4 | GPT-4o cached | Grok 4 cached |
---|---|---|---|---|
Balanced conversation 50% input · 50% output | $0.0625 | $0.0900 | $0.0563 | $0.0788 |
Input-heavy workflow 80% input · 20% output | $0.0400 | $0.0540 | $0.0300 | $0.0360 |
Generation heavy 30% input · 70% output | $0.0775 | $0.114 | $0.0738 | $0.107 |
Cached system prompt 90% cached input · 10% fresh output | $0.0325 | $0.0420 | $0.0212 | $0.0217 |
Frequently asked questions
Which model is cheaper per million input tokens?
GPT-4o costs $2.50 per million input tokens versus $3.00 for Grok 4.
How do output prices compare?
GPT-4o charges $10.00 per million output tokens, while Grok 4 costs $15.00 per million.
Which model supports a larger context window?
Grok 4 offers 256,000 tokens (256K) versus 128K for GPT-4o.