GPT-4o mini API pricing

OpenAI charges $0.15 per million input tokens and $0.6 per million output tokens for GPT-4o mini (gpt-4o-mini), and $0.075 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.00045, or $0.000225 through the batch API.

Prices updated November 14, 2026
Input / 1M tokens
$0.15
Output / 1M tokens
$0.6
Cached input / 1M tokens
$0.075
Typical request
$0.00045
Calculate the cost of your prompt →

GPT-4o mini price per million tokens

Token typeStandardBatch API
Input$0.15$0.075
Cached input$0.075–
Output$0.6$0.3

API model id: gpt-4o-mini. GPT-4o mini supports a 128K-token context window, up to 16.4K output tokens, image input and tool calling.

What GPT-4o mini costs per request

Request1 request1,000 requests1M requests
Short chat message (300 in, 200 out)$0.000165$0.17$165.00
Typical request (1K in, 500 out)$0.00045$0.45$450.00
Long document summary (20K in, 1K out)$0.0036$3.60$3,600.00
Coding agent step (50K in, 2K out)$0.0087$8.70$8,700.00

At standard rates. A token is about 4 characters of English text, so 1,000 tokens is roughly 750 words.

How GPT-4o mini compares

GPT-4o mini price history

GPT-4o mini has cost $0.15 per million input tokens and $0.6 per million output tokens since apicost.app started tracking prices on October 22, 2026.

Every LLM API price increase, cut, new and retired model, dated: LLM API price changes.

Models with a similar price

ModelProviderInput / 1MCached input / 1MOutput / 1MTypical request
Gemini 2.5 Flash LiteGoogle Gemini$0.1$0.01$0.4$0.0003
Ministral 3 14B 2512Mistral$0.2$0.02$0.2$0.0003
Ministral 14B 2512Mistral$0.2$0.02$0.2$0.0003
GPT-6 LunaOpenAI$0.1$0.01$0.5$0.00035
Claude Haiku 5.5Anthropic$0.1$0.01$0.5$0.00035
Mistral TinyMistral$0.25$0.025$0.25$0.000375
Open Mistral NemoMistral$0.3$0.03$0.3$0.00045
DeepSeek V3.2DeepSeek$0.28$0.028$0.4$0.00048

Other OpenAI models

Every OpenAI model side by side, with batch, caching and long-context prices: OpenAI API pricing. Ways to pay less: batch API, prompt caching, the cheapest models.

Questions and answers

How much does the GPT-4o mini API cost?

OpenAI charges $0.15 per million input tokens and $0.6 per million output tokens for GPT-4o mini (gpt-4o-mini), and $0.075 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.00045, or $0.000225 through the batch API.

Has the GPT-4o mini API price changed?

No. GPT-4o mini has cost $0.15 per million input tokens and $0.6 per million output tokens since apicost.app started tracking prices on October 22, 2026.

Is there a cheaper way to use GPT-4o mini?

Yes. The OpenAI batch API runs requests within 24 hours for $0.075 per million input tokens and $0.3 per million output tokens. Prompt caching lowers the price of repeated input to $0.075 per million tokens.

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

GPT-4o mini accepts up to 128,000 input tokens, roughly 96,000 words of English, and writes up to 16,384 output tokens per response. Filling the whole context window once costs $0.0192 in input tokens.

Is GPT-4o mini cheaper than Claude Haiku 5.5?

No. Claude Haiku 5.5 from Anthropic costs $0.1 input and $0.5 output per million tokens, so a typical request is $0.00035: 1.3× cheaper than GPT-4o mini.

Source: OpenAI pricing, via the LiteLLM price list.