OpenAI
OpenAI: GPT-4.1
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.
/ 1M tokens
/ 1M tokens
tokens
Limits
Context
1,047,576
tokens
Max output
32,768
3.1% of the context window
Model facts
Author
OpenAI
Tokenizer
GPT
Modality
Text + Image + File -> Text
Knowledge cutoff
2024-06-30
Created
Apr 14, 2025
Publication status
Modalities
Generation controls
Capability scores
Better than 31% of models compared
Creative tasks
Category performance
1104 Elo
59.5% win
1081 Elo
59.1% win
1040 Elo
52.3% win
1027 Elo
50.9% win
999 Elo
49.7% win
850 Elo
30.9% win