Models

gpt-4.1 vs gpt-4.1-free

Context lengths are 1,047,576 tokens on gpt-4.1 and 1,047,576 tokens on gpt-4.1-free. Time to first token (TTFT) measured on AIHubMix is 1.1s on gpt-4.1 and 0.5s on gpt-4.1-free. Measured output throughput is 73.4 tok/s on gpt-4.1 and 72.3 tok/s on gpt-4.1-free. On the LMArena coding leaderboard gpt-4.1 scores 1457 and gpt-4.1-free scores 1456.

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

The latest flagship multimodal model supports million-token context, with encoding capability (SWE-bench 54.6%) and instruction-following (Scale AI 38.3%) performance significantly surpassing GPT-4o, while reducing costs by 26%, making it suitable for complex tasks. Its automatic caching mechanism offers a 75% cost reduction on cache hits.

Input$2.00 /M
Output$8.00 /M
OpenAI logo
gpt-4.1-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
gpt-4.1-free
Input /M
$2.00
$0.00
Output /M
$8.00
$0.00
Cache read /M
$0.50
$0.00
Context length
1,047,576
1,047,576
Max output
32,768
32,768
Time to First Token
1.1 s
0.5 s
Throughput
73.4 tok/s
72.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.1gpt-4.1-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.1gpt-4.1-free

Throughput (tok/s)

-

TTFT (s)

-

Uptime (%)

-

LMArena Benchmarks

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

Text
gpt-4.1gpt-4.1-free
1340138014201460
Overall
14141414
Coding
14561457
Math
13741374
Hard prompts
14311431
Instruction following
14021403
Multi-turn
14291430
Creative writing
14021402
Longer query
14241425
Chinese
14151416
English
14221422
Vision
gpt-4.1gpt-4.1-free
118012201260
Overall
12141214
OCR
12261226
Diagram
12321234
Homework
12481249

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-free
$0.00 /mo
gpt-4.1
$240 /mo

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

FAQ

How do their coding arena scores compare?

gpt-4.1: 1457; gpt-4.1-free: 1456 (LMArena coding leaderboard).

Which responds faster?

gpt-4.1-free: 0.5s 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 accepts 1,047,576 and gpt-4.1-free accepts 1,047,576 input tokens. Maximum output per request is 32,768 tokens on gpt-4.1 and 32,768 tokens on gpt-4.1-free.

Which one generates tokens faster?

gpt-4.1 at 73.4 tok/s and gpt-4.1-free at 72.3 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 accepts text and image input and supports tool calling, function calling, structured outputs and long context; gpt-4.1-free accepts text and image input and supports tool calling, function calling, structured outputs and long context.

Can I call gpt-4.1 and gpt-4.1-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.