gpt-4.1 API pricing

Checked 12 Sept 2026 LLMs
$ per 1M input $2.00
$ per 1M output $8.00

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.

$2.00
$/1M input
$8.00
$/1M output
$0.500
$/1M cached in
1,047,576
Context window
$264.00
1k req/day, monthly

Against the models nearest in price

Blended at a 3:1 input to output ratio.

Calculator →
gpt-4.1 against comparable models — checked 12 Sept 2026
Source
gpt-4.1 This model OpenAI $2.00 $8.00 1,047,576 $3.50

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