$T TokenCostDB
Verified: 2026-11-30 Direct Official Pricing Provider: OpenAI

OpenAI: GPT-4.1 API Pricing & Monthly Cost Calculator

OpenAI: GPT-4.1 by OpenAI is priced at $2.00 per 1M input tokens and $8.00 per 1M output tokens with a 1.05M context window. Prompt caching reduces repeated prefix reads to $0.5/1M (75% savings). Batch API lowers rates to $1.00 in / $4.00 out.

Deprecation Notice: Scheduled deprecation date 2027-01-14 · Recommended successor: gpt-6-luna.
Standard Input / 1M
$2.00
Standard Output / 1M
$8.00
Cache Read / Write
$0.5 / —
Context / Max Output
1.05M / 32.8K

Direct Official vs. OpenRouter Gateway

Comparing direct vendor pricing against multi-provider OpenRouter routing for openai/gpt-4.1.

Channel Input / 1M Output / 1M Cache Read
Direct Official $2.00 $8.00 $0.5
OpenRouter Gateway $2.00 $8.00 $0.5
Gateway vs direct output spread: 0% Primary Pricing Source →

1M to 1B Token Cost Tiers

Reference monthly spend assuming a standard 75% input / 25% output workload mix.

Monthly Volume Standard 75% Cached Batch API
1M tokens $3.50 $2.66 $1.75
10M tokens $35.00 $26.56 $17.50
100M tokens $350.00 $265.63 $175.00
1B tokens $3,500 $2,656 $1,750

Interactive OpenAI: GPT-4.1 Bill Estimator

Adjust request volume, tokens, and prompt cache hit ratio.

Estimated Monthly Total
$676.80
Cache Hit %60%
Input: $192.00Cache Read: $72.00Output: $384.00Per 1K reqs: $11.28

Closest Price-Tier Alternatives

Model Input / 1M Output / 1M Context
OpenAI: o3 $2.00 $8.00 200K
Qwen: Qwen3.7 Max $2.50 $7.50 1M
Google: Gemini 3.5 Flash $1.50 $9.00 1.05M
Google: Gemini Omni 1.2 Flash $1.50 $9.00 131.1K
Google: Gemini Omni 1.1 Flash $1.50 $9.00 131.1K
MoonshotAI: Kimi K3.1 Pro $0.253 $8.80 1.05M

Optimize Inference & Self-Hosting

Compare OpenAI: GPT-4.1 against flagship models from OpenAI, Anthropic, Google, and DeepSeek in our interactive comparison matrix, or benchmark self-hosted GPU break-even thresholds.

Tracked History for OpenAI: GPT-4.1

Model Specifications & FAQs

GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...

How much does OpenAI: GPT-4.1 API cost per 1M tokens?

OpenAI: GPT-4.1 costs $2.00 per 1M input tokens and $8.00 per 1M output tokens (official direct provider rate), verified on 2026-11-30.

Does OpenAI: GPT-4.1 support prompt caching or batch discounts?

Yes, cached input reads cost $0.5 per 1M tokens (75% off standard input). Batch API reduces rates to $1.00 input and $4.00 output per 1M tokens.

What is the context window and max output for OpenAI: GPT-4.1?

OpenAI: GPT-4.1 supports a 1,047,576-token context window and up to 32,768 output tokens per completion.