GPT 5.4
GPT-5.4 is OpenAI's latest cutting-edge large model, which integrates the Codex series and the GPT series into a unified system. The model has a context window of over 1 million tokens (922,000 input tokens and 128,000 output tokens), supports text and image inputs, and can perform high-context reasoning, coding, and multimodal analysis within the same workflow. The model delivers improved performance in coding, document understanding, tool usage, and instruction execution. It is designed as a robust choice for both general-purpose tasks and software engineering scenarios, capable of generating production-grade code, integrating information from multiple sources, and executing complex multi-step workflows with fewer iterations and higher token efficiency.
Providers
This model is available from multiple providers. Select one to see its pricing and sample code.
Official OpenAI Channels
Official Microsoft Azure Channels
Sourced from ChatGPT Pro Membership,Recommended for Codex
Pricing
Transparent pay-as-you-go pricing by token usage — no subscriptions or hidden fees.
Code
Copy an example below to start calling this model in minutes.
Sample Code & API
from openai import OpenAI
client = OpenAI(
base_url="https://api.apipod.ai/v1",
api_key="<YOUR_API_KEY>",
)
# Chat Completions
completion = client.chat.completions.create(
model="gpt-5.4",
messages=[
{
"role": "user",
"content": "What is the meaning of life?",
}
],
)
print(completion.choices[0].message.content)