gpt-4o-2024-05-13 pricing
gpt-4o-2024-05-13 from OpenAI costs $5.00 per 1M input tokens and $15.00 per 1M output tokens. Context window 128,000 tokens.
API id gpt-4o-2024-05-13 · OpenAI · source · updated 2026-08-11
$5.00
Input / 1M tokens
$15.00
Output / 1M tokens
—
Cached input / 1M
128K
Context window
What gpt-4o-2024-05-13 costs in practice
| Workload | Input tokens | Output tokens | Estimated cost |
|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.01 |
| Document summary | 50,000 | 2,000 | $0.28 |
| 1M tokens in, 200K out | 1,000,000 | 200,000 | $8.00 |
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-2024-05-13 cost per 1M tokens?
- gpt-4o-2024-05-13 costs $5.00 per 1M input tokens and $15.00 per 1M output tokens on the standard tier.
- What is gpt-4o-2024-05-13's context window?
- gpt-4o-2024-05-13 accepts up to 128,000 tokens in a single request, and can return up to 4,096 output tokens.
- Is there a cheaper OpenAI model than gpt-4o-2024-05-13?
- Yes. gpt-4o-mini-2024-07-18 is $0.300 per 1M input tokens versus $5.00 for gpt-4o-2024-05-13, with a 128,000 token context window.
- Where does this gpt-4o-2024-05-13 price come from?
- Directly from OpenAI's published pricing page, re-read every day and normalized to USD per 1,000,000 tokens.