GPT-4o API Pricing & Cost Breakdown
General multimodal agents, structured JSON extraction, and reliable tool calling.
Input / 1M Tokens
$2.50
Cached Input / 1M
$1.250
Output / 1M Tokens
$10.00
Context Window
128K
Workload Cost Scenarios (30-Day Billing)
Supports 50% automatic prompt caching discount on repeated prefixes.
| Scenario | In / Out per Req | Uncached Monthly | 50% Cache Hit Monthly |
|---|---|---|---|
| Hobby / Prototype (100 req/day) | 1500 / 400 | $23.25 | $20.44 |
| Growing Startup (2,500 req/day) | 2500 / 700 | $993.75 | $876.56 |
| Production Scale (50,000 req/day) | 3000 / 800 | $23,250.00 | $20,437.50 |
Compare GPT-4o Against Alternatives
Lower-Cost Alternative Models
Frequently Asked Questions
What is GPT-4o API pricing per 1M tokens?
Standard input is $2.50/1M, cached input is $1.250/1M, and output is $10.00/1M.
What is the context window of GPT-4o?
GPT-4o supports a 128K token context window with up to 16,384 max output tokens.
How much does prompt caching save on GPT-4o?
Prompt caching reduces cached input token rates by 50% compared with uncached input.
What workloads is GPT-4o best suited for?
General multimodal agents, structured JSON extraction, and reliable tool calling.