OpenAI model
GPT-4o-mini (2024-07-18) API cost calculator
GPT-4o-mini (2024-07-18) costs $0.15 per 1M input tokens and $0.60 per 1M output tokens on the OpenAI API, with a 128K-token context window. A typical request (2K input, 500 output tokens) costs $0.0006 — about $18.00/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-mini (2024-07-18)
| Workload | Tokens (in / out) | Per request | Per 1K requests |
|---|---|---|---|
| Chatbot message | 500 / 300 | $0.0003 | $0.26 |
| RAG query with context | 4,000 / 500 | $0.0009 | $0.90 |
| Document summarization | 20,000 / 1,000 | $0.0036 | $3.60 |
| Agent coding session | 100,000 / 5,000 | $0.02 | $18.00 |
GPT-4o-mini (2024-07-18) vs other OpenAI models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| GPT-4o-mini (2024-07-18) | $0.15 | $0.60 | 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-mini (2024-07-18) cost per 1M tokens?
According to current pricing data, GPT-4o-mini (2024-07-18) costs $0.15 per 1M input tokens and $0.60 per 1M output tokens. Processing 1M tokens each way costs $0.75.
What does a typical API request to GPT-4o-mini (2024-07-18) cost?
A typical request with 2,000 input tokens and 500 output tokens costs $0.0006. At 1,000 requests per day that is $0.60 daily, or about $18.00 per month.
What is GPT-4o-mini (2024-07-18)'s context window?
GPT-4o-mini (2024-07-18) supports a 128K-token context window (128,000 tokens).
Does GPT-4o-mini (2024-07-18) support prompt caching?
Yes. Cached input tokens cost $0.07 per 1M — a 50% discount versus the standard input rate, which matters for agents and chat apps that resend the same system prompt.
What is a cheaper alternative to GPT-4o-mini (2024-07-18)?
Ling-2.6-flash from Inclusionai is currently the cheapest comparable option at $0.01 per 1M input tokens versus $0.15 for GPT-4o-mini (2024-07-18) — roughly 15x 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-mini (2024-07-18) vs Ling-2.6-flash pricing, or run GPT-4o-mini (2024-07-18) head-to-head against other models in the side-by-side comparison playground.
Pricing data via the OpenRouter models API.