# GPT-5.2 Codex API pricing

No price from the maker itself is on record for GPT-5.2 Codex. The lowest of 19 providers is AIHubMix: $1.75 per 1M input tokens and $14 per 1M output tokens (as of 2026-11-12). Context window: 400K tokens, up to 128K output tokens per request.

- Type: Text
- Context: 400K
- Max output: 128K
- Released: 2025-12-11
- Open weights: No

## Price by provider (USD per 1M tokens)

| Provider | Model id | Input | Output | Cached | Notes |
| --- | --- | --- | --- | --- | --- |
| [AIHubMix](https://docs.aihubmix.com) | gpt-5.2-codex | $1.75 | $14 | $0.175 | Lowest |
| [Eden AI](https://docs.edenai.co) | azure/gpt-5.2-codex | $1.75 | $14 | $0.175 |  |
| [Impossibl](https://impossibl.com/docs/models) | openai/gpt-5.2-codex | $1.75 | $14 | $0.175 |  |
| [Jiekou.AI](https://docs.jiekou.ai/docs/support/quickstart?utm_source=github_models.dev) | gpt-5.2-codex | $1.75 | $14 | $0.175 |  |
| [Kilo Gateway](https://kilo.ai) | openai/gpt-5.2-codex | $1.75 | $14 | $0.175 |  |
| [DevPass (LLM Gateway)](https://llmgateway.io/docs) | gpt-5.2-codex | $1.75 | $14 | $0.175 |  |
| [LLM Gateway](https://llmgateway.io/docs) | azure/gpt-5.2-codex | $1.75 | $14 | $0.175 |  |
| [NanoGPT](https://docs.nano-gpt.com) | openai/gpt-5.2-codex | $1.75 | $14 | $0.175 |  |
| [Ofox](https://ofox.ai/docs) | openai/gpt-5.2-codex | $1.75 | $14 | $0.18 |  |
| [OpenCode](https://opencode.ai/v2/docs/console/models/) | gpt-5.2-codex | $1.75 | $14 | $0.175 |  |
| [OpenRouter](https://openrouter.ai/models) | openai/gpt-5.2-codex | $1.75 | $14 | $0.175 |  |
| [OrcaRouter](https://docs.orcarouter.ai) | openai/gpt-5.2-codex | $1.75 | $14 | $0.175 |  |
| [Vercel AI Gateway](https://github.com/vercel/ai/tree/5eb85cc45a259553501f535b8ac79a77d0e79223/packages/gateway) | openai/gpt-5.2-codex | $1.75 | $14 | $0.175 |  |
| [ZenMux](https://docs.zenmux.ai) | openai/gpt-5.2-codex | $1.75 | $14 | $0.175 |  |
| [QiHang](https://www.qhaigc.net/docs) | gpt-5.2-codex | $0.14 | $1.14 | — | Deprecated |
| [Poe](https://creator.poe.com/docs/external-applications/openai-compatible-api) | openai/gpt-5.2-codex | $1.6 | $13 | $0.16 | Deprecated |
| [Abacus](https://abacus.ai/help/api) | gpt-5.2-codex | $1.75 | $14 | $0.175 | Deprecated |
| [Vivgrid](https://docs.vivgrid.com/models) | gpt-5.2-codex | $1.75 | $14 | $0.175 | Deprecated |
| [GitLab Duo](https://docs.gitlab.com/user/duo_agent_platform/) | duo-chat-gpt-5-2-codex | $0 | $0 | — | Deprecated |

Providers are those listed by models.dev. This site has not vetted them one by one; each provider's own page has the binding price.

Prices and specs come from models.dev (MIT licence), updated 2026-11-12. Each provider's name links to its official docs. A provider priced at 0 usually includes the model in a subscription; it is not necessarily a free API.

https://apibook.ai/models/openai/gpt-5.2-codex/
