# GPT-5-Codex API pricing

No price from the maker itself is on record for GPT-5-Codex. The lowest of 9 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-09-15
- 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-codex | $1.07 | $8.5 | $0.107 | Lowest |
| [Jiekou.AI](https://docs.jiekou.ai/docs/support/quickstart?utm_source=github_models.dev) | gpt-5-codex | $1.1875 | $9.5 | $0.1187 |  |
| [Helicone](https://helicone.ai/models) | gpt-5-codex | $1.25 | $10 | $0.125 |  |
| [Impossibl](https://impossibl.com/docs/models) | openai/gpt-5-codex | $1.25 | $10 | $0.125 |  |
| [Vercel AI Gateway](https://github.com/vercel/ai/tree/5eb85cc45a259553501f535b8ac79a77d0e79223/packages/gateway) | openai/gpt-5-codex | $1.25 | $10 | $0.13 |  |
| [ZenMux](https://docs.zenmux.ai) | openai/gpt-5-codex | $1.25 | $10 | $0.125 |  |
| [Poe](https://creator.poe.com/docs/external-applications/openai-compatible-api) | openai/gpt-5-codex | $1.1 | $9 | — | Deprecated |
| [Abacus](https://abacus.ai/help/api) | gpt-5-codex | $1.25 | $10 | $0.125 | Deprecated |
| [GitLab Duo](https://docs.gitlab.com/user/duo_agent_platform/) | duo-chat-gpt-5-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-codex/
