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
StatusActive
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
#296
Coding Index
#155
Math Index
#173
MMLU-Pro
#156
GPQA
#305
HLE
#379
LiveCodeBench
#168
AIME
#74
IFBench
#278
Time to First Token
#388
SciCode
#147
MATH-500
#64
AIME 2025
#173
LCR
#248
TerminalBench Hard
#241
TAU2
#186
Output TPS
#82

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.010N/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 MediumAvailable
GPT-5.4 Mini MediumAvailable
GPT-5.4 Mini Non-ReasoningAvailable
GPT-5 Mini MinimalAvailable
GPT-4.1 Mini1.0M$0.400$1.60Current
GPT-4o mini131K$0.150$0.600Available
GPT Realtime 2.1 Mini128K$0.600$2.40Available
GPT Mini400K$0.750$4.50Available
GPT Realtime Mini128K$0.600$2.40Deprecated

Other Models

ModelTierReleasedContextInput / 1MOutput / 1M
GPT-6 Astra1.1M$10.00$50.00
GPT-5.6 Sol1.1M$2.00$10.00
GPT-5.6 Terra1.1M$2.00$12.00
GPT-5.6 Luna1.1M$0.200$1.20
GPT-5.51.1M$5.00$30.00
GPT-5.4 NanoNano400K$0.200$1.25
GPT-5.41.1M$2.50$15.00
GPT-5.3 Codex400K$1.75$14.00
GPT-5.2 Codex400K$1.75$14.00
GPT-5.2410K$1.75$14.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