GPT-5.4 pricing

GPT-5.4 costs $2.5 per million input tokens and $15 per million output tokens , with cached input at $0.25. Its context window is 272K tokens. Batch requests are discounted 50%.

Price per million tokens

Input $2.5
Cached input $0.25
Output $15
Context window 272K tokens
Batch discount −50%

What it costs in practice

Monthly cost for three common workload shapes, with prompt caching applied.

Workload Shape Per request Per month
Support chatbot 1.5k in / 400 out, 100k requests/month, 30% cached $0.00874 $873.75
RAG / document Q&A 12k in / 700 out, 50k requests/month, 60% cached $0.0243 $1,215
Coding agent 25k in / 2.5k out, 20k requests/month, 80% cached $0.055 $1,100

Model your own workload with caching, batching and tokenizer correction →

Comparable models from other providers

Model Provider Input Output
Claude Sonnet 4.6 Anthropic $3 $15
Claude Sonnet 4.5 Anthropic $3 $15
Claude Sonnet 5 Anthropic $2 $10
Gemini 3.1 Pro (preview) Google $2 $12

All figures verified 2026-08-18 against OpenAI's official pricing documentation . Fields the provider does not publish are shown as “—” rather than estimated.