Skip to content

API pricing per million tokens

gpt-5 ReasoningChecked 5h ago
Input
$1.25
per 1M, list
Output
$10
per 1M tokens
Cached input
$0.125
batch $0.625 / $5
Context
400K
128K max output

Where to buy it (5)

  • Azure AI Foundrydefault region$1.25 / $10cached $0.125
  • Databricks Mosaic AI Gateway + Foundation Model APIsdefault region, 17.857 DBU per 1M input tokens, 142.857 DBU per 1M output tokens$1.25 / $10$3.44 blended
  • OpenAI (list)the lab's own API$1.25 / $10cached $0.125
  • OpenAIdefault$1.25 / $10cached $0.125
  • Azure AI Foundryswedencentral+10%$1.38 / $11cached $0.138

Through a gateway

Your own numbers

100M input and 20M output tokens a month: $325.00 direct.

Related models

About GPT-5

GPT-5 is OpenAI’s most advanced model, offering major improvements in reasoning, code quality, and user experience.

Takes text, image, files in and returns text. First listed Aug 12, 2025. Blended price $3.44 per 1M tokens at 3 input to 1 output. Overall score 3 on leadersboard.fru.dev (rank 44).

Questions

How much does GPT-5 cost?

$1.25 per million input tokens and $10 per million output tokens, with cached input at $0.125, or $0.625 and $5 through the Batch API.

What is the context window of GPT-5?

400K tokens, with up to 128K tokens of output.

Where is GPT-5 cheapest?

Of 5 routes tracked, Azure AI Foundry is cheapest at $1.25 input and $10 output per million tokens.

List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.

Weekly: LLM API list prices that changed, Thursday mornings.