OpenAI model
GPT-4o (2024-05-13) API cost calculator
GPT-4o (2024-05-13) costs $5 per 1M input tokens and $15 per 1M output tokens on the OpenAI API, with a 128K-token context window. A typical request (2K input, 500 output tokens) costs $0.02 — about $525/month at 1,000 requests per day. Use the calculator below to model your exact workload.
Find me a cheaper modelWhat real workloads cost on GPT-4o (2024-05-13)
| Workload | Tokens (in / out) | Per request | Per 1K requests |
|---|---|---|---|
| Chatbot message | 500 / 300 | $0.0070 | $7.00 |
| RAG query with context | 4,000 / 500 | $0.03 | $27.50 |
| Document summarization | 20,000 / 1,000 | $0.12 | $115 |
| Agent coding session | 100,000 / 5,000 | $0.57 | $575 |
GPT-4o (2024-05-13) vs other OpenAI models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| GPT-4o (2024-05-13) | $5 | $15 | 128K |
| GPT-5.6 Luna Pro | $0.20 | $1.20 | 1.1M |
| GPT-5.6 Luna | $0.20 | $1.20 | 1.1M |
| GPT-5.6 Terra Pro | $2 | $12 | 1.1M |
| GPT-5.6 Terra | $2 | $12 | 1.1M |
Frequently asked questions
How much does GPT-4o (2024-05-13) cost per 1M tokens?
According to current pricing data, GPT-4o (2024-05-13) costs $5 per 1M input tokens and $15 per 1M output tokens. Processing 1M tokens each way costs $20.00.
What does a typical API request to GPT-4o (2024-05-13) cost?
A typical request with 2,000 input tokens and 500 output tokens costs $0.02. At 1,000 requests per day that is $17.50 daily, or about $525 per month.
What is GPT-4o (2024-05-13)'s context window?
GPT-4o (2024-05-13) supports a 128K-token context window (128,000 tokens).
Does GPT-4o (2024-05-13) support prompt caching?
No cache-read pricing is published for GPT-4o (2024-05-13), so every input token is billed at the full $5 per 1M rate.
What is a cheaper alternative to GPT-4o (2024-05-13)?
Ling-2.6-flash from Inclusionai is currently the cheapest comparable option at $0.01 per 1M input tokens versus $5 for GPT-4o (2024-05-13) — roughly 500x cheaper on input.
Prices may differ from OpenAI's official pricing page for batch, tiered, or fine-tuned usage. Compare all current prices on the live model pricing dashboard, see GPT-4o (2024-05-13) vs Ling-2.6-flash pricing, or run GPT-4o (2024-05-13) head-to-head against other models in the side-by-side comparison playground.
Pricing data via the OpenRouter models API.