Skip to content

GPT-4o pricing and token costs

GPT-4o is a OpenAI model with a 128,000-token context window. Rates below are per million tokens, and are the ones in effect today.

Pricing

Input, per 1M tokens
$2.50
Output, per 1M tokens
$10.00
Context window
128,000 tokens

Input and output combined.

Tokenizer
o200k_base

Counted exactly, in your browser.

Alternatives

Articles that quote these figures

Common questions

How much does GPT-4o cost per million tokens?
$2.50 per million input tokens and $10.00 per million output tokens.
What is the context window of GPT-4o?
128,000 tokens, covering input and output combined.
Which tokenizer does GPT-4o use?
GPT-4o uses the o200k_base encoding. Counts are computed in your browser with the same tokenizer OpenAI publishes, so they are exact.

Figures come from OpenAI’s published list prices and are checked against every article on this site that quotes them at build time. They are still estimates of what a request costs — verify against your own billing before committing to them.