OpenAI

GPT-4o (2024-11-20) API pricing

Made by OpenAI

7 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is OpenAI at $2,325.00 a month; the dearest costs $4,800.00, 2.1× as much.

Input from
$2.50
Output from
$10.00
Context up to
131K tokens
Batch rates
4 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$2.50$10.00$1.25—$1.25 / $5.00128K$2,325.00
AzureOpenRouter$2.50$10.00$1.25—$1.25 / $5.00128K$2,325.00
Vercel AI GatewayLiteLLM$2.50$10.00$1.25$0.00—128K$2,325.00
AzureOpenRouter$2.50$10.00——$1.25 / $5.00128K$2,700.00
GMI CloudLiteLLM$2.50$10.00———131K$2,700.00
ReplicateLiteLLM$2.50$10.00————$2,700.00
AzureOpenRouter$5.00$15.00——$2.50 / $7.50128K$4,800.00

Other GPT-4o models