LiteLLMModels

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.

By OpenAIModel ID gpt-5.4Prices updated Checked
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.

ProviderModel name in LiteLLMInputOutputCache readCache writeBatch inBatch outContext
OpenAIgpt-5.4$2.50$15.00$0.25–$1.25$7.501M
OpenAIsnapshot 2026-03-05gpt-5.4-2026-03-05$2.50$15.00$0.25–$1.25$7.501M
Amazon Bedrock Mantlebedrock_mantle/openai.gpt-5.4$2.75$16.50$0.275–––1M
Azure AI Foundryazure_ai/gpt-5.4$2.50$15.00$0.25–––922K
Azure AI Foundrysnapshot 2026-03-05azure_ai/gpt-5.4-2026-03-05$2.50$15.00$0.25–––922K
Azure OpenAIazure/gpt-5.4$2.50$15.00$0.25–$1.25$7.50922K
Azure OpenAIsnapshot 2026-03-05azure/gpt-5.4-2026-03-05$2.50$15.00$0.25–$1.25$7.50922K
ChatGPT Subscriptionchatgpt/gpt-5.4––––––1M
Databricksdatabricks/databricks-gpt-5-4$2.50$15.00$0.25$2.50––922K
GitHub Copilotgithub_copilot/gpt-5.4––––––272K
Perplexityperplexity/openai/gpt-5.4$2.50$15.00$0.25––––
Amazon BedrockGlobal cross-regionglobal.openai.gpt-5.4$2.50$15.00$0.25–––1M
Amazon BedrockUS cross-regionus.openai.gpt-5.4$2.75$16.50$0.275–––1M
Amazon Bedrock Mantleus-gov-east-1bedrock_mantle/us-gov-east-1/openai.gpt-5.4$3.30$19.80$0.33–––1M
Amazon Bedrock Mantleus-gov-west-1bedrock_mantle/us-gov-west-1/openai.gpt-5.4$3.375$20.25$0.3375–––1M
Azure OpenAIeuazure/eu/gpt-5.4$2.75$16.50$0.275–$1.375$8.25922K
Azure OpenAIeu, snapshot 2026-03-05azure/eu/gpt-5.4-2026-03-05$2.75$16.50$0.275–$1.375$8.25922K
Azure OpenAIusazure/us/gpt-5.4$2.75$16.50$0.275–$1.375$8.25922K
Azure OpenAIus, snapshot 2026-03-05azure/us/gpt-5.4-2026-03-05$2.75$16.50$0.275–$1.375$8.25922K

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.

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.

Python SDK
from litellm import completion

response = completion(
    model="gpt-5.4",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: gpt-5.4
    litellm_params:
      model: gpt-5.4
      api_key: os.environ/OPENAI_API_KEY
Call the proxy
curl 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:

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.