gpt-5.4-pro
OpenAI logo

GPT 5.4 Pro

gpt-5.4-pro
OpenAI
Please note: this model is extremely expensive and very slow. If a request fails due to network issues, you may still be charged heavily; we cannot refund charges incurred by requests to this model. GPT-5.4 pro is available in the Responses API only to enable support for multi-turn model interactions before responding to API requests, and other advanced API features in the future. Since GPT-5.4 pro is designed to tackle tough problems, some requests may take several minutes to finish. To avoid timeout, please set a longer timeout duration. It is recommended to use this under good network conditions.

Pricing

TierPricingWeb SearchCache ReadImage Generation
Input<=272K
$30.000$180.000
$0.01/request--
272K<Input
$60.000$270.000
$0.01/request--

Input Modalities

  • Text
  • Vision

Output Modalities

  • Text

Capabilities

  • Thinking
  • Web
  • Tools
  • Tool calling
  • Structured outputs

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-pro",
    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-pro?

Please note: this model is extremely expensive and very slow. If a request fails due to network issues, you may still be charged heavily; we cannot refund charges incurred by requests to this model. GPT-5.4 pro is available in the Responses API only to enable support for multi-turn model interactions before responding to API requests, and other advanced API features in the future. Since GPT-5.4 pro is designed to tackle tough problems, some requests may take several minutes to finish. To avoid timeout, please set a longer timeout duration. It is recommended to use this under good network conditions.