GPT-4o API pricing
OpenAI's 2024 flagship — legacy, but still among the most-integrated models.
Input
$2.50
per 1M tokens
Cached input
$1.25
per 1M tokens
Output
$10.00
per 1M tokens
Context window
125K
max output 16K
Prices last synced Aug 20, 2026 from the LiteLLM community price catalog — the same catalog Marginal prices real usage events against, refreshed daily. Hand-checked against the provider's official pricing page on Aug 20, 2026. Spot an error? Tell us.
Pricing notes
- Cached input on the gpt-4o generation is 50% off ($1.25/1M), not the ~90% newer families get.
- The dated snapshot gpt-4o-2024-05-13 costs double ($5.00/$15.00) — responses echo the dated snapshot, so check which one you're actually billed for.
What would GPT-4o cost you?
Enter your workload — add other models to compare the same traffic across providers.
Your monthly workload
Cache hit rate = share of input tokens served from the provider's prompt cache, billed at the model's cached-input price. Estimates use standard per-token rates — batch discounts, service tiers, and long-context surcharges are not applied.
| Model | Input | Cached input | Output | Per request | Monthly |
|---|---|---|---|---|---|
| GPT-4o | $1,500 | $500 | $2,500 | $0.00900 | $4,500 |
Compare GPT-4o
More from OpenAI
Tracking GPT-4o in production?
Marginal prices every call your app actually makes — cached tokens, dated snapshots, model switches included — and slices spend by customer or feature. One track() call to integrate.