Today › AI API prices › OpenAI
gpt-4.1-mini API pricing (OpenAI)
Input / 1M tokens$0.4
Output / 1M tokens$1.604.0× input
Context window1Mmax output 33K
Rank within OpenAI12 / 73
Among all modelscheaper than 54%of 725 models
Cost for typical workloads
| Workload | This model | Median of all models |
|---|---|---|
| 10,000 chats (2,000 in / 500 out tokens) | $16.00 | $20.50 |
| 100 long summaries (50,000 in / 1,000 out) | $2.16 | $2.97 |
| 1,000 articles (500 in / 2,000 out) | $3.40 | $2.50 |
Similarly priced models from other providers
| Model | Provider | Input | Output | Context |
|---|---|---|---|---|
| qwen3-vl-235b-a22b-instruct | Alibaba DashScope (Qwen) | $0.4 | $1.60 | 131K |
| qwen3p7-plus | Fireworks AI | $0.4 | $1.60 | 262K |
| qwen3p7-plus | Fireworks AI | $0.4 | $1.60 | 262K |
| pplx-70b-online | Perplexity | $0 | $2.80 | 4K |
| Qwen/Qwen3-Coder-Next-FP8 | Together AI | $0.5 | $1.20 | 262K |
| c4ai-aya-expanse-32b | Cohere | $0.5 | $1.50 | 128K |
Price history
| Date | Input | Output |
|---|---|---|
| 2026-10-03 | $0.4 | $1.60 |
Only dates with a change are listed (17 snapshots from 2026-10-03 to 2026-11-10).
Prices come from the open-source LiteLLM price table (MIT), fetched daily, and may differ from the official pricing pages; always check the provider before you buy. US dollars.
About this page
gpt-4.1-mini on OpenAI costs $0.4 per million input tokens and $1.60 per million output tokens; it ranks 12 of 73 OpenAI models by price, with a 1M context window.