OpenAIAPI model profileActive

GPT-4o MiniPricing & API costs

Fast, affordable small model for focused tasks

TextImage
Rates checked USD pricing
DIRECT API PRICING
Published rates
Input
$0.15
Output
$0.60
Cached input
$0.075
Per 1 million tokens · see tiers below

$3.00 for 10,000 short requests at 1K input + 250 output tokens each.

Official pricing

Context window

128,000 tokens

Maximum output

16,384 tokens

Release date

Not published

API model ID

gpt-4o-mini

Model overview

Understand the model before estimating your workload.

Use the model ID gpt-4o-mini through the provider's direct API. The prices and limits on this page apply to that specific listing, with source data checked on 2026-10-12.

GPT-4o Mini has a published context window of 128,000 tokens. The maximum output for this channel is 16,384 tokens. Budget context space for your prompt, conversation history, retrieved material, and the response. Context capacity and output limits are different; your input and response must fit within the request limits. A larger window does not make those tokens free.

Pricing

Rates are grouped by usage type and available tier.

Per 1M tokens

Input

$0.15

Cached input

$0.075

Output

$0.60

Batch pricing

Batch requests are charged at 50% of standard rates.

What does it cost in practice?

Three example workloads, calculated from this model’s token rates.

Estimated GPT-4o Mini cost for 10,000 requests at the listed rates
WorkloadTokens / requestPer request10,000 requests
Short conversationA compact prompt with a brief answer.1,000 in / 250 out$0.0003$3.00
Document analysisA longer document with a focused summary or extraction.8,000 in / 750 out$0.00165$16.50
Code generationRepository context followed by a longer generated response.4,000 in / 2,000 out$0.0018$18.00

Where the short-conversation budget goes

Input $1.50 · Output $1.50 · 10,000 requests

$3.00

Planning estimates using the listed token rates, with no caching, retries, batch discount, or tool fees. These examples assume text usage; images, audio, video, and higher rate tiers can change your bill. Each agent step is a separate request.

With 50% of input tokens served from cache, the short-conversation example costs $2.63 per 10,000 requests, compared with $3.00 without cache hits. Cache-write fees are excluded.

Use your own workload

How billing works

The details that turn a token rate into an actual bill.

Separate input from output

For GPT-4o Mini, multiply input and output token counts by their respective rates, then divide by one million. Conversation history and retrieved context contribute to input usage each time they are sent.

Cache hits have their own rate

The listed cached-input price is $0.075 per million tokens. Reusing a prompt does not automatically qualify: use the provider's reported cached-token count, and account for any cache-write or storage charges.

Check discounts and rate tiers

Eligible batch requests use 50% of the standard token rate in this listing. Batch work is asynchronous; check supported endpoints and turnaround times. Review the provider's pricing terms for workload-specific conditions.

Account for the complete workflow

Retries, follow-up calls, and agent tool loops increase request counts. Search, storage, and other tool charges can be billed separately from model inference. Use actual API usage logs to calibrate a budget before scaling traffic.

Capabilities and limits

What the API supports and where limits apply.

Provider
OpenAI
Model type
Text tokens
Family
gpt
Access
Direct API
Modalities
Text · Image
Context window
128,000 tokens
Max output
16,384 tokens
Released
Not published
Deprecation date
Not announced

Compare API channels

Check the model ID, rate, and limit for each access route.

The same model can have a different ID, price, or output limit depending on how you access it. These are the channels currently tracked in this catalog; they are not a complete list of every hosting provider.

Direct provider APICurrent pagegpt-4o-mini
Active

Max output: 16,384

Text: $0.15 input · $0.075 cached input · $0.60 output / 1M tokens

OpenRouteropenai/gpt-4o-mini
Active

Max output: 16,384

$0.15 input · $0.075 cached input · $0.60 output / 1M tokens

Sources

Official pages and the date this information was checked.

Next step

Estimate costs with this model.

Recommended for

Frequently asked questions

OpenAI pricing checked on 2026-10-12: Text: $0.15 input · $0.075 cached input · $0.60 output / 1M tokens. These rates apply to the listed API model ID.

Recent updates