# GPT-5.1 Codex API pricing

No price from the maker itself is on record for GPT-5.1 Codex. The lowest of 17 providers is OpenCode: $1.07 per 1M input tokens and $8.5 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-11-13
- Open weights: No

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

| Provider | Model id | Input | Output | Cached | Notes |
| --- | --- | --- | --- | --- | --- |
| [OpenCode](https://opencode.ai/v2/docs/console/models/) | gpt-5.1-codex | $1.07 | $8.5 | $0.107 | Lowest |
| [Jiekou.AI](https://docs.jiekou.ai/docs/support/quickstart?utm_source=github_models.dev) | gpt-5.1-codex | $1.1875 | $9.5 | $0.1187 |  |
| [AIHubMix](https://docs.aihubmix.com) | gpt-5.1-codex | $1.25 | $10 | $0.125 |  |
| [Eden AI](https://docs.edenai.co) | azure/gpt-5.1-codex | $1.25 | $10 | $0.125 |  |
| [Helicone](https://helicone.ai/models) | gpt-5.1-codex | $1.25 | $10 | $0.125 |  |
| [Impossibl](https://impossibl.com/docs/models) | openai/gpt-5.1-codex | $1.25 | $10 | $0.125 |  |
| [Kilo Gateway](https://kilo.ai) | openai/gpt-5.1-codex | $1.25 | $10 | $0.13 |  |
| [DevPass (LLM Gateway)](https://llmgateway.io/docs) | gpt-5.1-codex | $1.25 | $10 | $0.125 |  |
| [LLM Gateway](https://llmgateway.io/docs) | azure/gpt-5.1-codex | $1.25 | $10 | — |  |
| [NanoGPT](https://docs.nano-gpt.com) | openai/gpt-5.1-codex | $1.25 | $10 | $0.125 |  |
| [OpenRouter](https://openrouter.ai/models) | openai/gpt-5.1-codex | $1.25 | $10 | $0.13 |  |
| [OrcaRouter](https://docs.orcarouter.ai) | openai/gpt-5.1-codex | $1.25 | $10 | $0.125 |  |
| [Vercel AI Gateway](https://github.com/vercel/ai/tree/5eb85cc45a259553501f535b8ac79a77d0e79223/packages/gateway) | openai/gpt-5.1-codex | $1.25 | $10 | $0.13 |  |
| [ZenMux](https://docs.zenmux.ai) | openai/gpt-5.1-codex | $1.25 | $10 | $0.125 |  |
| [Poe](https://creator.poe.com/docs/external-applications/openai-compatible-api) | openai/gpt-5.1-codex | $1.1 | $9 | $0.11 | Deprecated |
| [Abacus](https://abacus.ai/help/api) | gpt-5.1-codex | $1.25 | $10 | $0.125 | Deprecated |
| [Vivgrid](https://docs.vivgrid.com/models) | gpt-5.1-codex | $1.25 | $10 | $0.125 | 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.1-codex/
