Skip to content

GPT-4o-mini

API pricing per million tokens

gpt-4o-miniChecked 7h ago
Cost calculator Compare
Input
$0.15
per 1M, list
Output
$0.6
per 1M tokens
Cached input
$0.075
batch $0.075 / $0.3
Context
128K
16K max output

Where to buy it (3)

  • Azure AI Foundrydefault region$0.15 / $0.6cached $0.075
  • OpenAI (list)the lab's own API$0.15 / $0.6cached $0.075
  • Azure AI Foundryswedencentral+10%$0.165 / $0.66cached $0.083

Through a gateway

Your own numbers

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

Related models

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. Blended price $0.262 per 1M tokens at 3 input to 1 output.

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.

List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.

Weekly: LLM API list prices that changed, Thursday mornings.