OpenAIGPT-4VisionTool use

GPT-4.1 Mini pricing

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. Live index: 5 priced offers. Best input $0.400 per million tokens from Openrouter. Best output $1.60 per million tokens from Openrouter.

1.0M context·5 providers·verified May 2, 2026
Best input$0.400per 1M tokens · Openrouter
Best output$1.60per 1M tokens · Openrouter

Pricing across providers

Use this table to read GPT-4.1 Mini list prices. We show 5 sources right now. Lowest input in the grid: Openrouter. The chart below the table helps when output prices are much higher than input prices.

O
Openrouter
Input / 1M
$0.400
Output / 1M
$1.60
Cached in: $0.100
VA
Vercel Ai Gateway
Input / 1M
$0.400
Output / 1M
$1.60
Cached in: $0.100
A
Azure
Input / 1M
$0.400
Output / 1M
$1.60
Cached in: $0.100
R
Replicate
Input / 1M
$0.400
Output / 1M
$1.60
O
OpenAInative
Input / 1M
$0.400
Output / 1M
$1.60
Cached in: $0.100

Input vs output · per provider

Cost calculator

Pick any of the providers above and type how many tokens you expect per day, week, or year. We turn that into rough dollar totals for GPT-4.1 Mini.

Provider

In: $0.400/M·Out: $1.60/M·Cache: $0.100/M

0.040000¢ / req

0.080000¢ / req

Daily
$12
Monthly
$360
Annual
$4.4K

Model specifications

Context length, caps, and capability flags for GPT-4.1 Mini. Family: GPT-4. Values follow the main provider (OpenAI) record in our index.

Context window
1,047,576 tokens
Max output
32,768 tokens
Vision (images)
Yes
Tool / function calling
Yes
Streaming
No
Released
Apr 2025
Primary provider
OpenAI
Model family
GPT-4

Compare GPT-4.1 Mini

Open a pair page to see GPT-4.1 Mini next to another model with a shared provider matrix. 6 shortcuts below.

Frequently asked questions

Answers pull from the same numbers you see on this page. The short model note from our index: 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 M...

GPT-4.1 Mini costs $0.40 per million input tokens and $1.60 per million output tokens via the native API. Prompt caching reduces input costs to $0.10/M tokens.

Also from OpenAI

Other models by OpenAI with live pricing in our catalog.