DevTk.AI

GPT-4.1

OpenAI deprecated

GPT-4.1 by OpenAI: $2.00/M cache-miss input, $8.00/M output tokens. Cached input: $0.5/M. 1.0M context, 33K max output. Vision & Function Calling. Price verified 2026-11-18.

Input Price

$2.00

cache miss / 1M tokens

Cached Input

$0.5

per 1M tokens

Output Price

$8.00

per 1M tokens

Context Window

1.0M

tokens

GPT-4.1 price history

No price changes recorded for GPT-4.1 in our AI API price change log (earliest entry: 2026-05-27). Current rates last verified against the official OpenAI pricing page on 2026-11-18. See all AI API price changes

Cheaper ways to use GPT-4.1

Current free credits and discounts that apply to OpenAI models.

  • 🧠OpenAI APIFree Trial— Usage-based API billing; new accounts use prepaid credits, free credits are not guaranteed
See all AI deals and free credits →

Specifications

ProviderOpenAI
Model IDgpt-4.1
Input Price$2.00 / 1M cache-miss tokens
Cached Input Price$0.5 / 1M tokens
Output Price$8.00 / 1M tokens
Context Window1.0M tokens
Max Output33K tokens
Capabilities
textvisionfunction_callingstructured_output
Release Date2025-04-14
Pricing SourceOfficial OpenAI pricing
Price Verified2026-11-18
NotesNon-reasoning GPT-4.1 model with a 1M-token context. Deprecated on 2026-10-14; OpenAI shuts it down on 2027-01-14 and names GPT-6 Luna as the replacement. Batch is 50% off.

Monthly Cost Estimates

Estimated monthly costs based on different daily usage levels (assuming 50% input / 50% output split). Input estimates use cache-miss pricing, so cache-heavy workloads can be lower.

Daily TokensMonthly CostAnnual Cost
10K $1.50 $18.00
50K $7.50 $90.00
100K $15.00 $180.00
500K $75.00 $900.00
1.0M $150.00 $1800.00

How GPT-4.1 Pricing Compares

Standard cache-miss input / output prices per 1M tokens, compared with active, price-verified models priced in USD. Cached, batch and long-context rates are not included.

  • Within OpenAI: 4 of 15 other active OpenAI models have a lower input price, and 4 have a lower output price.
  • Similar context window: among the 65 active models with a 524K–2.1M token context window, GPT-4.1 ranks #35 from cheapest at a 50/50 input/output mix. Cheapest: Qwen3.7 Flash ($0.03/$0.13). Most expensive: GPT-5.5 Pro ($30.00/$180.00).

Use our Token Counter to estimate how many tokens your prompts use, and our Pricing Calculator to compare costs across all models.

GPT-4.1 Key Details

  • Pricing: $2.00/M cache-miss input tokens, $0.5/M cached input tokens, $8.00/M output tokens
  • Context window: 1.0M tokens — 28 of 90 active models we track have a larger window
  • Max output: 33K tokens per response
  • Capabilities: text, vision, function_calling, structured_output
  • Highlights: Non-reasoning GPT-4.1 model with a 1M-token context. Deprecated on 2026-10-14; OpenAI shuts it down on 2027-01-14 and names GPT-6 Luna as the replacement. Batch is 50% off.
  • Released: 2025-04-14

Other OpenAI Models

Similar Price Range

Related Tools

FAQ

How much does GPT-4.1 cost?

GPT-4.1 costs $2.00 per million cache-miss input tokens and $8.00 per million output tokens. Cached input costs $0.5 per million tokens. For a typical workload of 100K input tokens/day and 50K output tokens/day, expect approximately $18.00/month before cache-hit savings.

What is GPT-4.1's context window?

GPT-4.1 supports a context window of 1.0M tokens. This means your combined input prompt and output response can be up to 1.0M tokens. The maximum output per response is 33K tokens.

Is GPT-4.1 good for my use case?

GPT-4.1 supports text, vision, function_calling, structured_output. We track pricing and limits, not output quality, so test it on your own prompts before committing. The price comparison above lists cheaper and pricier models with a similar context window, and the Pricing Calculator estimates your monthly cost across all of them.