Updated March 25, 2026· Based on independent benchmark data
OpenAI: GPT-5 leads in intelligence with a score of 57.2 vs 48.5. OpenAI: GPT-5 is 2.4x cheaper at $1.25/1M tokens vs $3.00/1M. For speed, xAI: Grok 4 wins at 124 tok/s vs 77 tok/s.
| Metric | OpenAI: GPT-5 | xAI: Grok 4 |
|---|---|---|
| Intelligence Score | 57.2 | 48.5 |
| Coding Score | 57.3 | 42.2 |
| Math Score | N/A | N/A |
| Speed (tok/s) | 77 tok/s | 124 tok/s |
| Latency (TTFT) | 147.35s | 15.96s |
| Input Price / 1M tokens | $1.25 | $3.00 |
| Output Price / 1M tokens | $10 | $15 |
| Context Window | 400K |
OpenAI: GPT-5 outperforms xAI: Grok 4 on the Artificial Analysis intelligence index with a score of 57.2 compared to 48.5. For coding tasks, OpenAI: GPT-5 has the edge with a coding score of 57.3 vs 42.2.
xAI: Grok 4 generates output significantly faster at 124 tok/s compared to OpenAI: GPT-5's 77 tok/s, making it 1.6x faster for streaming responses. Time to first token is 15.96s for xAI: Grok 4 vs 147.35s for OpenAI: GPT-5, which affects perceived responsiveness in interactive applications.
OpenAI: GPT-5 is more affordable at $1.25/1M input tokens ($10/1M output), while xAI: Grok 4 costs $3.00/1M input ($15/1M output). That makes xAI: Grok 4 2.4x more expensive per token, which can add up significantly at scale. For a typical workload of 100 requests per day at 2,000 tokens each, OpenAI: GPT-5 would cost approximately $7.50/month vs $18.00/month for xAI: Grok 4 in input costs alone.
OpenAI: GPT-5 offers a larger context window at 400K tokens compared to xAI: Grok 4's 256K.
Choose OpenAI: GPT-5 when you need higher intelligence (57.2), stronger coding performance (57.3), lower cost. Choose xAI: Grok 4 when you need faster output (124 tok/s).
OpenAI: GPT-5 scores higher on coding benchmarks (57.3 vs 42.2), making it the better choice for programming tasks.
OpenAI: GPT-5 is cheaper at $1.25/1M input tokens vs $3.00/1M for xAI: Grok 4.
xAI: Grok 4 is faster, producing output at 124 tok/s compared to OpenAI: GPT-5's 77 tok/s.
Yes, OpenAI: GPT-5 supports image input. xAI: Grok 4 also supports images.
Benchmark data by Artificial Analysis
Data last synced: March 25, 2026
| 256K |
| Max Output Tokens | 128K | N/A |
| Input Modalities | Text + Image + File | Image + Text |
| Output Modalities | Text | Text |
| Free Tier | No | No |
OpenAI: GPT-5 has a larger context window at 400K compared to xAI: Grok 4's 256K.
It depends on your priorities. OpenAI: GPT-5 scores higher on intelligence (57.2), but xAI: Grok 4 may be better for specific use cases like budget-conscious projects or speed-critical applications.