Skip to content

GPT-4o-mini

OpenAI · 128K context · released Jul 18, 2024 · checked 7h ago

Ways to buy 3

Way to buyIn / out per 1M
OpenAI API
The lab's own API · cached $0.075
$0.15 / $0.6List price
Azure AI Foundry
Default region · cached $0.075
$0.15 / $0.6Same as list
Azure AI Foundry
swedencentral · cached $0.083
$0.165 / $0.66+10% vs list

USD per 1M tokens; batch $0.075 in, $0.3 out on the lab's API. Regions are separate routes.

Through a gateway

Your own numbers

100M input and 20M output tokens a month: $27.00 direct.

No published token fee: Martian Gateway, Portkey, TrueFoundry AI Gateway.

Related models

In / out per 1M
GPT-6 Luna
OpenAI · 1.05MCheapest: $0.1 on OpenAI (flex)
$0.1 / $0.5
GPT-6 Luna Pro
OpenAI · 1.05MCheapest: $0.1 on OpenAI (flex)
$0.1 / $0.5
GPT-6 Sol
OpenAI · 1.05MCheapest: $2 on OpenAI (flex)
$2 / $10
GPT-6 Sol Pro
OpenAI · 1.05MCheapest: $2 on OpenAI (flex)
$2 / $10
DeepSeek V4.1 Flash
DeepSeek · 1MCheapest: $0.131 on Morph
$0.15 / $0.6
Gemini 3.1 Flash Lite
Google · 1MCheapest: $0.281 on Google Vertex AI (global-flex)
$0.25 / $1.5
Gemini 3.1 Flash Lite Preview
Google · 1MCheapest: $0.281 on Google Gemini API (flex)
$0.25 / $1.5
Qwen3.8 Omni Flash
Qwen (Alibaba) · 1M
$0.15 / $0.47

About GPT-4o-mini

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.

Takes text, image, files in and returns text. First listed Sep 5, 2024. Up to 16K output tokens. Blended price $0.262 per 1M tokens at 3 input to 1 output. Model id gpt-4o-mini.

Price history

$0.320252026Sep 5, 2024Output $0.6Input $0.15

List price since Sep 5, 2024, from Internet Archive snapshots of the OpenRouter catalog, then daily reads.

SeenModelChange
Apr 10, 2025GPT-4o-miniCached input Free to $0.075

Questions

How much does GPT-4o-mini cost?

$0.15 per million input tokens and $0.6 per million output tokens, with cached input at $0.075, or $0.075 and $0.3 through the Batch API.

What is the context window of GPT-4o-mini?

128K tokens, with up to 16K tokens of output.

Where is GPT-4o-mini cheapest?

Of 3 routes tracked, Azure AI Foundry is cheapest at $0.15 input and $0.6 output per million tokens.

Sources: OpenRouter's public model catalog and each provider's own pricing page, read every morning at 05:00 UTC; gateway fees re-read every Monday. List prices: your contract may differ. Logos via logo.dev; trademarks belong to their owners.

Price changes by email

Thursdays, only in weeks when an LLM API list price changed.

Double opt-in. Unsubscribe any time.