OpenAI

GPT-5.1 API pricing

Made by OpenAI

9 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is OpenAI at $806.25 a month; the dearest costs $3,225.00, 4.0× as much.

Input from
$0.625
Output from
$5.00
Context up to
410K 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.625$5.00$0.0625——400K$806.25
OpenAIOpenRouter$1.25$10.00$0.125—$0.625 / $5.00400K$1,612.50
PerplexityLiteLLM$1.25$10.00$0.125———$1,612.50
Perplexity OrchestratorLiteLLM$1.25$10.00$0.125——272K$1,612.50
DatabricksLiteLLM$1.25$10.00$0.125$1.25—272K$1,612.50
AzureOpenRouter$1.25$10.00$0.13—$0.625 / $5.00400K$1,614.00
GMI CloudLiteLLM$1.25$10.00———410K$1,950.00
ReplicateLiteLLM$1.25$10.00————$1,950.00
OpenAIOpenRouter$2.50$20.00$0.25——400K$3,225.00

Other GPT-5.1 models