OpenAI Codex API Pricing
OpenAI Codex has 2 API providers. The lowest input price is $1.5000/1M tokens from 302.AI. 2 providers auto-refresh every 6 h (Updated 10h ago).
No first-party price is tracked for OpenAI Codex on this page yet — below is a comparison of 2 hosting providers: prices range from $1.5000 to $25.6034, a 1607% spread. Beyond price, hosts differ meaningfully in throughput, rate limits, and reliability, so a small trial run is worth it before committing.
At today's lowest rate, processing 1M input + 1M output tokens costs about $7.5000. The table below lists current per-provider quotes.
Compare OpenAI Codex API Prices Across Providers
Frequently Asked Questions
How is OpenAI Codex API pricing calculated?
LLM APIs are billed per 1M input and output tokens separately. Official providers set the base price; relay providers typically offer 20–80% discounts.
What is the cheapest way to access OpenAI Codex API?
The lowest current input price is $1.5000 per 1M tokens from 302.AI. Prices update in real time — bookmark this page for the latest rates.
Can I use OpenAI Codex API from China?
Providers marked 🇨🇳 in the table support China-mainland access. Check each provider's documentation for details.
How often is OpenAI Codex API pricing updated?
2 sources on this page are live-scraped every ~6 hours (Updated 10h ago).
How reliable is the OpenAI Codex API pricing data?
Live-scraped prices come directly from provider APIs and are generally accurate. Manually maintained prices are sourced from official pricing pages and periodically verified. For critical decisions, confirm the latest price via the provider's official link.
How can I tell if a price is live-scraped or manually maintained?
Each provider row shows a small label next to the name: a green "Live" badge means prices are automatically fetched on a schedule; a gray "Manual" badge means human-curated. Live data not refreshed in 24+ hours turns amber.
Related