GPT-4.1 Mini Guide: The Cheap Workhorse and Its Cost Maths
GPT-4.1 mini offers the full model's 1M window at a fifth of the price. Which jobs it suits, the batch and cache arithmetic, and its 14 January 2027 retirement.
Small models get judged against big ones, and that framing undersells them. GPT-4.1 mini was never meant to match GPT-4.1 on hard problems. It was meant to handle the large share of production traffic that is not hard — pulling fields out of documents, sorting tickets, choosing which tool to call — at a price where volume stops being frightening.
It shipped on 14 April 2025 with the rest of the GPT-4.1 family, and OpenAI has now scheduled its shutdown for 14 January 2027. This guide covers what it is good for, how to work out what it costs you, and what retirement means for systems that depend on it.
What mini was built to replace
At launch OpenAI positioned mini against GPT-4o rather than against its own big sibling. The claim, as reported at the time, was performance competitive with GPT-4o — equal or better on the MMMU and MathVista multimodal benchmarks — at roughly half the latency and 83% lower cost.
OpenAI's model page describes it as a smaller, faster version of GPT-4.1 that is strong at instruction following and tool calling, with low latency and no reasoning step. That last point is a feature for high-volume work: there is no hidden thinking phase inflating output tokens, so cost per request is easy to predict.
Same window, same cutoff, a fifth of the price
Mini is unusual among small models in that it gives up almost nothing on paper. From OpenAI's model pages, it shares with the full GPT-4.1:
- a 1,047,576-token context window and a 32,768-token output cap;
- a June 2024 knowledge cutoff;
- text and image input;
- function calling, structured outputs, predicted outputs and fine-tuning.
The price is $0.40 per million input tokens, $0.10 for cached input and $1.60 per million output, against $2.00, $0.50 and $8.00 for the full model. Every rate is exactly one fifth.
What you give up is judgement, and it does not show on a spec sheet. A big window on a small model is useful for search-like tasks over long input, but multi-step reasoning across a long document degrades faster on smaller models. If a task needs both length and reasoning, that is the case for the full GPT-4.1.
Jobs it suits, and jobs it does not
Mini is at its best where the output space is narrow and the answer can be checked:
- Extraction into a fixed schema, ideally with structured outputs so the result always parses.
- Classification into a known label set. LLM classification covers how to measure it properly.
- Tool selection in agents with a small, well-described tool set.
- Rewriting and summarising short text where tone matters more than insight.
It is the wrong choice for multi-file code changes, ambiguous instructions with many constraints, and anything where a plausible but wrong answer is expensive and hard to spot. The usual pattern is to route: mini as the default, the full model or a reasoning model as escalation when a check fails. Model routing describes how to set that up without overcomplicating it.
The cost maths, worked through
Take a realistic extraction job: 10,000 documents, each sent with 3,000 input tokens, returning 300 output tokens.
- Mini, standard rates. 30M input tokens at $0.40 is $12.00; 3M output tokens at $1.60 is $4.80. Total $16.80.
- Full GPT-4.1, same job. $60.00 input plus $24.00 output. Total $84.00.
- Mini with a cached prefix. If 2,000 of the 3,000 input tokens are a shared system prompt and schema that hit the cache, that is 20M cached tokens at $0.10 ($2.00), 10M uncached at $0.40 ($4.00) and $4.80 of output. Total $10.80.
- Mini on a batch endpoint. OpenRouter lists
gpt-4.1-mini:batchat $0.20 in and $0.80 out at the time of writing — the same model, run asynchronously at half price. The standard job becomes $8.40.
Notice that input dominates. On an extraction job the prompt is ten times the answer, so caching and batching move the bill more than the output rate does. Whether caching applies depends on keeping the shared prefix byte-identical and at the start of the prompt.
Retirement on 14 January 2027
OpenAI's deprecations page, updated on 14 October 2026, lists gpt-4.1-mini-2025-04-14 for shutdown on 14 January 2027 with gpt-6-luna as the replacement. The smaller GPT-4.1 nano retires earlier, on 23 October 2026, so do not move there as a stopgap.
For mini specifically, the migration risk is cost rather than quality. A workload that was cheap because mini was a fifth of the price will not stay cheap if the replacement is priced like a larger model or reasons by default. Before switching, rerun the arithmetic above with the new rates and your real token counts, and replay a few hundred logged requests to confirm the schema, labels and tool choices still come out right. If they do, move. If the replacement is overkill for the job, look for a current small model instead of absorbing a larger bill.
Common questions
What is the difference between GPT-4.1 and GPT-4.1 mini?
They share the 1M-token window, 32K output cap, June 2024 cutoff and feature set. Mini costs one fifth as much per token and is faster, but it is weaker on complex reasoning and multi-file code work, where the full model earns its price.
How much does GPT-4.1 mini cost?
OpenAI lists $0.40 per million input tokens, $0.10 for cached input and $1.60 per million output. Batch endpoints listed on OpenRouter are half that at the time of writing. Prices change, so check before budgeting.
When is GPT-4.1 mini being retired?
OpenAI's deprecations page lists 14 January 2027 as the shutdown date for gpt-4.1-mini-2025-04-14, with gpt-6-luna as the recommended replacement. GPT-4.1 nano retires earlier, on 23 October 2026.