GPT-4.1
by OpenAI · openai/gpt-4.1 · #256 cheapest of 325 paid models
Prices updated Jul 22, 2026, 1:31 AM UTC · refreshed hourly
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...
Compare vs:Claude Sonnet 5Claude Opus 4.6Claude Haiku 4.5Gemini 3.6 Flash
Pricing
Input
$2.00
per 1M tokens
Output
$8.00
per 1M tokens
Blended (3:1)
$3.50
3 input : 1 output
Cache read
$0.50
per 1M cached tokens
Cache write
—
per 1M tokens
Cache & batch economics
Effective prices for GPT-4.1 with prompt caching.
| Cache hit rate | Effective blended $/1M | Example request* | vs no cache |
|---|---|---|---|
| 0% | $3.50 | $0.212 | — |
| 50% | $2.94 | $0.137 | −35% |
| 90% | $2.49 | $0.077 | −64% |
*Example: 100K sticky context + 2K new input + 1K output. Batch discount is an approximate 50% off list rates for this provider’s batch API. Confirm on the vendor’s pricing page.
What a request costs
| Workload | Input tokens | Output tokens | Cost / request | Cost / 1K requests |
|---|---|---|---|---|
| Short chat message | 500 | 300 | $0.0034 | $3.40 |
| Document summary | 8,000 | 1,000 | $0.024 | $24.00 |
| Codebase question (RAG) | 30,000 | 2,000 | $0.076 | $76.00 |
| Long-context analysis | 150,000 | 5,000 | $0.34 | $340.00 |
Performance
Intelligence Index
19.4
AA composite quality
Coding Index
—
Math Index
34.7
Agentic Index
—
Output speed
149 tok/s
median
Time to first token
0.56s
median
Time to first answer
0.56s
after reasoning tokens
Artificial Analysis benchmarks
| Benchmark | Score |
|---|---|
| MMLU-Pro | 80.6% |
| GPQA Diamond | 66.6% |
| Humanity's Last Exam | 4.6% |
| LiveCodeBench | 45.7% |
| SciCode | 38.1% |
| MATH-500 | 91.3% |
| AIME | 43.7% |
| AIME 2025 | 34.7% |
| IFBench | 43.0% |
| AA-LCR (Long Context Reasoning) | 61.0% |
| Terminal-Bench Hard | 13.6% |
| τ²-Bench (Telecom) | 47.1% |
Design Arena Elo
| Category | Elo |
|---|---|
| Website | 1,066 |
| UI components | 1,043 |
| Data viz | 1,140 |
| 3D | 908 |
| Game dev | 1,138 |
| Code categories | 1,059 |
Specs
Context window
1.05M
tokens
Max output
33K
tokens
Input modalities
image, text, file
Tokenizer
GPT