OpenAI: GPT-4.1 Mini
openai/gpt-4.1-mini
GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard instruction evals, 35.8% on MultiChallenge, and 84.1% on IFEval. Mini also shows strong coding ability (e.g., 31.6% on Aider’s polyglot diff benchmark) and vision understanding, making it suitable for interactive applications with tight performance constraints.
by OpenAI
Input type: Output type: Publish time: 2025-04-14
Recent activity on GPT-4.1 Mini
Tokens processed per day
Throughput
(tokens/s)
| Providers | Min (tokens/s) | Max (tokens/s) | Avg (tokens/s) |
|---|---|---|---|
| OpenAI | 51.26 | 83.34 | 60.91 |
| Azure | 7.61 | 65.4 | 35.59 |
First Token Latency
(ms)
| Providers | Min (ms) | Max (ms) | Avg (ms) |
|---|---|---|---|
| OpenAI | 951 | 1198 | 1058.41 |
| Azure | 573 | 7379 | 1608.83 |
Uptime stats for GPT-4.1 Mini
Uptime stats for GPT-4.1 Mini across all providers
Uptime
Azure
OpenAI
( Percent )
Providers for GPT-4.1 Mini
ZenMux Provider to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.
Latency
1.09
s
Throughput
58.51
tps
Uptime
100.00
%
Recent uptime
Apr 30, 2026 6:00 PM-
Price
Input
$ 0.4/ M tokens
Output
$ 1.6/ M tokens
Cache read
$ 0.1/ M tokens
Cache write 5m
Cache write 1h
Cache write
Web search
Image
Image input
Image output
Image cache
reasoning
Video
Audio
Audio cache read
Audio input
Audio & Video
Image search
Web search image
Model limitation
Context
1.05M
Max output
32.77K
Supported Parameters
max_completion_tokens
temperature
top_p
frequency_penalty
presence_penalty
seed
logit_bias
logprobs
top_logprobs
response_format
stop
tools
tool_choice
parallel_tool_calls
Model Protocol Compatibility
OpenAI Chat Completions
OpenAI Responses
OpenAI Embeddings
Anthropic Messages
Google Gemini
Google Imagen
Google Video
Status Page
status page
Latency
1.00
s
Throughput
7.94 tps
Uptime
100.00
%
Recent uptime
Apr 30, 2026 6:00 PM-
Price
Input
$ 0.4/ M tokens
Output
$ 1.6/ M tokens
Cache read
$ 0.1/ M tokens
Cache write 5m
Cache write 1h
Cache write
Web search
Image
Image input
Image output
Image cache
reasoning
Video
Audio
Audio cache read
Audio input
Audio & Video
Image search
Web search image
Model limitation
Context
1.05M
Max output
32.77K
Supported Parameters
max_completion_tokens
temperature
top_p
frequency_penalty
presence_penalty
seed
logit_bias
logprobs
top_logprobs
response_format
stop
tools
tool_choice
parallel_tool_calls
Model Protocol Compatibility
OpenAI Chat Completions
OpenAI Responses
OpenAI Embeddings
Anthropic Messages
Google Gemini
Google Imagen
Google Video
Status Page
status page
Sample code and API for GPT-4.1 Mini
ZenMux normalizes requests and responses across providers for you.
OpenAI: Python-SDK
OpenAI: cURL
from openai import OpenAI
client = OpenAI(
base_url="https://zenmux.ai/api/v1",
api_key="<ZENMUX_API_KEY>",
)
# Chat Completion
completion = client.chat.completions.create(
model="openai/gpt-4.1-mini",
messages=[
{
"role": "user",
"content": "What is the meaning of life?"
}
]
)
print(completion.choices[0].message.content)