GPT-4.1
Frontier
Long-context coding-focused GPT-4 successor with a 1M-token window. Aimed at developers who need predictable instruction following over very long inputs.
GPT-4.1 is a multimodal AI model from OpenAI. It costs $2.000 per million input tokens and $8.000 per million output tokens (blended $3.800/M), with a 1,000,000-token context window.
INPUT
$2.000/M
per million input tokens
OUTPUT
$8.000/M
per million output tokens
CONTEXT
1,000,000
tokens
What it is good at
- 1M context window
- Strong coding
- Better instruction following than GPT-4o
- Cheap relative to GPT-4
Typical use cases
- Repo-scale coding
- Long document analysis
- Cost-sensitive vision
Benchmarks
vs. best public score
Hand-curated from each provider's published reports and public leaderboards. Methodology varies across sources, treat as directional rather than authoritative.
More from OpenAI
See all 28 →GPT-5.6 Sol
Frontier · 1,050,000 ctx
in $5.000/Mout $30.000/M
GPT-5.6 Terra
Balanced · 1,050,000 ctx
in $2.000/Mout $12.000/M
GPT-5.6 Luna
Efficient · 1,050,000 ctx
in $0.200/Mout $1.200/M
GPT-5.5
Frontier · 1,050,000 ctx
in $5.000/Mout $30.000/M
GPT-5.2
Frontier · 400,000 ctx
in $1.750/Mout $14.000/M
GPT-5.2-Codex
Coding · 400,000 ctx
in $1.750/Mout $14.000/M
Frequently asked questions
How much does GPT-4.1 cost?
GPT-4.1 costs $2.000 per million input tokens and $8.000 per million output tokens, for a blended reference rate of $3.800 per million tokens.
What is GPT-4.1's context window?
GPT-4.1 supports up to 1,000,000 tokens of context in a single request.
What is GPT-4.1 best for?
GPT-4.1 is well suited to 1M context window, Strong coding and Better instruction following than GPT-4o.
Who makes GPT-4.1?
GPT-4.1 is developed and served by OpenAI. It was released in Apr 2025.