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.400 / 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
Deprecation Date
Benchmarks
Intelligence Index
22.9
#198
Coding Index
18.5
#189
Math Index
46.3
#140
MMLU-Pro
0.8
#130
GPQA
0.7
#215
HLE
0.0
#328
LiveCodeBench
0.5
#142
AIME
0.4
#61
IFBench
0.4
#240
Time to First Token
0.50s
#241
SciCode
0.4
#80
MATH-500
0.9
#53
AIME 2025
0.5
#140
LCR
0.4
#163
TerminalBench Hard
0.1
#213
TAU2
0.5
#158
Output TPS
66.2
#156

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

ProviderStandardBatch
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Web Search
$ / query
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
OpenAI logo
OpenAI
gpt-4.1-mini
$0.400$1.60$0.100N/A$0.200$0.800$0.050
OpenRouter logo
OpenRouter
openai/gpt-4.1-mini
$0.400$1.60$0.100$0.010
Replicate logo
Replicate
replicate/openai/gpt-4.1-mini
$0.400$1.60N/AN/A
Vercel AI Gateway logo
Vercel AI Gateway
openai/gpt-4.1-mini
$0.400$1.60$0.100N/A
Azure AI Foundry logo
Azure AI Foundry
azure/us/gpt-4.1-mini-2025-04-14
$0.440$1.76$0.110N/A$0.220$0.880N/A

Cost Calculator

Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
GPT-5.4 Mini1.1M$0.750$4.50Available
GPT-5 Mini400K$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$1.25$10.00

Model IDs