GPT-4.1 mini vs GPT-4o mini

GPT-4o mini is cheaper for every workload modelled here.

List prices checked

Specifications and rates

PropertyGPT-4.1 miniGPT-4o mini
Input per 1M$0.400$0.150
Output per 1M$1.60$0.600
Cached input per 1M$0.100$0.075
Blended (3:1)$0.700$0.262
Context window1M128K
Max output33K16K
Inputs acceptedtext, imagetext, image

Source: OpenAI pricing (May 2026) · OpenAI pricing (May 2026). Published list prices only — committed-use discounts, regional variation, and per-request charges are not included. Not yet independently re-checked against the vendor’s page.

Monthly cost by workload

Identical token volumes through both rate cards. Output-heavy profiles are where the ranking flips.

WorkloadGPT-4.1 miniGPT-4o miniCheaper
In-app chat assistantA support or help assistant handling a few thousand conversations a month, with short prompts and short answers.$16$6.00GPT-4o minisaves $10/mo (63%)
RAG over documentsRetrieval-augmented answering where each request stuffs several retrieved passages into the prompt, so input dominates.$144$54GPT-4o minisaves $90/mo (63%)
Coding agentAn agentic loop that reads files and writes patches, generating heavy output and re-sending large context on every turn.$320$120GPT-4o minisaves $200/mo (63%)

What each one is for

GPT-4.1 mini

by OpenAI

The million-token context window at a fifth of the price, which is an unusual combination and the main reason this model is still in production stacks.

GPT-4o mini

by OpenAI

The model that made per-token cost stop mattering for most simple tasks, and the benchmark every subsequent cheap model has been priced against.

Common questions

Is GPT-4.1 mini or GPT-4o mini cheaper in 2026?
GPT-4o mini, for every workload modelled here. On a blended 3:1 basis it costs $0.262 per million tokens against GPT-4.1 mini's $0.700.
Which has the larger context window?
GPT-4.1 mini, at 1M tokens against 128K. A larger window only helps if you can afford to fill it — the cost of one full-context request is in the table above.
Which is cheaper for output-heavy work like agents?
GPT-4o mini, at $0.600 per million output tokens against $1.60. Reasoning tokens bill as output, so for agentic loops this axis usually decides the invoice regardless of what the input rates look like.
What is not included in these figures?
Batch-processing discounts, fine-tuning, long-context surcharges above a provider's standard tier, and any enterprise agreement. These are published pay-as-you-go list prices, checked against each provider's own pricing page on the date shown.

Other model comparisons