GPT-4.1 API Pricing & Cost Breakdown
Long-context coding workflows, repository diff review, and strict instruction adherence.
Input / 1M Tokens
$2.00
Cached Input / 1M
$0.500
Output / 1M Tokens
$8.00
Context Window
1M
Workload Cost Scenarios (30-Day Billing)
75% prompt caching discount ($0.50/1M cached input) with 1M context window.
| Scenario | In / Out per Req | Uncached Monthly | 50% Cache Hit Monthly |
|---|---|---|---|
| Hobby / Prototype (100 req/day) | 1500 / 400 | $18.60 | $15.23 |
| Growing Startup (2,500 req/day) | 2500 / 700 | $795.00 | $654.38 |
| Production Scale (50,000 req/day) | 3000 / 800 | $18,600.00 | $15,225.00 |
Compare GPT-4.1 Against Alternatives
Lower-Cost Alternative Models
Frequently Asked Questions
What is GPT-4.1 API pricing per 1M tokens?
Standard input is $2.00/1M, cached input is $0.500/1M, and output is $8.00/1M.
What is the context window of GPT-4.1?
GPT-4.1 supports a 1M token context window with up to 32,768 max output tokens.
How much does prompt caching save on GPT-4.1?
Prompt caching reduces cached input token rates by 75% compared with uncached input.
What workloads is GPT-4.1 best suited for?
Long-context coding workflows, repository diff review, and strict instruction adherence.