OpenAI

GPT 4.1 Mini API Pricing 2026

Compare pricing, benchmarks, and providers for GPT 4.1 Mini. Find the best value for your use case.

8 Ways to Use Fewer Tokens
Last updated: November 21, 2026 at 08:43 AM

Overview

GPT 4.1 Mini was released on April 14, 2025. Pricing starts at $0.400 per million input tokens and $1.60 per million output tokens. The model supports a context window of up to 1.0M tokens. API access is available through OpenAI.

Context Window
1.0M
tokens
Pricing
Input$0.400
Output$1.60
Cached$0.100
per 1M tokens
Speed
Output-
TTFT-
median latency
Capabilities
VisionToolsCaching

GPT 4.1 Mini is priced at $0.400 per million input tokens and $1.60 per million output tokens. It has a context window of 1,047,576 tokens. It is available from 4 providers, with OpenAI the cheapest at $0.400 per million input tokens. On benchmarks, GPT 4.1 Mini scores Aider 32.4 (12th percentile).

Pricing Comparison

Compare GPT 4.1 Mini with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$0.400
$1.600
—
—
—
1,047,576
Try
$0.370
$1.250
—
—
—
1,048,576
Try
$0.375
$2.250
—
—
—
400,000
Try
$0.390
$0.900
—
—
—
262,144
Try
$0.400
$2.000
—
—
—
262,144
Try
$0.400
$2.000
—
—
—
-
Try
$0.400
$2.000
—
—
—
1,048,576
Try
$0.400
$1.760
—
—
86.7
1,000,000
Try
$0.400
$0.900
—
—
—
262,144
Try
$0.400
$0.900
—
—
—
-
Try
$0.400
$2.000
—
—
—
131,072
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

GPT 4.1 Mini is available from multiple providers with different pricing and availability.

4
Providers
$0.400
Cheapest Input/M
$1.600
Cheapest Output/M
OpenAI
Best Price

Provider Pricing

4 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Input $/M
Output $/M
Cache Read $/M
Cache Write $/M
Uptime
OpenAI
OpenAI
Best Price
$0.400
$1.600
$0.100
-
100.0%
V
Vercel
Best Price
$0.400
$1.600
-
-
-
Azure
Azure
Best Price
$0.400
$1.600
$0.100
-
100.0%
OpenRouter
OpenRouter
Best Price
$0.400
$1.600
$0.100
-
-
Provider pricing data sourced from OpenRouter and Helicone

Community Rankings

How does GPT 4.1 Mini perform? Vote based on your experience.

Cost vs. Quality

Compare GPT 4.1 Mini's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Other models

Try GPT 4.1 Mini

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test GPT 4.1 Mini directly in your browser.

Open Playground

Frequently Asked Questions

GPT 4.1 Mini costs $0.000400 per 1,000 input tokens and $0.001600 per 1,000 output tokens.
GPT 4.1 Mini is available from 4 providers. OpenAI offers the best price.
OpenAI offers GPT 4.1 Mini at $0.400 per million input tokens.
GPT 4.1 Mini scores Aider 32.4 (12th percentile). Only benchmarks with published data for this model are shown.
We compare GPT 4.1 Mini with 10 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All OpenAI Models

See pricing for all OpenAI models.

View all OpenAI models →