Models

gpt-4.1-nano vs gpt-4.1-nano-free

Context lengths are 1,047,576 tokens on gpt-4.1-nano and 1,047,576 tokens on gpt-4.1-nano-free. Time to first token (TTFT) measured on AIHubMix is 0.8s on gpt-4.1-nano and 0.3s on gpt-4.1-nano-free. Measured output throughput is 72.7 tok/s on gpt-4.1-nano and 109.6 tok/s on gpt-4.1-nano-free. On the LMArena coding leaderboard gpt-4.1-nano scores 1374 and gpt-4.1-nano-free scores 1374.

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

Ultra-lightweight model with million-token context, optimized for speed and low latency, costing only $0.10 per million input tokens. It is suitable for edge computing and real-time interaction. The automatic caching mechanism offers a 75% cost reduction on cache hits.

Input$0.10 /M
Output$0.40 /M
OpenAI logo
gpt-4.1-nano-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-nano
gpt-4.1-nano-free
Input /M
$0.10
$0.00
Output /M
$0.40
$0.00
Cache read /M
$0.03
$0.00
Context length
1,047,576
1,047,576
Max output
32,768
32,768
Time to First Token
0.8 s
0.3 s
Throughput
72.7 tok/s
109.6 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-nanogpt-4.1-nano-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-nanogpt-4.1-nano-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-nanogpt-4.1-nano-free
12401280132013601400
Overall
13221322
Coding
13741374
Math
12741274
Hard prompts
13331333
Instruction following
13011301
Multi-turn
13141314
Creative writing
13071307
Longer query
13251325
Chinese
13211321
English
13401340
Vision
gpt-4.1-nanogpt-4.1-nano-free
1060108011001120
Overall
10891089

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

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

FAQ

How do their coding arena scores compare?

gpt-4.1-nano-free: 1374; gpt-4.1-nano: 1374 (LMArena coding leaderboard).

Which responds faster?

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

Which one generates tokens faster?

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

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