OpenAI
GPT-5.4 Pro
OpenAI's 2026 most powerful professional model for advanced reasoning, complex analysis, and production-grade workflows
Context Length400K tokens
Model TypeLarge Language Model (LLM, Pro)
MultimodalSupports text and image input, text output
Pricing & Specs
💰 Pricing
Input$30 / M tokens
Output$180 / M tokens
⚙️ Specs
Context Length400K tokens
Model TypeLarge Language Model (LLM, Pro)
MultimodalSupports text and image input, text output
Key FeaturesAdvanced reasoning, complex analysis, code, and long-horizon tasks
Snapshotgpt-5.4-pro-2026-02-20
Knowledge CutoffJune 2024
API Examples
Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.xairouter.com/v1",
api_key="your-api-key"
)
response = client.chat.completions.create(
model="gpt-5.4-pro",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)cURL
curl https://api.xairouter.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "gpt-5.4-pro",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'