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
$1.25/1M

OpenAI: GPT-5.1-Codex

GPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and c...

📝 400,000 ctx Compare →
openai
$0.08/1M

OpenAI: gpt-oss-safeguard-20b

gpt-oss-safeguard-20b is a safety reasoning model from OpenAI built upon gpt-oss-20b. This...

📝 131,072 ctx Compare →
openai
$2.50/1M

OpenAI: GPT-4o Search Preview

GPT-4o Search Previewis a specialized model for web search in Chat Completions. It is trai...

📝 128,000 ctx Compare →