GPT 5.4
OpenAI logo

GPT 5.4

gpt-5.4llms.txt
OpenAI
GPT-5.4 is our frontier model for complex professional work.Reasoning.effort supports: none (default), low, medium, high and xhigh.

Pricing

TierPricingCache ReadImage GenerationWeb Search
Input<=272K
$2.5$15
$0.25/M tokens-$0.01/request
272K<Input
$5$22.5
$0.5/M tokens-$0.01/request

Input Modalities

  • Text
  • Vision

Output Modalities

  • Text

Context length

  • 1.05M tokens

Max output

  • 128K tokens

Capabilities

  • Thinking
  • Streaming
  • Tool calling
  • Web search
  • URL context
  • Code interpreter
  • Computer use
  • File search
  • Memory tool
  • Structured outputs
  • Citations
  • Prompt caching
  • Background mode
  • Server-side sessions

Providers

Azure gpt-5.4
Pricing$2.5$15
Cache Read$0.25/M tokens
Web Search$0.01/request
Pricing$5$22.5
Cache Read$0.5/M tokens
Web Search$0.01/request
Context400K
Max output128K
Latency1.8S
Throughput47.2TPS
Uptime
99.70% uptime 2 days ago
99.96% uptime yesterday
99.98% uptime today
OpenAI gpt-5.4
Pricing$2.5$15
Cache Read$0.25/M tokens
Web Search$0.01/request
Pricing$5$22.5
Cache Read$0.5/M tokens
Web Search$0.01/request
Context1M
Max output128K
Latency1.8S
Throughput70.1TPS
Uptime
60.00% uptime 2 days ago
0.00% uptime yesterday
0.00% uptime today

Performance for gpt-5.4

Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).

Uptime
Loading...
Latency
Loading...
Throughput
Loading...

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="gpt-5.4",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is GPT 5.4?

GPT-5.4 is our frontier model for complex professional work.Reasoning.effort supports: none (default), low, medium, high and xhigh.