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.

Input Cost
$2.00
per 1M tokens
Output Cost
$8.00
per 1M tokens
Context Window
1,047,576
tokens
Compare vs GPT-4o
Developer ID: openai/gpt-4.1

Related Models

openai
$2.50/1M

OpenAI: GPT-4o (2024-11-20)

The 2024-11-20 version of GPT-4o offers a leveled-up creative writing ability with more na...

📝 128,000 ctx Compare →
openai
$1.75/1M

OpenAI: GPT-5.2 Chat

GPT-5.2 Chat (AKA Instant) is the fast, lightweight member of the 5.2 family, optimized fo...

📝 128,000 ctx Compare →
openai
$0.25/1M

OpenAI: GPT-5 Mini

GPT-5 Mini is a compact version of GPT-5, designed to handle lighter-weight reasoning task...

📝 400,000 ctx Compare →