Updated March 25, 2026· Based on independent benchmark data
OpenAI: GPT-5.2-Codex leads in intelligence with a score of 54.0 vs 48.5. For speed, xAI: Grok 4.20 Multi-Agent Beta wins at 124 tok/s vs 68 tok/s.
| Metric | OpenAI: GPT-5.2-Codex | xAI: Grok 4.20 Multi-Agent Beta |
|---|---|---|
| Intelligence Score | 54.0 | 48.5 |
| Coding Score | 53.1 | 42.2 |
| Math Score | N/A | N/A |
| Speed (tok/s) | 68 tok/s | 124 tok/s |
| Latency (TTFT) | 75.14s | 15.96s |
| Input Price / 1M tokens | $1.75 | $2.00 |
| Output Price / 1M tokens | $14 | $6.00 |
| Context Window | 400K |
OpenAI: GPT-5.2-Codex outperforms xAI: Grok 4.20 Multi-Agent Beta on the Artificial Analysis intelligence index with a score of 54.0 compared to 48.5. For coding tasks, OpenAI: GPT-5.2-Codex has the edge with a coding score of 53.1 vs 42.2.
xAI: Grok 4.20 Multi-Agent Beta generates output significantly faster at 124 tok/s compared to OpenAI: GPT-5.2-Codex's 68 tok/s, making it 1.8x faster for streaming responses. Time to first token is 15.96s for xAI: Grok 4.20 Multi-Agent Beta vs 75.14s for OpenAI: GPT-5.2-Codex, which affects perceived responsiveness in interactive applications.
OpenAI: GPT-5.2-Codex is more affordable at $1.75/1M input tokens ($14/1M output), while xAI: Grok 4.20 Multi-Agent Beta costs $2.00/1M input ($6.00/1M output). For a typical workload of 100 requests per day at 2,000 tokens each, OpenAI: GPT-5.2-Codex would cost approximately $10.50/month vs $12.00/month for xAI: Grok 4.20 Multi-Agent Beta in input costs alone.
xAI: Grok 4.20 Multi-Agent Beta offers a larger context window at 2M tokens compared to OpenAI: GPT-5.2-Codex's 400K. This means xAI: Grok 4.20 Multi-Agent Beta can process roughly 1000 pages of text in a single request vs 200 pages for OpenAI: GPT-5.2-Codex.
Choose OpenAI: GPT-5.2-Codex when you need higher intelligence (54.0), stronger coding performance (53.1). Choose xAI: Grok 4.20 Multi-Agent Beta when you need faster output (124 tok/s), larger context window (2M).
OpenAI: GPT-5.2-Codex scores higher on coding benchmarks (53.1 vs 42.2), making it the better choice for programming tasks.
OpenAI: GPT-5.2-Codex is cheaper at $1.75/1M input tokens vs $2.00/1M for xAI: Grok 4.20 Multi-Agent Beta.
xAI: Grok 4.20 Multi-Agent Beta is faster, producing output at 124 tok/s compared to OpenAI: GPT-5.2-Codex's 68 tok/s.
Yes, OpenAI: GPT-5.2-Codex supports image input. xAI: Grok 4.20 Multi-Agent Beta also supports images.
Benchmark data by Artificial Analysis
Data last synced: March 25, 2026
| 2M |
| Max Output Tokens | 128K | N/A |
| Input Modalities | Text + Image | Text + Image |
| Output Modalities | Text | Text |
| Free Tier | No | No |
xAI: Grok 4.20 Multi-Agent Beta has a larger context window at 2M compared to OpenAI: GPT-5.2-Codex's 400K.
It depends on your priorities. OpenAI: GPT-5.2-Codex scores higher on intelligence (54.0), but xAI: Grok 4.20 Multi-Agent Beta may be better for specific use cases like budget-conscious projects or speed-critical applications.