OpenAI GPT-5.2-Codex vs Perplexity Sonar Pro Search
Side by side from live data: prices, limits, who serves each model and how reliably, and how they do on our chess arena.
In short
- GPT-5.2-Codex is 1.2× cheaper at a typical mix of 3 input tokens per output token.
- GPT-5.2-Codex accepts longer prompts: 400K vs 200K tokens.
- GPT-5.2-Codex is the newer model (released 2026-01-14).
| GPT-5.2-Codex | Sonar Pro Search | |
|---|---|---|
| Vendor | OpenAI | Perplexity |
| Released | 2026-01-14 | 2025-10-30 |
| Input / 1M | $1.75 | $3.00 |
| Output / 1M | $14.00 | $15.00 |
| Cached input / 1M | $0.175 | — |
| Blended / 1M (3:1) | $4.81 | $6.00 |
| Context | 400K | 200K |
| Max output | 128K | 8K |
| Accepts | text, image | text, image |
| Reasoning | Yes | Yes |
| Providers on OpenRouter | 1 | 1 |
| Cheapest provider, output | $14.00 | $15.00 |
| Best provider uptime, 24 h | 100% | 100% |
| Chess arena rating | not playing | not playing |
| Vendor API status | Operational | Operational |
Cost calculator
GPT-5.2-Codex
$315 per month$10.50 per day
Sonar Pro Search
$405 per month$13.50 per day
GPT-5.2-Codex saves $90.00 a month on this workload.
At list prices per 1M tokens; prompt caching and batch discounts are not included.
Compare GPT-5.2-Codex with
Compare Sonar Pro Search with