Codex API key (OpenAI)
PricePay for Codex usage based on API pricing
Codex with an API key is OpenAI Codex paid for at API pricing, for the CLI, SDK and IDE extension.
Codex API key pricing follows OpenAI’s API prices: OpenAI’s Codex pricing page says to “Pay for Codex usage based on API pricing” and calls the option “Great for automation in shared environments like CI”. Model availability follows the API models available to your key. With a key, Codex runs in the CLI, the SDK or the IDE extension; cloud-based features such as GitHub code review and Slack are not included. Per-token prices are on OpenAI’s own API pricing page.
Usage: “Pay for Codex usage based on API pricing”; “Great for automation in shared environments like CI”
Included for coding agents: Codex in CLI, SDK, or IDE extension; no cloud-based features (GitHub code review, Slack)
Checked against the source on October 5, 2026. Compare it with every other plan in the coding agent plans tracker.
- Usage (vendor's wording)
- "Pay for Codex usage based on API pricing"; "Great for automation in shared environments like CI"
- Models in the tool
- "Model availability follows the API models available to your key"
- Agent features included
- Codex in CLI, SDK, or IDE extension; no cloud-based features (GitHub code review, Slack)
Questions
How is Codex priced with an API key?
What is the Codex API key option for?
Which models can I use with a Codex API key?
Which Codex features work with an API key?
Sources
OpenAI Codex
View all- Codex Business (OpenAI)Codex Business is OpenAI’s plan for 2+ users with ChatGPT and Codex, from $20 per user a month.
- Codex Business Premium seat (OpenAI)Codex Business Premium seat is OpenAI’s $100-a-user ChatGPT Business seat with 5x Standard usage.
- Codex Enterprise and Edu (OpenAI)Codex Enterprise and Edu are OpenAI’s Codex plans priced through sales, with everything in Business.
- Codex Free (OpenAI)Codex Free is OpenAI’s $0 tier of Codex, offered in the Codex desktop app subject to rollout.
