GPT-4.1 API Pricing
Deprecated: OpenAI announced on October 14, 2026 that gpt-4.1 leaves the API on January 14, 2027, and names GPT-6 Luna as the replacement. GPT-4.1 is a long-context OpenAI model at $2/$8 per million tokens. $2/M input, $8/M output, and $0.5/M cached input. It introduced a 1M context window to the GPT-4 family and a 75% cached-input discount.
GPT-4.1 API cost calculator.
Archive calculator pre-loaded with GPT-4.1 rates. Tweak spend, output mix, or cache hit rate to compare legacy bills with current replacements.
GPT-4.1 cost on real workloads.
Repo-wide bug fix
Reading 100-page contracts
Support agent ticket triage
Research planning turn
This is a chars-per-token approximation, not a real tokenizer. Actual tokens vary by language, code density, and tool-call overhead — counts are typically ±10–20% off for English prose, more for code or non-Latin scripts. For exact billing, use the vendor's official tokenizer.
| Model | Input /M | Output /M | Effective blended | Context | Best for |
|---|---|---|---|---|---|
| GPT-4.1 Current | $2.00 cache $0.50 | $8.00 | $1.35 agentic 92/8 | 1M | OpenAI archive comparisons |
| GPT-5.5 | $5.00 cache $0.50 | $30.00 | $3.61 +2.7× | 1M | Current OpenAI flagship |
| GPT-5.4 | $2.50 cache $0.25 | $15.00 | $1.80 +34% | 1.05M | Current OpenAI daily driver |
| GPT-5.4 mini | $0.75 cache $0.075 | $4.50 | $0.541 −2.5× | 400K | Current cheap OpenAI workloads |
| Claude Sonnet 5.5 | $2.00 cache $0.10 | $10.00 | $1.29 −4% | 1M | Anthropic's current Sonnet |
| Gemini 3.8 Flash | $0.75 cache $0.075 | $3.75 | $0.481 −2.8× · promo | 1M | Gemini long-context work |
| DeepSeek V4 Pro | $1.32 cache $0.044 | $3.96 | $0.569 −2.4× | 1M | Low-cost reasoning and coding |
By replacement
GPT-4.1 has published scores on 2 benchmarks we track; its best placing is #95 of 105 on ARC-AGI-2. All of these scores come from independent leaderboards, not from the lab.
| Benchmark | Score | Rank | Leader | Source |
|---|---|---|---|---|
| ARC-AGI-2 Reasoning | 0.4% ARC Prize verified, best result | #95 of 105 | GPT-6 Astra · 95% | Official leaderboard ARC Prize Foundation |
| ARC-AGI-1 Reasoning | 5.5% ARC Prize verified, best result | #92 of 99 | 6 tied · 98.5% | Official leaderboard ARC Prize Foundation |
GPT-4.1 API pricing FAQ.
Short answers for teams checking GPT-4.1 pricing, status, and migration choices.
Q · 01 Is GPT-4.1 still available? +
gpt-4.1-2025-04-14) is removed from the API on that date, and named GPT-6 Luna as the replacement. Until then it bills at the rates on this page.Q · 02 How much did GPT-4.1 cost? +
Q · 03 Is cached-input pricing included? +
Q · 04 What replaced it? +
gpt-6-luna: GPT-6 Luna lists at $0.10/M input and $0.50/M output and blends to $0.0682/M on our agentic mix, against $1.35/M here. Use the shelf to compare the other current options.