Codex GPT for repository edits, code review, and practical software agentsGPT-5.1 Codex by openai is offered by 19 providers on this page. No official API price is listed for it; the prices below come from third-party channels. The lowest paid channel is OpenCode at $1.07 / $8.50 per 1M. That channel is a third-party gateway, so confirm its availability and rate limits before depending on it. Prices vary about 1.2× across the providers that host it.
Median output speed is 126 tokens per second, with 10.24s to the first token.
The context window is 400,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 2024-09-30.
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 |
|---|---|---|---|---|---|---|---|---|
| OpenCode | Gateway | $1.07 | $8.50 | $0.11 | — | 400,000 | 128,000 | |
| Poe | Gateway | $1.10 | $9.00 | $0.11 | — | 400,000 | 128,000 | deprecated |
| Jiekou.AI | Gateway | $1.19 | $9.50 | $0.12 | — | 400,000 | 128,000 | |
| LLM Gateway | Gateway | $1.25 | $10.00 | — | — | 400,000 | 272,000 | |
| NanoGPT | Gateway | $1.25 | $10.00 | $0.13 | — | 400,000 | 128,000 | |
| DevPass (LLM Gateway) | Gateway | $1.25 | $10.00 | $0.13 | — | 400,000 | 128,000 | |
| OpenRouter | Gateway | $1.25 | $10.00 | $0.13 | — | 400,000 | 128,000 | |
| Vivgrid | Gateway | $1.25 | $10.00 | $0.13 | — | 400,000 | 128,000 | deprecated |
| AIHubMix | Gateway | $1.25 | $10.00 | $0.13 | — | 400,000 | 128,000 | |
| ZenMux | Gateway | $1.25 | $10.00 | $0.13 | — | 400,000 | 128,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.
2 / 19 providers expose no reasoning control (reasoning_options: []).
Price history accumulates from each data sync; currently only 1 sample(s) (2026-08-05). Each future sync adds a point, and once accumulated a line is drawn here.