GPT-4.1 Mini API pricing

5 providers serve GPT-4.1 Mini. GPT-4.1 Mini is a proprietary API model, up to 1048K context. Prices below are per 1M tokens, cheapest input first.

Refreshed 2026-08-23 · list prices from provider APIs
Input floor $0.400/1M at Azure AI Foundry, OpenAI, OpenRouter and 2 more Output floor $1.60/1M at Azure AI Foundry, OpenAI, OpenRouter and 2 more Find your workload winner →
Provider Input $/1M Output $/1M Cache read $/1M Context
Azure AI Foundry $0.400 $1.60output floor $0.100 1048K Use
OpenAI $0.400 $1.60 $0.100 1048K Use
OpenRouter $0.400 $1.60 $0.100 1048K Use
Replicate $0.400 $1.60 - - Use
Vercel AI Gateway $0.400 $1.60 $0.100 1048K Use

The cheapest way to run GPT-4.1 Mini

On an illustrative 70M-input / 30M-output monthly workload, today's lowest listed cost is roughly $76.00/month — the same at Azure AI Foundry, OpenAI, OpenRouter and 2 more. Input-heavy, output-heavy and cache-heavy workloads can produce different winners. Use the live mix calculator below rather than combining floors from two different providers. It is API-only, so the table above is your full set of options. Run your own numbers in the breakeven calculator, or read the breakeven math.

Your actual monthly cost

Uses today's list prices

Cache read uses the listed cache rate where available; otherwise it falls back to normal input price. Batch, write-cache, volume and negotiated discounts are excluded.

Related models

ModelCheapest in $/1MCheapest out $/1MProviders
GPT-OSS 120B $0.050 $0.250 20
GPT-OSS 20B $0.015 $0.070 14
GPT-5 $1.25 $10.00 8
GPT-5 Mini $0.250 $1.20 7
GPT-5 Nano $0.050 $0.400 7
GPT-4o $2.50 $10.00 6

FAQ

What is the cheapest API for GPT-4.1 Mini?

As of 2026-08-23, the lowest input price for GPT-4.1 Mini, $0.400 per 1M tokens, is the same list price at Azure AI Foundry, OpenAI, OpenRouter and 2 more. The lowest output price, $1.60 per 1M tokens, is likewise shared by the same providers. The cheapest provider for a real workload depends on its input/output mix.

← All models · GPU rental prices · Breakeven calculator · Get this data as JSON