openai / text-generation API-only released 2025-04-14

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...

Input / 1M
$0.40
Output / 1M
$1.60
Context
1.0M
AA Intelligence
10.2
Closed weights — available only as a hosted API image + text + file → text Knowledge cutoff Jun 2024 View on OpenRouter ↗

Pricing

via OpenRouter · USD per 1M tokens · synced 2026-10-24
$0.40
input / 1M
$1.60
output / 1M
$0.10
cached input / 1M
$2.00
1M in + 1M out
:batch variant $0.20 in · $0.80 out
Context window
1,047,576 tokens
Max output
32,768 tokens
Providers
2
Cheapest provider
Azure · $0.40 / $1.60
Best throughput
—
AA Intelligence / Coding / Agentic
10.2 / 20.2 / —
✓ Tool calling ✗ Reasoning ✓ Structured outputs ✓ Image input ✓ File input ✗ Audio input ✓ Prompt caching

Price history

tracking started — chart appears after 7 days of snapshots (6 recorded)
Current: $0.40 input · $1.60 output per 1M tokens

Benchmarks

Third-party indices as published through OpenRouter — Artificial Analysis and Design Arena. Not measured by us.

AA Intelligence Index
10.2
AA Coding Index
20.2
AA Agentic Index
—
Design Arena
CategoryEloWin %Rank
3d 837 30.5% #126
codecategories 994 47.5% #126
dataviz 1034 49.2% #111
gamedev 1071 58.5% #108
uicomponent 959 45.4% #120
website 997 47.8% #131

Providers

2 providers · per 1M tokens · last 30 min metrics
ProviderQuantContextInputOutputUptimeTok/s
Azure unknown 1.0M $0.40 $1.60 100% —
OpenAI unknown 1.0M $0.40 $1.60 100% —
Azure unknown 1.0M $0.44 $1.76 100% —
Provider data from OpenRouter's endpoint listing, refreshed daily.

Specifications

Organisation
openai
Released on OpenRouter
2025-04-14
Context window
1,047,576 tokens
Max output
32,768 tokens
Input
image, text, file
Output
text
Knowledge cutoff
June 2024
Tokenizer
GPT
Moderated by provider
Yes
OpenRouter id
openai/gpt-4.1-mini
Compare with
Prices, context and providers from the public OpenRouter API, snapshotted daily; benchmark indices from Artificial Analysis. See /methodology.