GPT-5.2-Codex vs Grok 4.7
Price, context window & benchmark comparison
VS
Compare different models
Verdict: Grok 4.7 is 2.0× cheaper than GPT-5.2-Codex on a typical 3:1 input/output mix. Grok 4.7 has the larger context window (500K vs 400K).
| GPT-5.2-Codex | Grok 4.7 | |
|---|---|---|
| Input price / 1M | $1.75 | $1.60 |
| Output price / 1M | $14.00 | $4.80 |
| Blended price (3:1) | $4.81 | $2.40 |
| Cached input / 1M | $0.17 | $0.40 |
| Context window | 400K | 500K |
| Max output | 128K | 450K |
| Intelligence index | — | 46.4 |
| Coding index | — | — |
| Providers | — | 4 |
| Best provider uptime (30m) | — | 99.9% |
| Vision input | Yes | Yes |
| Reasoning | Yes | Yes |
| Tool calling | Yes | Yes |
| Released | 2026-01-14 | 2026-09-21 |
| Retirement | — | — |
Cost calculator
FAQ
Which is cheaper, GPT-5.2-Codex or Grok 4.7?
Grok 4.7 is 2.0× cheaper than GPT-5.2-Codex on a typical 3:1 input/output mix.
GPT-5.2-Codex vs Grok 4.7: which has a bigger context window?
GPT-5.2-Codex: 400,000 tokens. Grok 4.7: 500,000 tokens.
How much would 1 million requests cost?
At 2,000 input + 500 output tokens per request: GPT-5.2-Codex ≈ $10,500, Grok 4.7 ≈ $5,600.
More comparisons
GPT-5.2-Codex vs GLM 5.3 PrimeGPT-5.2-Codex vs Qwen3.8 Max PrimeGPT-5.2-Codex vs Command A+GPT-5.2-Codex vs GPT-6 Luna ProGPT-5.2-Codex vs GPT-6 LunaGPT-5.2-Codex vs GPT-6 Sol ProGPT-5.2-Codex vs GPT-6 SolGPT-5.2-Codex vs Claude Opus 5.5GPT-5.2-Codex vs MiMo-V2.6-Pro-UltraSpeedGPT-5.2-Codex vs MiMo-V2.6-FlashGPT-5.2-Codex vs Qwen3.8 Omni FlashGPT-5.2-Codex vs GLM 5.3 FlashXGPT-5.2-Codex vs DeepSeek V4.1 FlashGPT-5.2-Codex vs GPT-6 AstraGPT-5.2-Codex vs GPT-6 Astra ProGPT-5.2-Codex vs Qwen3.8 Max (0902)Grok 4.7 vs GLM 5.3 PrimeGrok 4.7 vs Qwen3.8 Max PrimeGrok 4.7 vs Command A+Grok 4.7 vs GPT-6 Luna ProGrok 4.7 vs GPT-6 LunaGrok 4.7 vs GPT-6 Sol ProGrok 4.7 vs GPT-6 SolGrok 4.7 vs Claude Opus 5.5