Scheduled for retirement on Apr 14, 2027. Still available at the prices below until then.
Context
128K
Max output
16K
Serving providers
3
Cheapest input
$0.15 /1M
On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.

Benchmarks

independent evaluations · source: ARC Prize
Individual benchmarks · click a row for effort variants
BenchmarkBest scoreEffortCost / task
ARC-AGI-20%default$0.01

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand
Serving providerInput /1MOutput /1MEndpoints
Azure$0.15$0.601
OpenAICheapest$0.15$0.601
Standardgpt-4o-mini-2024-07-18
ComponentUnitStandardBatch
Text cached in/1M tok$0.075—
Text input/1M tok$0.15$0.075
Text output/1M tok$0.60$0.30
OpenRouter$0.15$0.601

Price history

listed seller prices, input and output per 1M tokens
Input Output
$0.00$0.20$0.40$0.60Jul 18Oct 29Mar 13Sep 17$0.60$0.15

Cost calculator

estimate your monthly spend on this model
$78
estimated / month

Model IDs

copy the exact identifier for your platform
gpt-4o-mini-2024-07-18openai/gpt-4o-mini-2024-07-18azure/gpt-4o-mini-2024-07-18

Frequently asked questions

GPT-4o-mini (2024-07-18) pricing, context and availability

Is GPT-4o-mini (2024-07-18) still available?

Yes. GPT-4o-mini (2024-07-18) is scheduled for retirement on 2027-04-14.

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

GPT-4o-mini (2024-07-18) costs $0.15 per 1M input tokens from OpenAI, and $0.60 per 1M output tokens from OpenAI.

What is the context window of GPT-4o-mini (2024-07-18)?

GPT-4o-mini (2024-07-18) accepts up to 128K tokens of context and can return up to 16K output tokens.

Which providers serve GPT-4o-mini (2024-07-18)?

GPT-4o-mini (2024-07-18) is available from 3 serving providers, each with its own pricing and model ID. OpenAI is currently the cheapest.

What can GPT-4o-mini (2024-07-18) do?

GPT-4o-mini (2024-07-18) supports image input (vision), tool use, prompt caching and structured output.

Other OpenAI models

compare pricing across the OpenAI lineup
Listed prices from LiteLLM, OpenRouter and Vercel · last checked Oct 14, 2026

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI