GPT-4o API Cost Calculator
Estimate your monthly API costs for GPT-4o from Openai.
Pricing per 1M tokens
Pricing last verified: Mar 21, 2026
30-Day Price History
Solid line: input price · Dashed line: output price
Estimate Your Costs
What are you building?
Cost Breakdown
Compare with Similar Models
| Model | Input/1M | Output/1M |
|---|---|---|
| GPT-4o (2024-08-06) Openai | $2.50 | $10.00 |
| GPT-4o (2024-11-20) Openai | $2.50 | $10.00 |
| GPT-4o Audio Openai | $2.50 | $10.00 |
| GPT-4o Search Preview Openai | $2.50 | $10.00 |
| GPT Audio Openai | $2.50 | $10.00 |
Frequently Asked Questions
How much does GPT-4o cost per token?
GPT-4o is priced at $2.50 per 1M input tokens and $10.00 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.
What is the context window for GPT-4o?
GPT-4o has a context window of 128K tokens (128,000 tokens). The maximum output length is 16.4K tokens.
Does GPT-4o support image inputs (vision)?
Yes, GPT-4o supports vision/image inputs. You can send images as part of your prompts.
Does GPT-4o support function calling (tool use)?
Yes, GPT-4o supports function calling (also called tool use). You can define custom functions that the model can invoke as part of its responses.
How does GPT-4o compare to similar models?
GPT-4o costs $2.50 input and $10.00 output per 1M tokens. GPT-4o is competitively priced compared to GPT Audio ($2.50 input / $10.00 output per 1M tokens). See the "Compare with Similar Models" table above, or visit the GPT Audio page at /tools/cost-calculator/openai/gpt-audio.