OpenAI: gpt-4.1

gpt-4.1
1M context32.8K outToolsParallel toolsVisionFilesCacheStructuredStreamingSystem msg
Released Apr 14, 2025Knowledge cutoff 2024Updated Apr 14, 2025

gpt-4.1 is the flagship variant of OpenAI's GPT-4.1 family, officially designated as the "Smartest non-reasoning model." It marks a significant advancement over GPT-4o, with substantial improvements in coding reliability and instruction-following precision. Its standout technical breakthrough is the 1-million-token context window, enabling the processing of entire monorepos, extensive legal documents, or massive event logs in a single pass. The model is trained for high "literal adherence," following complex formatting and logic far more accurately than its predecessors. It also introduces optimized code-diffing capabilities, allowing for precise edits that reduce both cost and latency for developers.

Mode chatTokenizer GPT

All providers for this model are busy right now

Every upstream provider has hit its rate limit. The model comes back automatically once limits lift, usually within hours. Try again in a little while or switch to another model.

Request this model on Discord

Pricing

Input price
$1.20/ 1M tokens$2.0040% off
Output price
$4.80/ 1M tokens$8.0040% off
Compatible endpoints openaiVendor OpenAI

Performance

Loading performance data...

Usage & Ranking

Loading usage...

Supported parameters

All providers = every upstream serving this model supports it. Some providers = depends on which upstream handles the request. Default = the value sent when you leave the parameter unset.

ParameterProvidersDefault
max_completion_tokensSome providers-
max_tokensSome providers-
response_formatAll providers-
seedAll providers-
structured_outputsAll providers-
temperatureAll providers-
tool_choiceAll providers-
toolsAll providers-
top_pAll providers-

Frequently asked questions

Similar models