Back to all models
openai
OpenAI: GPT-4.1
GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and GPT-4.5 across coding (54.6% SWE-bench Verified), instruction compliance (87.4% IFEval), and multimodal understanding benchmarks. It is tuned for precise code diffs, agent reliability, and high recall in large document contexts, making it ideal for agents, IDE tooling, and enterprise knowledge retrieval.
openai/gpt-4.1
Context Size
1,047.576K
Input Price
12,300 Ks/M
Output Price
49,200 Ks/M
Architecture
Image
Text
File
Supported Parameters
max_tokensresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p
Details
TokenizerGPT
Max Completion32,768 tokens
Provider Context1,047.576K tokens
ModeratedYes