OpenAI

GPT-5 Mini API pricing

Made by OpenAI

9 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is OpenAI at $161.25 a month; the dearest costs $390.00, 2.4× as much.

Input from
$0.125
Output from
$1.00
Context up to
1M 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
OpenAIOpenRouter$0.125$1.00$0.0125——400K$161.25
DatabricksLiteLLM$0.25$2.00$0.025$0.25—272K$322.48
OpenAIOpenRouter$0.25$2.00$0.025—$0.125 / $1.00400K$322.50
PerplexityLiteLLM$0.25$2.00$0.025———$322.50
Perplexity OrchestratorLiteLLM$0.25$2.00$0.025——272K$322.50
AzureOpenRouter$0.25$2.00$0.03—$0.125 / $1.00400K$324.00
SnowflakeLiteLLM$0.25$2.00$0.03——1M$324.00
Oracle CloudLiteLLM$0.25$2.00———272K$390.00
ReplicateLiteLLM$0.25$2.00————$390.00

Other GPT-5 models