Last verified
SHUTS DOWN JAN 14 2027DEPRECATED MODEL1MTEXT + VISIONPROMPT CACHING

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.

Archived input - per 1M tokens
$2.00/M
Source OpenAI legacy
Archived output - per 1M tokens
$8.00/M
Use for invoice checks legacy
Cached input
$0.50/M
Cache hit price discounted
Effective - agentic blend
$1.35/M
92/8 split - 82% cache
§ 01 / TERMINAL

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.

$ /mo
Workload split
Prompt cache hit rate
Tokens you can process
—
Words equivalent (English)
—
Effective rate
—
Open full calculator (all models · share URL · CSV) →
§ 02 / SCENARIOS

GPT-4.1 cost on real workloads.

§ 03 / TOKENIZER

GPT-4.1 token counter and cost.

What's a token →
Estimate · tiktoken-cl100k_base · ≈4 chars/token Auto-counts as you type

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.

Characters 284
Words 42
Tokens (estimated) 71 tokens
Cost as input · uncached $0.00014 USD
Cost as output · uncached $0.00057 USD
Cost as cached input $0.00004 USD
§ 04 / SHELF

GPT-4.1 vs similar models.

All models →
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
§ 05 / DEEP LINKS

GPT-4.1 cost by scenario.

All calculators →
§ 07 / BENCHMARKS

GPT-4.1 benchmarks

All benchmarks →

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? +
Until January 14, 2027. On October 14, 2026 OpenAI notified developers that GPT-4.1 (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? +
GPT-4.1 is archived at $2/M input and $8/M output.
Q · 03 Is cached-input pricing included? +
Yes. Cached input is shown at $0.5/M.
Q · 04 What replaced it? +
OpenAI's deprecation notice names 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.
Q · 05 Why keep this archive page? +
Archive pages preserve old price baselines, help explain invoice history, and capture migration search demand without treating old models as current recommendations.