What Does GPT-4o Mini Cost?

GPT-4o Mini pricing: $0.15/$0.60 per 1M tokens (input/output). Context window: 128K. Best for high-volume, budget tasks, fine-tuning base.

Pricing Overview

MetricValue
Input price (per 1M tokens)$0.15
Output price (per 1M tokens)$0.60
Context window128K tokens
Speed (typical)130 tok/s
ProviderOpenAI

Cost for Common Tasks

TaskInput TokensOutput TokensCost
1-page summary~800~400<$0.001
10K token conversation~8,000~2,000$0.0024
Batch of 1,000 API calls~500K~500K$0.3750

GPT-4o Mini vs Alternatives

ModelInput (per 1M)Output (per 1M)ContextSpeedQuality
GPT-4o Mini$0.15$0.60128K130 tok/s75/100
Gemini 2.0 Flash$0.07$0.301M200 tok/s73/100
Claude Haiku 4$0.80$4.00200K150 tok/s78/100
DeepSeek V3$0.27$1.10128K60 tok/s82/100

When to Use GPT-4o Mini

API Code Example with Cost Calculation

from openai import OpenAI

client = OpenAI()

response = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Summarize this document..."}],
    max_tokens=1024
)

# Cost calculation
usage = response.usage
cost = (usage.prompt_tokens / 1_000_000) * 0.15 + (usage.completion_tokens / 1_000_000) * 0.6
print(f"Tokens: {usage.prompt_tokens} in / {usage.completion_tokens} out")
print(f"Cost: {cost:.6f}")
# Typical 1-page summary: ~<$0.001

Monthly Cost Estimates

Usage LevelDaily Tokens (in/out)Monthly Cost
Light (personal project)50K / 25K$0.67
Medium (small SaaS)500K / 250K$6.75
Heavy (production app)5M / 2.5M$67.50

FAQ

How much does GPT-4o Mini cost per API call?

A typical GPT-4o Mini API call with 1K input and 500 output tokens costs approximately <$0.001. Pricing is $0.15 per 1M input tokens and $0.60 per 1M output tokens.

Is GPT-4o Mini worth the price?

GPT-4o Mini scores approximately 75/100 on aggregate benchmarks. It is best suited for high-volume, budget tasks, fine-tuning base. At $0.15/$0.60 per 1M tokens, it offers competitive value for its quality tier.

What are cheaper alternatives to GPT-4o Mini?

Top alternatives: Gemini 2.0 Flash at $0.07/$0.30, Claude Haiku 4 at $0.80/$4.00, DeepSeek V3 at $0.27/$1.10. Use KickLLM's calculator to compare costs for your specific workload.

Prices last verified: April 2026. Pricing may change — always check provider websites for current rates.

Calculate your LLM API costs with KickLLM — free, no sign-up required.