GPT-4o API Pricing
Mid-tier · 128K context · $2.5 per 1M input tokens, $10 per 1M output tokens.
GPT-4o pricing
| Provider | Input /1M | Output /1M | In+Out |
|---|---|---|---|
| OpenAI | $2.5 | $10 | $12.5 |
Prices per 1M tokens, USD. Snapshot 2026-07 — verify with the provider before relying on them.
GPT-4o cost calculator
Frequently asked
How much does GPT-4o cost per 1M tokens?
GPT-4o costs $2.5 per 1M input tokens and $10 per 1M output tokens from OpenAI.
What is GPT-4o's context window?
GPT-4o supports a context window of about 128K tokens. Remember every token in the context is billed on each call.
Is GPT-4o available on other providers?
GPT-4o is offered by OpenAI. For open-weight alternatives you can host on multiple providers, see the full model comparison.