Skip to main content

GPT-5 Codex: API pricing, providers and specs

Textby OpenAIReleased Sep 15, 2025

GPT-5 Codex is a text model by OpenAI. 11 providers serve it, from $8 to $10 /1M; the lowest price is at APIMart.

A newer version is out: GPT-5.2 Codex · released Dec 18, 2025

Lowest price$8/1Mat APIMart
Maker's price—The maker does not sell it
Providers11
Context400KMax output 128K

How GPT-5 Codex compares

Against the 737 text models on the site priced the same way.

  • Pricey for its class: at $8 /1M, its lowest price is above 83% of comparable models (median $1.10).
  • Its 400K-token context window is larger than 62% of them (median 262K), about 600 pages of text.
  • 11 providers serve it; 78% of comparable models have fewer.

GPT-5 Codex prices by provider

Every provider's list price, read from its own price page or API. A price marked “from” changes with context length, resolution or mode.

ProviderInputOutputPrompt cachingContext
APIMart$1/1M$8/1M——
OpenCode$1.07/1M$8.50/1M$0.107/1M—
Jiekou.AI$1.19/1M$9.50/1M$0.119/1M—
ZenMux$1.25/1M$10/1M$0.125/1M400K
Vercel AI Gateway$1.25/1M$10/1M$0.13/1M400K
Helicone$1.25/1MFrom$10/1M$0.125/1M—
Impossibl$1.25/1M$10/1M$0.125/1M—
APIYI$1.25/1M$10/1M——
CrazyRouter$1.25/1M$10/1M——
AIHubMix$1.25/1M$10/1M$0.125/1M400K
Azure$1.25/1MFrom$10/1M$0.125/1M—
Output price by provider, /1M, cheapest first
  1. APIMart$8
  2. OpenCode$8.50
  3. Jiekou.AI$9.50
  4. ZenMux$10
  5. Vercel AI Gateway$10
  6. Impossibl$10
  7. APIYI$10
  8. CrazyRouter$10
  9. AIHubMix$10
  10. HeliconeFrom$10
  11. AzureFrom$10
Prices in US dollars, updated daily from each provider. Prices last checked Oct 25, 2026.

Specs

Type
Text
Maker
OpenAI
Inputs
Image, Text
Outputs
Text
Context
400K≈ 600 pages of text
Max output
128K
Capabilities
Prompt caching, JSON, Reasoning, Tool calling, Vision
Released
Sep 15, 2025
License
—
Open weights
—

Alternatives to GPT-5 Codex

Same kind of model from other makers, at a similar price.

ModelLowest priceContextArenaProviders
GPT-5 Codexthis model$8/1M400K—11
Gemini 4 Argon$8/1M1.05M167326
Kimi K3$8.28/1M1.05M165547
Muse Wonder$16/1M1.05M—14
Claude Opus 5.5$16/1M1M180733
Qwen3.8 2.4T A95B$4.11/1M1M—22
Grok 4.7$4.80/1M500K163728
Muse Spark 1.3$4.25/1M1.05M165711
Claude Sonnet 5.5$8/1M1M176732

More from OpenAI

All 123 OpenAI models

GPT-5 Codex FAQ






Can't find what you're looking for? Contact us