OpenAI
OpenAI
Multimodal

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
BLENDED 70/30
$3.800/M
unchanged since 3 May
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
MMLU89%
Multitask academic knowledge across 57 subjects.
Graduate-level science questions, "Google-proof".
MATH87%
High-school competition math problems.
Python function synthesis from docstrings.
Real GitHub issues solved end-to-end.
LMArena Elo1346 Elo
Crowd-sourced head-to-head preference Elo rating.
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 →

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.

Compared with

Terms used on this page