gpt-4o pricing

gpt-4o from OpenAI costs $2.50 per 1M input tokens and $10.00 per 1M output tokens. Cached input is $1.25 per 1M. Context window 128,000 tokens.

API id gpt-4o · OpenAI · source · updated 2026-08-12

$2.50
Input / 1M tokens
$10.00
Output / 1M tokens
$1.25
Cached input / 1M
128K
Context window

What gpt-4o costs in practice

Estimated cost at common usage volumes
WorkloadInput tokensOutput tokensEstimated cost
Short chat turn1,000500$0.0075
Document summary50,0002,000$0.14
1M tokens in, 200K out1,000,000200,000$4.50

Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.

Common questions

How much does gpt-4o cost per 1M tokens?
gpt-4o costs $2.50 per 1M input tokens and $10.00 per 1M output tokens on the standard tier. Cached input is $1.25 per 1M.
What is gpt-4o's context window?
gpt-4o accepts up to 128,000 tokens in a single request, and can return up to 16,384 output tokens.
Is there a cheaper OpenAI model than gpt-4o?
Yes. gpt-4o-mini-2024-07-18 is $0.300 per 1M input tokens versus $2.50 for gpt-4o, with a 128,000 token context window.
Where does this gpt-4o price come from?
Directly from OpenAI's published pricing page, re-read every day and normalized to USD per 1,000,000 tokens.

Other OpenAI models

See all OpenAI pricing →