gpt-4.1
Auto-routeropenai/gpt-4.1
Context
1.0M
Max output
33K
Input / 1M
$2.00
Output / 1M
$8.00
Cached / 1M
$0.50
Cutoff
Jun 2024
About this model
GPT-4.1 is our flagship model for complex tasks. It is well suited for problem solving across domains.
Best suited for
- High-quality writing, content generation, general Q&A, and image-text tasks without deep multi-step reasoning requirements.
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.
Supported parameters
creativity_levelControls the creativity of responses. Higher values (e.g., 0.7) increase creativity; lower values (e.g., 0.2) make responses more predictable.
max_tokensMax Tokens LimitSpecifies 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.
streamSends the response in real-time as it's being generated.
service_tier