GPT-5.4 API Pricing
As of October 10, 2026, GPT-5.4 costs $2.50 per 1M input tokens and $15.00 per 1M output tokens on OpenAI, with cache reads at $0.25 per 1M tokens. Across 9 providers on LiteLLM, the input price ranges from $2.50 to $2.75. It has a 1,050,000-token context window and returns up to 128,000 tokens per response.
- Input
- $2.50 / 1M tokens
- Output
- $15.00 / 1M tokens
- Cache read
- $0.25 / 1M tokens
- Context window
- 1,050,000 tokens
- Max output
- 128,000 tokens
- Providers
- 9
- Added to LiteLLM
- March 2026
GPT-5.4 pricing by provider
19 listings across 9 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Cache read | Cache write | Batch in | Batch out | Context |
|---|---|---|---|---|---|---|---|---|
| OpenAI | gpt-5.4 | $2.50 | $15.00 | $0.25 | – | $1.25 | $7.50 | 1M |
| OpenAIsnapshot 2026-03-05 | gpt-5.4-2026-03-05 | $2.50 | $15.00 | $0.25 | – | $1.25 | $7.50 | 1M |
| Amazon Bedrock Mantle | bedrock_mantle/openai.gpt-5.4 | $2.75 | $16.50 | $0.275 | – | – | – | 1M |
| Azure AI Foundry | azure_ai/gpt-5.4 | $2.50 | $15.00 | $0.25 | – | – | – | 922K |
| Azure AI Foundrysnapshot 2026-03-05 | azure_ai/gpt-5.4-2026-03-05 | $2.50 | $15.00 | $0.25 | – | – | – | 922K |
| Azure OpenAI | azure/gpt-5.4 | $2.50 | $15.00 | $0.25 | – | $1.25 | $7.50 | 922K |
| Azure OpenAIsnapshot 2026-03-05 | azure/gpt-5.4-2026-03-05 | $2.50 | $15.00 | $0.25 | – | $1.25 | $7.50 | 922K |
| ChatGPT Subscription | chatgpt/gpt-5.4 | – | – | – | – | – | – | 1M |
| Databricks | databricks/databricks-gpt-5-4 | $2.50 | $15.00 | $0.25 | $2.50 | – | – | 922K |
| GitHub Copilot | github_copilot/gpt-5.4 | – | – | – | – | – | – | 272K |
| Perplexity | perplexity/openai/gpt-5.4 | $2.50 | $15.00 | $0.25 | – | – | – | – |
| Amazon BedrockGlobal cross-region | global.openai.gpt-5.4 | $2.50 | $15.00 | $0.25 | – | – | – | 1M |
| Amazon BedrockUS cross-region | us.openai.gpt-5.4 | $2.75 | $16.50 | $0.275 | – | – | – | 1M |
| Amazon Bedrock Mantleus-gov-east-1 | bedrock_mantle/us-gov-east-1/openai.gpt-5.4 | $3.30 | $19.80 | $0.33 | – | – | – | 1M |
| Amazon Bedrock Mantleus-gov-west-1 | bedrock_mantle/us-gov-west-1/openai.gpt-5.4 | $3.375 | $20.25 | $0.3375 | – | – | – | 1M |
| Azure OpenAIeu | azure/eu/gpt-5.4 | $2.75 | $16.50 | $0.275 | – | $1.375 | $8.25 | 922K |
| Azure OpenAIeu, snapshot 2026-03-05 | azure/eu/gpt-5.4-2026-03-05 | $2.75 | $16.50 | $0.275 | – | $1.375 | $8.25 | 922K |
| Azure OpenAIus | azure/us/gpt-5.4 | $2.75 | $16.50 | $0.275 | – | $1.375 | $8.25 | 922K |
| Azure OpenAIus, snapshot 2026-03-05 | azure/us/gpt-5.4-2026-03-05 | $2.75 | $16.50 | $0.275 | – | $1.375 | $8.25 | 922K |
Other GPT-5.4 prices on OpenAI
| Priority input | $5.00 per 1M tokens |
| Priority output | $30.00 per 1M tokens |
| Flex input | $1.25 per 1M tokens |
| Flex output | $7.50 per 1M tokens |
| Input above 272K tokens | $5.00 per 1M tokens |
| Output above 272K tokens | $22.50 per 1M tokens |
| Cache read above 272K tokens | $0.50 per 1M tokens |
What GPT-5.4 costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| OpenAI | $12.50 |
| Databricks | $12.50 |
| Azure AI Foundry | $12.50 |
| Azure OpenAI | $12.50 |
| OpenAI batch | $6.25 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| OpenAI | $28.00 |
| Databricks | $28.00 |
| Azure AI Foundry | $28.00 |
| Azure OpenAI | $28.00 |
GPT-5.4 features
Input: text, image. Output: text.
- Function calling
- Parallel tool calls
- Structured output
- Image input
- PDF input
- Reasoning
- Prompt caching
- Web search
Use GPT-5.4 with LiteLLM
Call GPT-5.4 through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="gpt-5.4",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: gpt-5.4
litellm_params:
model: gpt-5.4
api_key: os.environ/OPENAI_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "gpt-5.4",
"messages": [{"role": "user", "content": "Hello!"}]
}'GPT-5.4 FAQ
How much does GPT-5.4 cost?
GPT-5.4 costs $2.50 per 1M input tokens and $15.00 per 1M output tokens on OpenAI, with cache reads at $0.25 per 1M tokens. Batch requests cost $1.25 per 1M input tokens and $7.50 per 1M output tokens. Above 272K input tokens, input costs $5.00 and output costs $22.50 per 1M tokens. Across 9 providers on LiteLLM, the input price ranges from $2.50 to $2.75.
What is the context window of GPT-5.4?
GPT-5.4 has a 1,050,000-token context window and returns up to 128,000 tokens per response.
Which providers offer GPT-5.4?
GPT-5.4 is available from 9 providers through LiteLLM: OpenAI, Amazon Bedrock Mantle, Azure AI Foundry, Azure OpenAI, ChatGPT Subscription, Databricks, GitHub Copilot, Perplexity and Amazon Bedrock. The lowest price is on Databricks.
How do I call GPT-5.4 with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="gpt-5.4", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does GPT-5.4 support?
GPT-5.4 supports function calling, parallel tool calls, structured output, image input, PDF input, reasoning, prompt caching and web search.
When did LiteLLM add GPT-5.4?
GPT-5.4 was added to LiteLLM's model price file in March 2026.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
- developers.openai.com/api/docs/pricing
- docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-54.html
- ai.azure.com/catalog/models/gpt-5.4
- prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'
LiteLLM docs: OpenAI, Amazon Bedrock Mantle, Azure AI Foundry, Azure OpenAI, ChatGPT Subscription, Databricks.
Provider pages: OpenAI, Amazon Bedrock Mantle, Azure AI Foundry, Azure OpenAI, ChatGPT Subscription, Databricks, GitHub Copilot, Perplexity, Amazon Bedrock.
