Skip to content

API pricing per million tokens

gpt-5-4 ReasoningChecked 5h ago
Input
$2.5
per 1M, list
Output
$15
per 1M tokens
Cached input
$0.25
batch $1.25 / $7.5
Context
1.05M
128K max output

Where to buy it (9)

  • OpenAIflex-50%$1.25 / $7.5cached $0.125
  • Azure AI Foundrydefault region$2.5 / $15cached $0.25
  • Databricks Mosaic AI Gateway + Foundation Model APIsdefault region, 35.714 DBU per 1M input tokens, 214.286 DBU per 1M output tokens$2.5 / $15$5.63 blended
  • OpenAI (list)the lab's own API$2.5 / $15cached $0.25
  • AWS Bedrockus-east-1+10%$2.75 / $16.5cached $0.275
  • Azure AI Foundryeu+10%$2.75 / $16.5cached $0.275
  • Azure AI Foundryus+10%$2.75 / $16.5cached $0.275
  • Snowflake Cortex AI (AI_COMPLETE)default region, 1.5 AI Credits per 1M input tokens, 9.0 per 1M output tokens+20%$3 / $18$6.75 blended
  • OpenAIfast+100%$5 / $30cached $0.5

Through a gateway

Your own numbers

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

Related models

About GPT-5.4

GPT-5.4 is OpenAI’s latest frontier model, unifying the Codex and GPT lines into a single system.

Takes text, image, files in and returns text. First listed Mar 6, 2026. Blended price $5.63 per 1M tokens at 3 input to 1 output. Overall score 2 on leadersboard.fru.dev (rank 46).

Questions

How much does GPT-5.4 cost?

$2.5 per million input tokens and $15 per million output tokens, with cached input at $0.25, or $1.25 and $7.5 through the Batch API.

What is the context window of GPT-5.4?

1.05M tokens, with up to 128K tokens of output.

Where is GPT-5.4 cheapest?

Of 9 routes tracked, OpenAI is cheapest at $1.25 input and $7.5 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.