OpenAI

GPT-4o-mini API pricing

Made by OpenAI

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

Input from
$0.15
Output from
$0.60
Context up to
131K 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.15$0.60$0.075—$0.075 / $0.30128K$139.50
OpenAIOpenRouter$0.15$0.60$0.075—$0.075 / $0.30128K$139.50
Vercel AI GatewayLiteLLM$0.15$0.60$0.075$0.00—128K$139.50
GMI CloudLiteLLM$0.15$0.60———131K$162.00
ReplicateLiteLLM$0.15$0.60————$162.00

Other GPT-4o-mini models