GPT-4.1
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.00 per million input tokens and $8.00 per million output tokens (blended $3.80/M), with a 1,000,000-token context window.
RatesUSD per million tokens. Blend is 70% input, 30% output, our calculation.
Hand-maintained from OpenAI's published pricing; no check date on record.
- 1M context window
- Strong coding
- Better instruction following than GPT-4o
- Cheap relative to GPT-4
- Repo-scale coding
- Long document analysis
- Cost-sensitive vision
Benchmarks
Also reported by the provider
Results on benchmarks outside the set we compare across models. They are listed for completeness and are deliberately excluded from the bars above and from every ranking on this site, because a score is only comparable against the same benchmark variant. Why benchmark scores do not compare →
- MATH-50082.1%self-reported by OpenAI · 2025-07 · gpt-4.1 row, assistant prompt. simple-evals README, zero-shot chain of thought. Its footnote says models from o1 onward are scored on MATH-500, not the full MATH test set. Not comparable with the MATH column, so shown here and never ranked.
More from OpenAI
See all 28 →Frequently asked questions
How much does GPT-4.1 cost?
GPT-4.1 costs $2.00 per million input tokens and $8.00 per million output tokens, for a blended reference rate of $3.80 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.
