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