OpenAI

GPT 4o

Type
language model
Context
128K tokens
Max output
8K
Released
13 May 2024
API string
openai/gpt-4o

Prices by provider

Provider Input, $ per 1M Output, $ per 1M In our data since
NanoGPT $2.499 $9.996 31 Jul 2026
frogbot $2.5 $10 31 Jul 2026
gmi $2.5 $10 31 Jul 2026
vercel_ai_gateway $2.5 $10 31 Jul 2026
302.AI $2.5 $10 31 Jul 2026
Abacus.AI $2.5 $10 31 Jul 2026
Azure Cognitive Services $2.5 $10 31 Jul 2026
Cloudflare AI Gateway $2.5 $10 31 Jul 2026
DigitalOcean Gradient AI $2.5 $10 1 Aug 2026
Helicone $2.5 $10 31 Jul 2026
Kilo Code $2.5 $10 31 Jul 2026
LLM Gateway $2.5 $10 31 Jul 2026
Merge Gateway $2.5 $10 31 Jul 2026
Microsoft Foundry $2.5 $10 31 Jul 2026
OpenAI $2.5 $10 31 Jul 2026
OpenRouter $2.5 $10 31 Jul 2026
OrcaRouter $2.5 $10 31 Jul 2026
Pioneer $2.5 $10 31 Jul 2026
Replicate $2.5 $10 31 Jul 2026
Vercel $2.5 $10 31 Jul 2026

Only the base tier and only per-token prices are shown. Batch, discounted and cached rates, as well as prices per image or per second of video, do not go into this table: they cannot stand in the same column as a price per million tokens.

The date in the last column is the day this price first entered our collection. The price may well be older: before that day we simply were not recording it. It has not changed since — otherwise a new row with a new date would stand in its place.