LLM prices per 1M tokens

264 models · 161 price changes

GPT-4.1 Mini

OpenAI · 1.05M context · released Apr 14, 2025 · checked 12h ago

GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost.

Ways to buy 3

Way to buyIn / out per 1M
OpenAI API
The lab's own API · cached $0.1
$0.4 / $1.6List price
Azure AI Foundry
Default region · cached $0.1
$0.4 / $1.6Same as list
Azure AI Foundry
swedencentral · cached $0.11
$0.44 / $1.76+10% vs list

USD per 1M tokens; batch $0.2 in, $0.8 out on the lab's API. Regions are separate routes.

Through a gateway

Your own numbers

100M input and 20M output tokens a month: $72.00 direct.

A dash: not on that gateway's own model list. No published token fee: Martian Gateway, Portkey, TrueFoundry AI Gateway.

Related models

In / out per 1M
GPT-6.1 Terra
OpenAI · 1.05MCheapest: $1 on OpenAI (flex)
$1 / $5GPT-6.1 Terra is the mid-tier model in OpenAI's GPT-6.1 series, priced below GPT-6.1 Sol.
GPT-6.1 Terra Pro
OpenAI · 1.05MCheapest: $1 on OpenAI (flex)
$1 / $5GPT-6.1 Terra Pro is the same underlying model as GPT-6.1 Terra, served with reasoning.mode set to pro for higher-quality responses on complex tasks.
GPT-6.1 Sol
OpenAI · 1.05MCheapest: $2 on OpenAI (flex)
$2 / $10GPT-6.1 Sol is an upgrade to GPT-6 Sol from OpenAI, positioned below the flagship GPT-6 Astra in the GPT-6 series.
GPT-6.1 Sol Pro
OpenAI · 1.05MCheapest: $2 on OpenAI (flex)
$2 / $10GPT-6.1 Sol Pro is the same underlying model as GPT-6.1 Sol, served with reasoning.mode set to pro for higher-quality responses on complex tasks.
Gemini 3.8 Flash
Google · 1MCheapest: $0.75 on Google Gemini API (flex)
$0.75 / $3.75Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.
Gemini 3.7 Flash
Google · 1MCheapest: $0.75 on Google Vertex AI (global-flex)
$0.75 / $3.75Gemini 3.7 Flash is a multimodal model from Google for fast agentic workflows, coding, and complex multi-step reasoning.
GLM 5.3
Z.ai · 1M
$0.179 / $1.4GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks.
GLM 5.3 FlashX Legal
Z.ai · 1M
$0.37 / $1.25GLM-5.3-FlashX-Legal (GLM-Legal) is Z.ai's legal-domain variant of GLM-5.3-FlashX, a native multimodal model that accepts text, image, and video input and produces text.

About GPT-4.1 Mini

Takes image, text, files in and returns text. First listed Apr 15, 2025. Up to 33K output tokens. Blended price $0.7 per 1M tokens at 3 input to 1 output. Model id gpt-4-1-mini.

Price history

$0.3$12026Apr 15, 2025Output $1.6Input $0.4

List price since Apr 15, 2025, from Internet Archive snapshots of the OpenRouter catalog, then daily reads.

Questions

How much does GPT-4.1 Mini cost?

$0.4 per million input tokens and $1.6 per million output tokens, with cached input at $0.1, or $0.2 and $0.8 through the Batch API.

What is the context window of GPT-4.1 Mini?

1.05M tokens, with up to 33K tokens of output.

Where is GPT-4.1 Mini cheapest?

Of 3 routes tracked, Azure AI Foundry is cheapest at $0.4 input and $1.6 output per million tokens.