47 model prices
  1. Home
  2. Models
  3. OpenAI
  4. GPT-4.1

GPT-4.1 API pricing and context window

GPT-4.1 costs $2.00 per 1M input tokens and $8.00 per 1M output tokens on the OpenAI API. Cached input reads cost $0.50 per 1M. It accepts up to 1,047,576 input tokens and returns up to 32,768 output tokens. A typical chat request (10K input, 1K output) costs about $0.028. Prices last updated November 27, 2026.

Last updated: Provider pricing pagePricing data: LiteLLM (MIT)

Input
$2.00
per 1M tokens
Output
$8.00
per 1M tokens
Cached input
$0.50
per 1M tokens
Context window
1,047,576
tokens
Max output
32,768
tokens

Deprecated; shuts down on January 14, 2027. Successor: GPT-6 Luna.

Pricing options

Input /1MOutput /1Mvs standard (input / output)
Batch API$1.00$4.00-50% / -50%
Fast mode (formerly Priority)$3.50$14.00+75% / +75%

Typical task cost

TaskCost
Chat request (10K in + 1K out)$0.028
Codebase question (100K in + 2K out)$0.216
Same question with cached context (100K cached + 2K out)$0.066
Filling the whole context once (1M in)$2.10
1M tokens a month (750K in + 250K out)$3.50

Estimate your own workload in the calculator

GPT-4.1 compared with the previous and next version

ModelInput /1MOutput /1MWhat changes
NewerGPT-5$1.25 -38%$10.00 +25%GPT-4.1 → GPT-5: input: $2.00 → $1.25; output: $8.00 → $10.00; cached input: $0.50 → $0.125; context: 1M → 272K
+7 more differencesmax output: 32K → 128K; Batch API input: $1.00 → $0.625; Batch API output: $4.00 → $5.00; Flex: listed only for GPT-5; Fast mode (formerly Priority) input: $3.50 → $2.50; Fast mode (formerly Priority) output: $14.00 → $20.00; shutdown date: January 14, 2027 → December 11, 2026
OlderGPT-4o$2.50 +25%$10.00 +25%GPT-4o → GPT-4.1: input: $2.50 → $2.00; output: $10.00 → $8.00; cached input: $1.25 → $0.50; context: 128K → 1M
+5 more differencesmax output: 16K → 32K; Batch API input: $1.25 → $1.00; Batch API output: $5.00 → $4.00; Fast mode (formerly Priority) input: $4.25 → $3.50; Fast mode (formerly Priority) output: $17.00 → $14.00

Capabilities and details

Similar models by price

ModelProviderInput /1MOutput /1MContext windowvs this model (input / output)
o3OpenAI$2.00$8.00200K0% / 0%
Gemini 2.5 ProGoogle$1.25$10.001M-38% / +25%
Gemini 3.5 FlashGoogle$1.50$9.001M-25% / +13%
GPT-6.2 AstraOpenAI$8.00$40.00922K+300% / +400%
GPT-5 miniOpenAI$0.25$2.00272K-88% / -75%

Price history

DateInput /1MOutput /1MCached input /1M
$2.00$8.00$0.50

Tracking started on November 21, 2026. A new row appears only when a price changes.

Embed this price badge

GPT-4.1 API price

The badge shows the current list price and updates daily. Paste the HTML or Markdown into your site or README.

<a href="https://vibecodingturkey.com/models/gpt-4-1"><img src="https://vibecodingturkey.com/models/badge/gpt-4-1.svg" alt="GPT-4.1 API price" height="20"></a>
[![GPT-4.1 API price](https://vibecodingturkey.com/models/badge/gpt-4-1.svg)](https://vibecodingturkey.com/models/gpt-4-1)

Questions

How is GPT-4.1 different from GPT-4o?

GPT-4o → GPT-4.1: input: $2.50 → $2.00; output: $10.00 → $8.00; cached input: $1.25 → $0.50; context: 128K → 1M; max output: 16K → 32K; Batch API input: $1.25 → $1.00; Batch API output: $5.00 → $4.00. +2 more differences in the table above.

When will GPT-4.1 be shut down?

GPT-4.1 is deprecated and shuts down on January 14, 2027. The listed successor is GPT-6 Luna.

Is there a batch discount for GPT-4.1?

Yes. Through the Batch API it costs $1.00 per 1M input and $4.00 per 1M output tokens.

Does GPT-4.1 support prompt caching?

Yes. Cached input reads cost $0.50 per 1M tokens, 75% less than standard input.