token.app › Compare › GPT-5.2-Codex vs Grok 4.5
GPT-5.2-Codex vs Grok 4.5
Grok 4.5 is 1.6× cheaper per token on a blended 3:1 basis. Grok 4.5 accepts the larger context window (500K).
Head to head
Blended price uses a 3:1 input:output mix
| GPT-5.2-Codex | Grok 4.5 | |
|---|---|---|
| Provider | OpenAI | xAI |
| Input $/1M | $1.75 | $2.00 |
| Output $/1M | $14.00 | $6.00 |
| Blended $/1M | $4.81 | $3.00 |
| Context window | 400K | 500K |
| Max output | 128K | — |
| Released | Jan 2026 | Jul 2026 |
| Licence | Proprietary | Proprietary |
Choose GPT-5.2-Codex if…
- No clear advantage on the data we hold.
Choose Grok 4.5 if…
- Costs less per token — $3.00 vs $4.81 blended
- Larger context window (500K)
- Newer model (released Jul 2026)
FAQ
Which is better, GPT-5.2-Codex or Grok 4.5?
We do not hold independently-run benchmark scores covering both GPT-5.2-Codex and Grok 4.5, so we make no quality claim. Their pricing and specifications are compared on this page.
Is GPT-5.2-Codex cheaper than Grok 4.5?
Grok 4.5 is cheaper: $3.00 versus $4.81 per million tokens blended at 3:1 input:output. Input alone: $1.75 vs $2.00. Output alone: $14.00 vs $6.00.
What context windows do GPT-5.2-Codex and Grok 4.5 have?
GPT-5.2-Codex: 400,000 tokens. Grok 4.5: 500,000 tokens.
Who makes GPT-5.2-Codex and Grok 4.5?
GPT-5.2-Codex is made by OpenAI. Grok 4.5 is made by xAI.