gpt-4.1 API pricing
Blended at 3:1 input to output: $3.50 per million tokens.
OpenAI charges $2.00 per million input tokens and $8.00 per million output tokens. 7 of the models nearest it in price are cheaper on a blended basis.
Against the models nearest in price
Blended at a 3:1 input to output ratio.
| Source | ||||||
|---|---|---|---|---|---|---|
| gpt-4.1 This model | OpenAI | $2.00 | $8.00 | 1,047,576 | $3.50 | ↗ |
| o3 | OpenAI | $2.00 | $8.00 | 200,000 | $3.50 | ↗ |
| gemini-2.5-pro | Google AI | $1.25 | $10.00 | 1,048,576 | $3.44 | ↗ |
| gpt-5 | OpenAI | $1.25 | $10.00 | 272,000 | $3.44 | ↗ |
| gpt-5.1 | OpenAI | $1.25 | $10.00 | 272,000 | $3.44 | ↗ |
| gpt-5.1-chat-latest | OpenAI | $1.25 | $10.00 | 128,000 | $3.44 | ↗ |
| gpt-5-chat | OpenAI | $1.25 | $10.00 | 128,000 | $3.44 | ↗ |
| gpt-5-search-api | OpenAI | $1.25 | $10.00 | 272,000 | $3.44 | ↗ |
| gemini-2.5-pro-preview | OpenRouter | $1.25 | $10.00 | 1,048,576 | $3.44 | ↗ |
Last checked . Methodology
Questions
How much does gpt-4.1 cost per million tokens?
$2.00 per million input tokens and $8.00 per million output tokens, with cached input at $0.500. At a 3:1 input to output mix that blends to $3.50. Checked 12 Sept 2026.
What would gpt-4.1 cost for a real workload?
A thousand requests a day at 2,000 input and 600 output tokens each comes to $264.00 a month.
What is the context window for gpt-4.1?
1,047,576 tokens of input, with up to 32,768 tokens of output.
o3 · gemini-2.5-pro · gpt-5 · gpt-5.1 · gpt-5.1-chat-latest · All OpenAI models · Cost calculator