gpt-5-codex pricing

gpt-5-codex by OpenAI is sold on Microsoft Foundry (Azure). It costs $1.25 per million input tokens and $10.00 per million output tokens on Microsoft Foundry (Azure) (global deployment).

Microsoft Foundry (Azure)

TierRuns inInputOutputCached input
StandardGlobal (24 regions)$1.25$10.00$0.125
StandardGeography (data zone) (13 regions)$1.375$11.00$0.138

More OpenAI models

Prices in USD per 1 million tokens, from OpenAI and Anthropic's pricing pages, the AWS Price List API (Bedrock) and the Azure Retail Prices API (Microsoft Foundry). Cloud prices are the lowest in any region; global deployments can run anywhere.

Prices as of 12 Nov 2026. All AI models