Blog · · By Dhrumil Barot, Founder
GPT-4.1 Price: $2 / $8 per 1M Tokens, Mini and Nano Too
GPT-4.1 costs $2 per 1M input and $8 per 1M output tokens; mini is $0.40 / $1.60. Batch, cached and Fast rates, plus the 2027-01-14 shutdown.
TL;DR: GPT-4.1 costs $2.00 per 1M input tokens, $0.50 per 1M cached input tokens and $8.00 per 1M output tokens; GPT-4.1 mini costs $0.40 / $0.10 / $1.60. Both are deprecated and shut down on 2027-01-14, and GPT-4.1 nano was already shut down on 2026-10-23. Vynaris serves GPT-4.1 at the provider list price plus a 3% / 1% fee through one OpenAI-compatible endpoint, so you can price the replacement before the cutoff. Prices verified 2026-11-23.
Try it: point your OpenAI client at https://api.vynaris.com/v1, run the same prompt on GPT-4.1 and its replacement, and compare the cost in the response headers. Get a Vynaris API key.
The GPT-4.1 price on the OpenAI API is $2 input and $8 output per 1M tokens at the Standard tier, half that ($1 / $4) on the Batch API, and $3.50 / $14 on Fast processing. A 200K-token prompt with a 2K-token answer costs $0.416 on GPT-4.1, $0.083 on GPT-4.1 mini and $0.021 on gpt-6-luna, the model OpenAI names as the replacement. Most price pages still list GPT-4.1 as a current option; OpenAI's deprecations page does not.
GPT-4.1 pricing table: every tier
OpenAI API, USD per 1M tokens. Source: OpenAI pricing and the GPT-4.1 model page, read 2026-11-23.
| Model | Tier | Input | Cached input | Output | Status |
|---|---|---|---|---|---|
| gpt-4.1 | Standard | $2.00 | $0.50 | $8.00 | Deprecated, shuts down 2027-01-14 |
| gpt-4.1 | Batch | $1.00 | n/a | $4.00 | Deprecated |
| gpt-4.1 | Fast | $3.50 | $0.875 | $14.00 | Deprecated |
| gpt-4.1-mini | Standard | $0.40 | $0.10 | $1.60 | Deprecated, shuts down 2027-01-14 |
| gpt-4.1-mini | Batch | $0.20 | n/a | $0.80 | Deprecated |
| gpt-4.1-mini | Fast | $0.70 | $0.175 | $2.80 | Deprecated |
| gpt-4.1-nano | Standard (last listed) | $0.10 | $0.025 | $0.40 | Shut down 2026-10-23 |
Fast is the tier OpenAI called Priority processing until it was renamed on 2026-07-30. All three models share a 1,047,576-token context window, 32,768 max output tokens and a 2024-06-01 knowledge cutoff.
How much does GPT-4.1 cost per 1M tokens?
GPT-4.1 costs $2.00 per 1M input tokens and $8.00 per 1M output tokens on the Standard tier. Cached input, the part of a prompt that repeats an earlier prefix, is billed at $0.50, a 75% discount. There is no long-context surcharge: a 900K-token prompt pays the same $2.00 rate as a 9K-token one.
cost = input_tokens / 1e6 * 2.00
+ cached_tokens / 1e6 * 0.50
+ output_tokens / 1e6 * 8.00What does Vynaris charge for GPT-4.1?
Vynaris is an OpenAI-compatible gateway at https://api.vynaris.com/v1. Its models page lists GPT-4.1 at $2.00 / $8.00 with a 1M context window. For a GPT-4.1 bill that means:
- Same price, known fee. From the Vynaris pricing page: "Provider list price + 3% / 1%". The fee is 3% until monthly usage reaches $500, then 1%. Top-ups start at $20.
- A cost on every call. "The response headers and exportable ledger show the model, provider cost, Vynaris fee, and final charge."
- One key for the migration. The model string is the only change between GPT-4.1 and its replacement, so you can run both on real prompts and compare cost before 2027-01-14.
What Vynaris does not do: it does not keep GPT-4.1 alive past OpenAI's shutdown, and it does not offer OpenAI's Batch discount. For an offline job that can wait 24 hours, the OpenAI Batch API at $1 / $4 is cheaper.
from openai import OpenAI
client = OpenAI(base_url="https://api.vynaris.com/v1", api_key="VYNARIS_KEY")
# Check exact model IDs on https://vynaris.com/models before running
for model in ["gpt-4.1", "gpt-6-luna"]:
r = client.chat.completions.create(
model=model,
messages=[{"role": "user", "content": "Summarize this contract clause in one line."}],
)
print(model, r.usage.prompt_tokens, r.usage.completion_tokens)What do GPT-4.1 mini and nano cost?
GPT-4.1 mini costs $0.40 per 1M input tokens, $0.10 cached and $1.60 output, one fifth of GPT-4.1 on every line. GPT-4.1 nano was listed at $0.10 / $0.025 / $0.40, but it no longer has a price you can pay: OpenAI shut it down on 2026-10-23 and names gpt-5.6-luna as its replacement (GPT-4.1 nano model page).
| Request: 200K in, 2K out | gpt-4.1 | gpt-4.1-mini | gpt-6-luna | gpt-6.1-terra |
|---|---|---|---|---|
| Input cost | $0.400 | $0.080 | $0.020 | $0.200 |
| Output cost | $0.016 | $0.0032 | $0.001 | $0.010 |
| Per request | $0.416 | $0.0832 | $0.021 | $0.210 |
| Per 1,000 requests | $416 | $83.20 | $21 | $210 |

