OpenAI

GPT-4.1 Mini API pricing

Made by OpenAI

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

Input from
$0.40
Output from
$1.60
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$0.40$1.60$0.10—$0.20 / $0.801.05M$342.00
OpenAIOpenRouter$0.40$1.60$0.10—$0.20 / $0.801.05M$342.00
Vercel AI GatewayLiteLLM$0.40$1.60$0.10$0.00—1.05M$342.00
ZerogpuLiteLLM$0.40$1.60$0.10——1.05M$342.00
ReplicateLiteLLM$0.40$1.60————$432.00

Other GPT-4.1 models