Code-specialist GPT for repository edits, reviews, and long-running software agents
GPT-5.2 Codex by openai is offered by 20 providers on this page. Its reference price is $1.75 per 1M input tokens and $14.00 per 1M output tokens. The lowest paid channel is QiHang at $0.14 / $1.14 per 1M, about 13× below the reference price. That channel is a third-party gateway, so confirm its availability and rate limits before depending on it.
Artificial Analysis rates it 28.5 on the Intelligence Index. Against its lowest blended price of $0.39 per 1M, that is roughly 73 index points per dollar, which is the value ratio the leaderboards rank on.
The context window is 272,000 tokens at the reference host, but hosts report different limits, from 272,000 to 400,000, so the usable window depends on the provider you pick. It supports reasoning, tool use, and structured output. Accepted input modalities are Text, Image, and PDF. Providers report the capability flags inconsistently, so verify a specific feature against the host you plan to use. Its training knowledge cuts off at 2025-08-31.
Quality is independently evaluated by Artificial Analysis. Speed/latency are model-level medians.
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| QiHang | Gateway | $0.14 | $1.14 | — | — | 400,000 ⚠ | 128,000 | |
| Ofox | Gateway | $1.40 | $11.20 | $0.14 | — | 400,000 ⚠ | 128,000 | |
| Poe | Gateway | $1.60 | $13.00 | $0.16 | — | 400,000 ⚠ | 128,000 | |
| NanoGPT | Gateway | $1.75 | $14.00 | $0.18 | — | 400,000 ⚠ | 128,000 | |
| Kilo Gateway | Gateway | $1.75 | $14.00 | $0.18 | — | 400,000 ⚠ | 128,000 | |
| Abacus | Gateway | $1.75 | $14.00 | $0.18 | — | 400,000 ⚠ | 128,000 | |
| OpenRouter | Gateway | $1.75 | $14.00 | $0.18 | — | 400,000 ⚠ | 128,000 | |
| Azure | Cloud | $1.75 | $14.00 | $0.18 | — | 400,000 ⚠ | 128,000 | |
| Azure Cognitive Services | Cloud | $1.75 | $14.00 | $0.18 | — | 400,000 ⚠ | 128,000 | |
| ZenMux | Gateway | $1.75 | $14.00 | $0.17 | — | 400,000 ⚠ | 64,000 | |
Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.
4 / 20 providers expose no reasoning control (reasoning_options: []).
| Name | Conditions | Score | Metric | Source |
|---|---|---|---|---|
| SWE-Bench Pro | dataset: public | 41.04 | resolve rate | Source ↗ |
The same benchmark scores very differently across harness / dataset, so the qualifying conditions must be shown together.
Individual evaluations run by Artificial Analysis, on the same reasoning tier as the intelligence score above. Each benchmark has its own task set and harness, so rows are not comparable with one another. The Intelligence Index above draws on a different, newer set of evaluations.