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
16.3
#205
Math Index
46.3
#140
MMLU-Pro
0.8
#130
GPQA
0.7
#224
HLE
0.0
#339
LiveCodeBench
0.5
#142
AIME
0.4
#61
IFBench
0.4
#251
Time to First Token
0.60s
#280
SciCode
0.4
#86
MATH-500
0.9
#53
AIME 2025
0.5
#140
LCR
0.4
#172
TerminalBench Hard
0.1
#222
TAU2
0.5
#168
Output TPS
78.5
#160

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
ProviderStandardBatch
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Web Search
$ / request
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Azure AI Foundry logo
Azure AI Foundry
openai:gpt41mini
$0.4$1.60$0.1N/A$0.2$0.8N/A
OpenAI logo
OpenAI
gpt-4.1-mini
$0.4$1.60$0.1N/A$0.2$0.8$0.05
OpenRouter logo
OpenRouter
openai/gpt-4.1-mini
$0.4$1.60$0.1$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

Cost Calculator

US Dollar ($)
Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
GPT-5.4 Mini1.1M$0.750$4.50Available
GPT-5 Mini1.0M$0.250$2.00Available
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 mini Transcribe16K$1.25$5.00Available
GPT-4o mini TTS$0.600$10.00Available
GPT-4o mini Search Preview128K$0.150$0.600Available
GPT-4o mini Audio128K$0.150$0.600Available

Other Models

ModelTierReleasedContextInput / 1MOutput / 1M
GPT-5.51.1M$5.00$30.00
GPT-5.4 NanoNano1.1M$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
GPT-5.1410K$1.25$10.00
GPT-5.1 Codex400K$1.25$10.00
GPT-5.1 Codex Mini400K$0.250$2.00
GPT-5 Codex400K$0.125$10.00

Model IDs

azure/gpt-4.1-mini
azure/gpt-4.1-mini-2025-04-14
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
openrouter/openai/gpt-4.1-mini
replicate/openai/gpt-4.1-mini
vercel_ai_gateway/openai/gpt-4.1-mini