GPT-4.1 Mini is OpenAI's language model with a 1.0M context window and up to 33K output tokens, available from 5 providers, starting at $0.4 / 1M input and $1.60 / 1M output. A compact tier of GPT-4.1 that excels at instruction following and tool calling with a 1M-token context window and reduced cost.
Specifications
Canonical IDopenai-gpt-4-1-mini
TypeLanguage
StatusDeprecating
CreatorOpenAIOpenAI
Providers
Context Window1.0M tokens
Max Output33K tokens
Input ModalitiesImagePDFText
Output ModalitiesText
Release Date · 1 year ago
Knowledge Cutoff · 2 years ago
Deprecation Date
Benchmarks
Intelligence Index
#313
Coding Index
#156
Math Index
#173
MMLU-Pro
#156
GPQA
#306
HLE
#396
LiveCodeBench
#168
AIME
#74
IFBench
#278
Time to First Token
#378
SciCode
#162
MATH-500
#64
AIME 2025
#173
LCR
#265
TerminalBench Hard
#241
TAU2
#186
Output TPS
#57

Capabilities

Input3/5
Text✓
Image✓
Audio·
Video·
PDF✓
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities6/13
Reasoning·
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling✓
Structured Outputs✓
Native JSON Schema✓
Web Search✓
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching✓
Assistant Prefill·

Pricing by Provider

US Dollar ($)
Per 1M tokens
ProviderStandardFastBatch
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Web Search
$ / request
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Web Search
$ / request
Azure AI Foundry logo
Azure AI Foundry
azure/eu/gpt-4.1-mini
————$0.77$3.08$0.193N/AN/AN/AN/A
Azure AI Foundry logo
Azure AI Foundry
azure/gpt-4.1-mini
————$0.7$2.80$0.175N/AN/AN/AN/A
Azure AI Foundry logo
Azure AI Foundry
openai:gpt41mini
$0.4$1.60$0.1N/AN/AN/AN/A$0.2$0.8N/AN/A
OpenAI logo
OpenAI
gpt-4.1-mini
$0.4$1.60$0.1N/A$0.7$2.80$0.175$0.2$0.8$0.05N/A
OpenRouter logo
OpenRouter
openai/gpt-4.1-mini
$0.4$1.60$0.1$0.010———N/AN/AN/AN/A
OpenRouter logo
OpenRouter
openai/gpt-4.1-mini:batch
———————$0.2$0.8$0.05$0.010
Replicate logo
Replicate
replicate/openai/gpt-4.1-mini
$0.4$1.60N/AN/A———————
Vercel AI Gateway logo
Vercel AI Gateway
openai/gpt-4.1-mini
$0.4$1.60$0.1N/A$0.7$2.80$0.175————

Cost Calculator

US Dollar ($)
Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
GPT-5.4 Mini400K$0.750$4.50Available
GPT-5 Mini1.0M$0.250$2.00Deprecating
GPT-5 Mini Medium————Available
GPT-5.4 Mini Medium————Available
GPT-5.4 Mini Non-Reasoning————Available
GPT-5 Mini Minimal————Available
GPT-4.1 Mini1.0M$0.400$1.60Current
GPT-4o mini131K$0.150$0.600Deprecating
GPT Realtime 2.1 Mini—128K$0.600$2.40Available
GPT Mini400K$0.750$4.50Available
GPT Realtime Mini128K$0.600$2.40Deprecated

Other Models

ModelTierReleasedContextInput / 1MOutput / 1M
GPT-6.1 SolSol1.1M$2.00$10.00
GPT-6 LunaLuna1.1M$0.100$0.500
GPT-6 SolSol1.1M$2.00$10.00
GPT-6 Astra—1.1M$10.00$50.00
GPT-5.6 Sol—1.1M$2.00$10.00
GPT-5.6 Terra—1.1M$2.00$12.00
GPT-5.6 Luna—1.1M$0.200$1.20
GPT-5.5—1.1M$5.00$30.00
GPT-5.4 NanoNano400K$0.200$1.25
GPT-5.4—1.1M$2.50$15.00

Model IDs

azure/eu/gpt-4.1-mini
azure/gpt-4.1-mini
azure/gpt-4.1-mini-2025-04-14
azure/us/gpt-4.1-mini
azure/us/gpt-4.1-mini-2025-04-14
ft:gpt-4.1-mini-2025-04-14
gpt-4-1-mini
gpt-4.1-mini
gpt-4.1-mini-2025-04-14
openai-gpt-4-1-mini
openai/gpt-4.1-mini
openai/gpt-4.1-mini:batch
openrouter/openai/gpt-4.1-mini
openrouter/openai/gpt-4.1-mini:batch
replicate/openai/gpt-4.1-mini
vercel_ai_gateway/openai/gpt-4.1-mini