Plug your own token counts into the Vynaris calculator to see the same comparison for your workload.
Does GPT-4.1 support batch and cached input discounts?
Yes, both, but not together. The Batch API halves GPT-4.1 to $1.00 / $4.00 and GPT-4.1 mini to $0.20 / $0.80, and OpenAI lists no cached-input rate on Batch. Prompt caching on the Standard tier cuts cached tokens from $2.00 to $0.50.
A worked example: a 200K-token prompt where 150K tokens are a repeated prefix, with a 2K answer.
cached 150,000 / 1e6 * 0.50 = $0.075
fresh 50,000 / 1e6 * 2.00 = $0.100
output 2,000 / 1e6 * 8.00 = $0.016
total = $0.191 (vs $0.416 uncached, 54% less)The same request on Batch costs $0.208. Caching wins when most of the prompt repeats; Batch wins when it does not and the answer can wait. More patterns are in our prompt caching examples.
Is GPT-4.1 cheaper than GPT-5 for long-context tasks?
Mostly no. GPT-5 costs $1.25 input and $10.00 output per 1M, so on input-heavy long-context work it is cheaper: the 200K-in, 2K-out request costs $0.27 on GPT-5 against $0.416 on GPT-4.1. GPT-4.1 wins only when output is a large share of the bill, since its $8 output rate is below GPT-5's $10. GPT-5 is also deprecated, with a shutdown on 2026-12-11, a month before GPT-4.1.
The comparison that matters now is with the GPT-6 line, which charges a higher rate above 272K input tokens. GPT-4.1 has no such step, so its edge grows with prompt size:
| Request: 500K in, 2K out | gpt-4.1 | gpt-6-luna (long) | gpt-6.1-terra (long) |
|---|---|---|---|
| Input rate | $2.00 | $0.20 | $2.00 |
| Output rate | $8.00 | $0.75 | $7.50 |
| Per request | $1.016 | $0.1015 | $1.015 |
At 500K tokens, gpt-6.1-terra costs the same as GPT-4.1 and gpt-6-luna costs one tenth. Source: OpenAI pricing, where short context is up to 272K input tokens. One tradeoff: GPT-4.1 has no reasoning step, which OpenAI cites for its low latency. Test the replacement on your own latency budget before you switch.

When does GPT-4.1 shut down?
GPT-4.1 (gpt-4.1-2025-04-14) and GPT-4.1 mini (gpt-4.1-mini-2025-04-14) shut down on 2027-01-14. OpenAI announced the deprecation on 2026-10-14 and names gpt-6-luna as the replacement for both. After that date, requests to these IDs fail.
| Model | Announced | Shutdown | Replacement |
|---|---|---|---|
| gpt-4.1 | 2026-10-14 | 2027-01-14 | gpt-6-luna |
| gpt-4.1-mini | 2026-10-14 | 2027-01-14 | gpt-6-luna |
| gpt-4.1-nano | 2026-04-22 | 2026-10-23 | gpt-5.6-luna |
| gpt-5 | 2026-06-11 | 2026-12-11 | gpt-6.1-sol |
Fine-tuned GPT-4.1 models follow their base model. OpenAI has closed fine-tuning to new users; existing fine-tuned GPT-4.1 inference costs $3.00 / $12.00 per 1M. For the wider picture, see our OpenAI API pricing guide and GPT-4o token cost, which covers the other model on the same shutdown list.
GPT-4.1 limits that affect cost
| Limit | Value |
|---|---|
| Context window | 1,047,576 tokens |
| Max output | 32,768 tokens |
| Long-context rate limit (over 128K input), Build tier | 250 RPM, 500,000 TPM |
| Web search on gpt-4.1-mini | search content billed as a fixed 8,000 input tokens per call |
The 500,000 TPM long-context cap means two 250K-token prompts per minute on the Build tier, which caps throughput long before cost does. To log what each call actually costs, see how to track LLM API costs.
FAQ
Is GPT-4.1 free?
No. The OpenAI API has no free tier for GPT-4.1; every token is billed at $2.00 input and $8.00 output per 1M on the Standard tier.
How much is 1,000 GPT-4.1 tokens?
1,000 input tokens cost $0.002 and 1,000 output tokens cost $0.008 at Standard rates.
Is GPT-4.1 mini cheaper than GPT-4o mini?
No. GPT-4.1 mini costs $0.40 / $1.60 per 1M against $0.15 / $0.60 for GPT-4o mini. Both shut down on 2027-01-14.
Can I still use GPT-4.1 nano?
No. OpenAI shut down gpt-4.1-nano on 2026-10-23. The replacement is gpt-5.6-luna at $0.20 / $1.20 per 1M.
What should replace GPT-4.1?
OpenAI names gpt-6-luna, at $0.10 / $0.50 per 1M up to 272K input tokens and a 1,050,000-token context. Run it on your own prompts before the switch; price is not quality.
Price your GPT-4.1 migration: send the same requests to GPT-4.1 and gpt-6-luna through one key and read the cost of each in the ledger. Get a Vynaris API key.
Related articles
- GPT-5.4 Nano Pricing: $0.20/$1.25 per 1M, Batch and Mini
- Nano Banana Pro Price: $0.134 per Image, $0.24 at 4K
- GPT-4o Token Cost: $2.50/$10 per 1M and What Replaces It
- GPT-5.5 Pro API: $30/$180 per 1M vs GPT-5.5, Per Task
- Self-hosted voice vs gpt-realtime-2.1-mini: the $0.015/minute break-even
- GPT-4o mini Transcribe vs GPT-4o Transcribe for Hindi: $0.18/hour and 8.3 WER points better