LLMCost
openai

OpenAI: GPT-4o-mini (2024-07-18) API Pricing

OpenAI: GPT-4o-mini (2024-07-18) costs $0.150 per 1M input tokens and $0.600 per 1M output tokens (cache reads: $0.075). Context window: 128K. Prices verified 2026-10-21 · source

🔔 Price alerts coming soon

Alternatives to consider

🏠 Same provider
OpenAI: gpt-oss-20b
$0.018 in / $0.090 out
Quality score: 10

Cheapest openai model — 86% less per month

Price history
2026-08-23 → 2026-10-21 · 59 daily snapshots
inputoutput

Rebuilt daily from our snapshot archive — the chart appears once a model has 5+ snapshots of history.

Pricing behavior
Stable — no price moves across our 59 daily snapshots (2026-08-23 → 2026-10-21).

From our own daily snapshot archive — independent of provider announcements.

Input / 1M tokens
$0.150
Output / 1M tokens
$0.600
Context window
128K
Max output
16K

Token economics

Token typePricevs base input
Standard input$0.150—
Cache read$0.075−50%
Output$0.600—

Prompt caching stores repeated context server-side: reads cost far less, but writes carry a one-time premium.

Knowledge cutoff
2023-10-31

Training data ends here — newer events require retrieval or web search.

What would OpenAI: GPT-4o-mini (2024-07-18) cost you per month?

WorkloadRequests/moAvg tokens (in/out)Est. monthly cost
Light chatbot10,000800 / 400$3.60
Coding agent5,0008,000 / 2,000$12.00
RAG pipeline30,0004,000 / 500$27.00
Doc summarizer2,00020,000 / 1,000$7.20

Estimates use list prices without prompt caching. Caching can cut input cost by up to 90% on repeated context.

About OpenAI: GPT-4o-mini (2024-07-18)

GPT-4o mini is OpenAI's newest model after [GPT-4 Omni](/models/openai/gpt-4o), supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...

Compare OpenAI: GPT-4o-mini (2024-07-18) with

Popular head-to-heads — see all on the comparisons index.

Frequently asked questions

How much does OpenAI: GPT-4o-mini (2024-07-18) cost?

OpenAI: GPT-4o-mini (2024-07-18) costs $0.150 per 1M input tokens and $0.600 per 1M output tokens; cached input tokens cost $0.075 per 1M. Verified 2026-10-21 — provider source.

What is the context window?

128K tokens, with up to 16K output tokens per response. That's roughly 160 pages of text in a single request.

Does it support prompt caching?

Yes — cached input is $0.075/1M, about 50% cheaper than standard input. Agents and RAG workloads with repeated context benefit most.

What's a cheaper alternative?

ScaleDown: Summarize saves about 90% on a typical workload with comparable quality.

Official resources