GPT-5.4 API pricing
As of October 16, 2026, GPT-5.4 costs $2.50 per million input tokens and $15.00 per million output tokens on the OpenAI API. Cached input is $0.25 per million.
It is the 24th cheapest of 36 OpenAI models tracked here, by blended price. The closest Premium-tier model from another provider is Claude Sonnet 4.5 (Anthropic) at $3.00 / $15.00; GPT-5.4 is 6% cheaper. First listed in the LiteLLM price data on March 6, 2026. Prompts longer than 272K tokens are billed at $5.00 input / $22.50 output.
Input / 1M tokens$2.50
Output / 1M tokens$15.00
Context window1.05M
Max output128K
Every published rate
| Rate | Per 1M tokens |
|---|
| Input (standard) | $2.50 |
| Output (standard) | $15.00 |
| Cached input (read) | $0.25 |
| Batch input | $1.25 |
| Batch output | $7.50 |
| Input, prompts over 272K tokens | $5.00 |
| Output, prompts over 272K tokens | $22.50 |
What it costs in practice
| Task | Tokens | Per request | Per 1,000 requests |
|---|
| Chatbot reply | 1,000 in / 500 out | $0.01 | $10.00 |
| Summarize a long document | 20,000 in / 1,000 out | $0.07 | $65.00 |
| Coding agent step | 50,000 in / 2,000 out | $0.15 | $155 |
Standard rates, no caching or batch discount; prompts over 272K tokens are billed at the higher long-prompt rate. Compare your own numbers across all models →
Price history
| Date | Model | Change |
|---|
| 2026-03-06 | GPT-5.4 | New model listed: $2.5 in / $15 out source |
Dates are when each change first appeared in the LiteLLM price data, usually within days of the provider's announcement.
Details
| Provider | OpenAI |
| Price tier | Premium |
| Features | Vision, Reasoning, Prompt caching, Tool use, PDF input |
| API model names | gpt-5.4, gpt-5.4-2026-03-05 |
| Official pricing | developers.openai.com |
Models at a similar price
Other OpenAI models