All prices › OpenAI › GPT-4.1 Mini
GPT-4.1 Mini API pricing
As of October 16, 2026, GPT-4.1 Mini costs $0.40 per million input tokens and $1.60 per million output tokens on the OpenAI API. Cached input is $0.10 per million. OpenAI plans to retire it on January 14, 2027.
Retires Jan 14 2027
It is the 8th cheapest of 36 OpenAI models tracked here, by blended price. The closest Budget-tier model from another provider is Mistral Large 3 (Mistral) at $0.50 / $1.50; GPT-4.1 Mini is 7% cheaper. First listed in the LiteLLM price data on April 14, 2025.
Input / 1M tokens$0.40
Output / 1M tokens$1.60
Context window1.05M
Max output33K
Every published rate
| Rate | Per 1M tokens |
|---|---|
| Input (standard) | $0.40 |
| Output (standard) | $1.60 |
| Cached input (read) | $0.10 |
| Batch input | $0.20 |
| Batch output | $0.80 |
What it costs in practice
| Task | Tokens | Per request | Per 1,000 requests |
|---|---|---|---|
| Chatbot reply | 1,000 in / 500 out | $0.0012 | $1.20 |
| Summarize a long document | 20,000 in / 1,000 out | $0.0096 | $9.60 |
| Coding agent step | 50,000 in / 2,000 out | $0.02 | $23.20 |
Standard rates, no caching or batch discount. Compare your own numbers across all models →
Price history
| Date | Model | Change |
|---|---|---|
| 2025-04-14 | GPT-4.1 Mini | New model listed: $0.4 in / $1.6 out source |
Dates are when each change first appeared in the LiteLLM price data, usually within days of the provider's announcement.
Details
| Provider | OpenAI |
| Price tier | Budget |
| Features | Vision, Prompt caching, Tool use, PDF input, Web search |
| API model names | gpt-4.1-mini, gpt-4.1-mini-2025-04-14 |
| Retirement date | January 14, 2027 |
| Official pricing | developers.openai.com |
Models at a similar price
| Model | Input / 1M | Output / 1M |
|---|---|---|
| Gemini 3.1 Flash Lite | $0.25 | $1.50 |
| GPT-5 Mini | $0.25 | $2.00 |
| GPT-3.5 Turbo | $0.50 | $1.50 |
| Mistral Large 3 | $0.50 | $1.50 |
| Gemini 2.5 Flash | $0.30 | $2.50 |
| Gemini 3.5 Flash Lite | $0.30 | $2.50 |
Other OpenAI models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| GPT-4 | $30.00 | $60.00 |
| GPT-5.6 Cyber | $12.50 | $75.00 |
| GPT-5.5 Cyber | $12.50 | $75.00 |
| o1 | $15.00 | $60.00 |
| GPT-6 Astra | $10.00 | $50.00 |
| GPT-4 Preview | $10.00 | $30.00 |
| GPT-4 Turbo | $10.00 | $30.00 |
| GPT-5.5 | $5.00 | $30.00 |
| GPT-Rosalind Research | $5.00 | $25.00 |
| GPT-Rosalind Discovery | $5.00 | $25.00 |
| GPT-5.6 | $4.00 | $20.00 |
| GPT-5.6 Sol | $4.00 | $20.00 |
| GPT-5.4 | $2.50 | $15.00 |
| GPT-5.2 | $1.75 | $14.00 |
| GPT-5.6 Terra | $2.00 | $12.00 |
| GPT-4o | $2.50 | $10.00 |
| GPT-6 Sol | $2.00 | $10.00 |
| GPT-6.1 Sol | $2.00 | $10.00 |
| GPT-4.1 | $2.00 | $8.00 |
| o3 | $2.00 | $8.00 |
| GPT-5 | $1.25 | $10.00 |
| GPT-5.1 | $1.25 | $10.00 |
| GPT-5 Search API | $1.25 | $10.00 |
| GPT-3.5 Turbo 16K | $3.00 | $4.00 |
| o3 Mini | $1.10 | $4.40 |
| o4 Mini | $1.10 | $4.40 |
| GPT-5.4 Mini | $0.75 | $4.50 |
| GPT-3.5 Turbo | $0.50 | $1.50 |
| GPT-5 Mini | $0.25 | $2.00 |
| GPT-5.4 Nano | $0.20 | $1.25 |
| GPT-5.6 Luna | $0.20 | $1.20 |
| GPT-4o Mini | $0.15 | $0.60 |
| GPT-6 Luna | $0.10 | $0.50 |
| GPT-4.1 Nano | $0.10 | $0.40 |
| GPT-5 Nano | $0.05 | $0.40 |