Models Model details

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.

Input
$2

/ 1M tokens

Output
$8

/ 1M tokens

Context window
1.05M

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

Hugging Face: unavailableLicense: not publishedParameter count: not published

Modalities

Input · ImageInput · TextInput · FileOutput · Text

Generation controls

Max completion tokensMax tokensResponse formatSeedStructured outputsTemperatureTool choiceToolsTop p

Capability scores

12.7
Intelligence index

Better than 31% of models compared

Creative tasks

Category performance

Data visualization
Top 80%

1104 Elo

59.5% win

Games
Top 78%

1081 Elo

59.1% win

Websites
Top 86%

1040 Elo

52.3% win

Code
Top 88%

1027 Elo

50.9% win

UI components
Top 89%

999 Elo

49.7% win

3D
Top 99%

850 Elo

30.9% win