Models

gpt-4.1-mini vs gpt-4.1-mini-free

Context lengths are 1,047,576 tokens on gpt-4.1-mini and 1,047,576 tokens on gpt-4.1-mini-free. Time to first token (TTFT) measured on AIHubMix is 0.7s on gpt-4.1-mini and 0.4s on gpt-4.1-mini-free. Measured output throughput is 58.0 tok/s on gpt-4.1-mini and 59.3 tok/s on gpt-4.1-mini-free. On the LMArena coding leaderboard gpt-4.1-mini scores 1433 and gpt-4.1-mini-free scores 1433.

OpenAIgpt-4.1-miniOpenAIgpt-4.1-mini-free
OpenAI logo
gpt-4.1-mini
OpenAI · text, image → text

Lightweight, high-performance model with million-token context and near-flagship-level encoding and image understanding capabilities, while reducing costs by 83%. It is suitable for rapid development and small to medium-sized applications. The automatic caching mechanism provides a 75% cost reduction on cache hits.

Input$0.40 /M
Output$1.60 /M
OpenAI logo
gpt-4.1-mini-free
OpenAI · text, image → text

This free model API comes from the OpenAI model deployed on Azure. To prevent abuse, the external content filter provided by Azure has been enforced, which will result in additional delays. If you want to experience the full version of the model API without filters, please use the paid version and request the model name ID without "-free".

Input$0.00 /M
Output$0.00 /M

Pricing & Specifications

Prices are per million tokens. Time to First Token and throughput are rolling averages measured on AIHubMix.

gpt-4.1-mini
gpt-4.1-mini-free
Input /M
$0.40
$0.00
Output /M
$1.60
$0.00
Cache read /M
$0.10
$0.00
Context length
1,047,576
1,047,576
Max output
32,768
32,768
Time to First Token
0.7 s
0.4 s
Throughput
58.0 tok/s
59.3 tok/s
Modalities
textimage
textimage
Supported Parameters
toolsfunction callingstructured outputslong context
toolsfunction callingstructured outputslong context
API Formats

Promotional prices show the discounted rate; see each model page for promotion windows.

Activity Past 30 Days

Daily traffic served through AIHubMix — how demand for each model is trending.

gpt-4.1-minigpt-4.1-mini-free

Tokens / day

-

Requests / day

-

Performance Past 3 Days

Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.

gpt-4.1-minigpt-4.1-mini-free

Throughput (tok/s)

-

TTFT (s)

-

Uptime (%)

-

LMArena Benchmarks

LMArena ratings by capability (Bradley-Terry, commonly called Elo). Higher is better.

Text
gpt-4.1-minigpt-4.1-mini-free
1320136014001440
Overall
13821383
Coding
14331433
Math
13541354
Hard prompts
14021402
Instruction following
13721372
Multi-turn
13921392
Creative writing
13491349
Longer query
13881389
Chinese
13821384
English
13981398
Vision
gpt-4.1-minigpt-4.1-mini-free
1180120012201240
Overall
12031203
OCR
12061206
Diagram
12091209
Homework
12201222

Source: LMArena (arena.ai) leaderboard, imported by AIHubMix. Models without published ratings are omitted per chart.

Cost calculator

Estimate your monthly bill for the same workload on each model.

gpt-4.1-mini-free
$0.00 /mo
gpt-4.1-mini
$48.00 /mo

Monthly = daily × 30. Discounted rates applied where a promotion is active.

FAQ

How do their coding arena scores compare?

gpt-4.1-mini: 1433; gpt-4.1-mini-free: 1433 (LMArena coding leaderboard).

Which responds faster?

gpt-4.1-mini-free: 0.4s time to first token measured on AIHubMix; see the live performance charts above for how each model behaves across the day.

How large is each context window?

gpt-4.1-mini accepts 1,047,576 and gpt-4.1-mini-free accepts 1,047,576 input tokens. Maximum output per request is 32,768 tokens on gpt-4.1-mini and 32,768 tokens on gpt-4.1-mini-free.

Which one generates tokens faster?

gpt-4.1-mini-free at 59.3 tok/s and gpt-4.1-mini at 58.0 tok/s, measured as output throughput on AIHubMix — a separate metric from time to first token.

What inputs and capabilities does each model support?

gpt-4.1-mini accepts text and image input and supports tool calling, function calling, structured outputs and long context; gpt-4.1-mini-free accepts text and image input and supports tool calling, function calling, structured outputs and long context.

Can I call gpt-4.1-mini and gpt-4.1-mini-free with the same API key?

Yes. AIHubMix serves every model on this page behind one OpenAI-compatible endpoint, so switching between them is a one-line change to the model field — no second account, key or SDK.

Popular comparisons

Related model match-ups readers also look at.