GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning.
Ways to buy 4
| Way to buy | Input | Output | In / out per 1M | Cached | Vs list |
|---|---|---|---|---|---|
The lab's own API · cached $0.5 | $2 | $8 | $2 / $8List price | $0.5 | List price |
Default region · cached $0.5 | $2 | $8 | $2 / $8Same as list | $0.5 | Same as list |
swedencentral · cached $0.55 | $2.2 | $8.8 | $2.2 / $8.8+10% vs list | $0.55 | +10% vs list |
From the platform pricing page | $2.4 | $9.6 | $2.4 / $9.6+20% vs list | n/a | +20% vs list |
USD per 1M tokens; batch $1 in, $4 out on the lab's API. Regions are separate routes.
Through a gateway
Your own numbers100M input and 20M output tokens a month: $360.00 direct.
Helicone$360.00+0%
Kong AI Gateway$360.00+0%
LiteLLM$360.00+0%
Vercel AI Gateway$360.00+0%
Cloudflare AI Gateway$378.00+5%
Requesty$378.00+5%
Eden AI$379.80+5.5%
OpenRouter$379.80+5.5%
Neon AI GatewayNot offeredNot offered
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 | Cheapest route | |||||||
|---|---|---|---|---|---|---|---|---|
OpenAI · 1.05MCheapest: $1 on OpenAI (flex) | $1 | $5 | $1 / $5 | $2 | 1.05M | $1 on OpenAI (flex) | · | GPT-6.1 Terra is the mid-tier model in OpenAI's GPT-6.1 series, priced below GPT-6.1 Sol. |
OpenAI · 1.05MCheapest: $1 on OpenAI (flex) | $1 | $5 | $1 / $5 | $2 | 1.05M | $1 on OpenAI (flex) | · | GPT-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. |
OpenAI · 1.05MCheapest: $2 on OpenAI (flex) | $2 | $10 | $2 / $10 | $4 | 1.05M | $2 on OpenAI (flex) | · | GPT-6.1 Sol is an upgrade to GPT-6 Sol from OpenAI, positioned below the flagship GPT-6 Astra in the GPT-6 series. |
OpenAI · 1.05MCheapest: $2 on OpenAI (flex) | $2 | $10 | $2 / $10 | $4 | 1.05M | $2 on OpenAI (flex) | · | GPT-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. |
Google · 1MCheapest: $2 on Google Gemini API (flex) | $2 | $10 | $2 / $10 | $4 | 1M | $2 on Google Gemini API (flex) | · | Gemini 4 Argon is Google's flagship reasoning model, built for complex software engineering, deep mathematical and scientific problem solving, and autonomous multi-step agents. |
Anthropic · 1M | $2 | $10 | $2 / $10 | $4 | 1M | Lab list price | · | Claude Sonnet 5.5 is Anthropic's Sonnet-class model for well-scoped everyday work, succeeding Claude Sonnet 5 as a direct upgrade. |
Meta · 1M | $1.25 | $4.25 | $1.25 / $4.25 | $2 | 1M | Lab list price | · | Muse Spark 1.1 is a multimodal reasoning model from Meta, built for agentic tasks. |
Qwen (Alibaba) · 1M | $2 | $6 | $2 / $6 | $3 | 1M | Lab list price | · | Qwen3.8 Max 0902 is an updated snapshot of Qwen3.8 Max from Alibaba's Qwen team. |
About GPT-4.1
Takes image, text, files in and returns text. First listed Apr 15, 2025. Up to 33K output tokens. Blended price $3.5 per 1M tokens at 3 input to 1 output. Model id gpt-4-1.
Price history
List price since Apr 15, 2025, from Internet Archive snapshots of the OpenRouter catalog, then daily reads.
Questions
How much does GPT-4.1 cost?
$2 per million input tokens and $8 per million output tokens, with cached input at $0.5, or $1 and $4 through the Batch API.
What is the context window of GPT-4.1?
1.05M tokens, with up to 33K tokens of output.
Where is GPT-4.1 cheapest?
Of 4 routes tracked, Azure AI Foundry is cheapest at $2 input and $8 output per million tokens.