gpt-5.4
Auto-routeropenai/gpt-5.4
Context
600K
Max output
200K
Input / 1M
$2.25
Output / 1M
$18.00
Cached / 1M
$0.225
Cutoff
Dec 2025
About this model
GPT-5.4 is our most advanced general-purpose model in the GPT-5 family. Optimized for complex reasoning, long-context agentic workflows, multimodal processing, and superior code generation.
Best suited for
- Advanced reasoning, long-context agentic tasks, multimodal workflows, enterprise-grade code generation, and high-precision research applications
Built-in tools
Hosted by the gateway — enable them per request without wiring your own endpoint.
Capabilities
Vision
Accepts images alongside text in the same message.
Files
Accepts file attachments — PDFs, transcripts, spreadsheets.
Tools
Native function calling, so agents can invoke your endpoints.
System prompt
Honours a dedicated system role, separate from the user turn.
Reasoning
Emits a separate thinking pass before the answer.
Supported parameters
max_tokensSpecifies the maximum number of text units (tokens) allowed in a response, limiting its length.
toolsLists tool definitions or capabilities available to the model.
tool_choiceDecides whether to use tools or just the model for generating responses.
response_typeDefines the format or type of the generated response.
parallel_tool_callsEnables parallel execution of tools, allowing multiple tools to run simultaneously.
reasoningControls how much reasoning effort the model applies before generating a response.
verbosityControls the level of detail and length of the generated responses.
streamSends the response in real-time as it's being generated.