OpenAI

GPT-4.1 API pricing

Made by OpenAI

5 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is Azure at $1,710.00 a month; the dearest costs $2,160.00, 1.3× as much.

Input from
$2.00
Output from
$8.00
Context up to
1.05M tokens
Batch rates
2 routes

Every route, cheapest first

Prices per 1M tokens. Month is the sample workload: 300,000 requests, 2,000 tokens in and 400 out per request, half the input cached. Cache writes are not counted.

ProviderInputOutputCache readCache writeBatch in / outContextMonth
AzureOpenRouter$2.00$8.00$0.50—$1.00 / $4.001.05M$1,710.00
OpenAIOpenRouter$2.00$8.00$0.50—$1.00 / $4.001.05M$1,710.00
Vercel AI GatewayLiteLLM$2.00$8.00$0.50$0.00—1.05M$1,710.00
SnowflakeLiteLLM$2.00$8.00$0.50——300K$1,710.00
ReplicateLiteLLM$2.00$8.00————$2,160.00

Other GPT-4.1 models