gpt-5 pricing

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

Price on each platform

PlatformInputOutputCached inputBatch input / output
OpenAI API$1.25$10.00$0.125$0.625 / $5.00
Microsoft Foundry (Azure)$1.25–$0.125$0.625 / –

The lowest standard price on each platform, in USD per 1M tokens.

OpenAI API

TierRuns inInputOutputCached input
StandardAnywhere$1.25$10.00$0.125
BatchAnywhere$0.625$5.00$0.0625
FlexAnywhere$0.625$5.00$0.0625
PriorityAnywhere$2.50$20.00$0.25

Microsoft Foundry (Azure)

TierRuns inInputOutputCached input
StandardGlobal (24 regions)$1.25–$0.125
StandardGeography (data zone) (13 regions)$1.375–$0.1375
BatchGlobal (23 regions)$0.625–$0.0625
BatchGeography (data zone) (12 regions)$0.6875–$0.0688
PriorityGlobal (25 regions)$2.50$20.00$0.25
PriorityGeography (data zone) (14 regions)$2.75$22.00$0.275

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