OpenAI: GPT-4o API Pricing
by openai · 128K context window ·
Explore OpenAI GPT-4o API pricing details for machine learning engineers. Understand the cost implications of using this powerful large language model. Input tokens are priced at $2.50 per 1 million tokens, while output tokens cost $10.00 per 1 million tokens, for a total cost of $12.50 per million tokens. GPT-4o offers a substantial 128,000 token context window. For example, processing 10 million tokens monthly (8M input, 2M output) would cost approximately $40. Evaluate if OpenAI's GPT-4o API fits your project's budget and performance needs compared to other LLM APIs.
Monthly Cost Examples
Assuming 50% input / 50% output token split
| Usage | Monthly cost |
|---|---|
| 100K tokens/month | $0.62 |
| 1M tokens/month | $6.25 |
| 10M tokens/month | $62.50 |
| 100M tokens/month | $625.00 |
Compare with other models
OpenAI: GPT-4o vs OpenAI: GPT-4o-mini →OpenAI: GPT-4o vs OpenAI: o1 →Automate your model selection
StormRouter sends each request to the cheapest model that can handle it.
Only use OpenAI: GPT-4o when your quality requirements demand it.