GPT Codex API Pricing
OpenAI GPT Codex delivers advanced coding capabilities with scalable reasoning depth. Supports multiple model variants (gpt-5-codex through gpt-5.4-codex) and multimodal inputs. Token-based pricing: $1.25/M input tokens, $9.00/M output tokens. Two endpoints: standard async (/gpt-codex) and live streaming (/gpt-codex/stream) via SSE.
About GPT Codex
GPT Codex is OpenAI's code-specialized model series built on GPT-5 architecture. Optimized for code generation, debugging, and complex engineering workflows with scalable reasoning depth. Supports five model variants from gpt-5-codex to gpt-5.4-codex, multimodal inputs, and SSE streaming. Token-based pricing: $1.25 per million input tokens and $9.00 per million output tokens.
Interactive Savings Calculator
Estimate monthly API spend and compare absolute developer savings.
$12500.00
$1.25/M input tokens, $9.00/M output tokens$17500.00
~$1.75/M input tokens, ~$14.00/M output tokensDetailed Pricing Breakdown
| Provider | Estimated Rate | Notes |
|---|---|---|
| muapiapp | $1.25/M input tokens, $9.00/M output tokens | Token-based billing. Minimum $0.00023 per call. All 5 Codex variants share the same pricing. Supports Prompt Caching (0.1x for hits, 1.25x for creation). |
| OpenAI (official) | ~$1.75/M input tokens, ~$14.00/M output tokens | Official pricing via api.openai.com. |
| Fal.ai | Not available | GPT Codex is not available on Fal.ai. |
Developer Integration Snippets
Model FAQ
Compare similar models
Ready to scale your production?
Get instant access to developer keys. Integrate high-speed dynamic models in minutes with our robust SDKs.

