codex-mini pricing

codex-mini by OpenAI is sold on Microsoft Foundry (Azure). It costs $1.50 per million input tokens and $6.00 per million output tokens on Microsoft Foundry (Azure) (global deployment).

Microsoft Foundry (Azure)

TierRuns inInputOutputCached input
StandardGlobal (23 regions)$1.50$6.00$0.375
StandardGeography (data zone) (12 regions)$1.65$6.60$0.413
StandardIn region (7 regions)$1.65$6.60$0.413
StandardIn region (swedencentral)$1.815$7.26$0.454

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