GPT-4.1 pricing, context window and limits
GPT-4.1 costs $2 per million input tokens and $8 per million output tokens at OpenAI list price. It accepts up to 1,047,576 tokens of context and returns up to 32,768 tokens.
- Model id
gpt-4.1 - Snapshot
What does GPT-4.1 cost?
| Input | $2 |
|---|---|
| Output | $8 |
| Cached input (read) | $0.5 |
| Cache write | — |
US dollars per million tokens. A dash means no price is published.
How much can GPT-4.1 read and write?
| Context window | 1,047,576 |
|---|---|
| Max output | 32,768 |
What can GPT-4.1 do?
| Vision (image input) | Yes |
|---|---|
| Tool calling | Yes |
| Structured output | Yes |
| Reasoning | No |
| Input | text, image, pdf |
| Output | text |
What does a request to GPT-4.1 cost?
| A typical request: 1,000 tokens in, 500 out | $0.006 |
|---|---|
| A long request: 10,000 tokens in, 1,000 out | $0.028 |
| 1,000 typical requests | $6 |
| 1 million tokens in and 1 million out | $10 |
Input read from the provider's prompt cache costs $0.5 per million tokens instead of $2, 75% less. A request that repeats a 1,000-token prompt from the cache costs $0.0045 instead of $0.006.
Among 49 OpenAI models with a published price, GPT-4.1 is the 23rd cheapest by input price. Its context window is the 14th largest of 48. List prices only; discounts, batch prices and prices above 200K tokens are not shown.
How do I call GPT-4.1 through DVARA?
Configure the openai provider in the DVARA LLM Gateway and send the model id gpt-4.1. DVARA, the AI gateway, applies your policies, audit and cost attribution to the call. See LLM cost attribution and budgets.
In DVARA, if you haven't set your own price for a model, its calls are costed at the price in the catalogue that ships with your DVARA version. A price you set in Flightdeck always wins. You can switch catalogue prices off. Then a model with no price you set gets no cost record: its calls count against no budget and appear in no report, and the gateway records the model as unpriced. Every cost record says which price it used.
Which other OpenAI models are there?
- GPT-4 Turbo$10 in · $30 out · 128K context
- GPT-4.1 mini$0.4 in · $1.6 out · 1.05M context
- GPT-4$30 in · $60 out · 8K context
- GPT-4.1 nano$0.1 in · $0.4 out · 1.05M context
- GPT-3.5-turbo$0.5 in · $1.5 out · 16K context
- GPT-4o$2.5 in · $10 out · 128K context
- GPT-4o (2024-05-13)$5 in · $15 out · 128K context
- GPT-4o (2024-08-06)$2.5 in · $10 out · 128K context
- GPT-4o (2024-11-20)$2.5 in · $10 out · 128K context
- GPT-4o mini$0.15 in · $0.6 out · 128K context
- GPT-5$1.25 in · $10 out · 400K context
- GPT-5 Mini$0.25 in · $2 out · 400K context
Which models from other providers are similar to GPT-4.1?
These are the closest in context window and input price, one per provider.
- Gemini 3.1 Pro PreviewGoogle Gemini · $2 in · $12 out · 1.05M context
- GPT-5.6 Terra (Global)Amazon Bedrock · $2 in · $12 out · 1.05M context
- Claude Sonnet 5Anthropic · $2 in · $10 out · 1M context
- Qwen3.8 MaxAlibaba Qwen · $1.7774 in · $5.3323 out · 1M context
- GLM-5.2Mistral AI · $1.4 in · $4.4 out · 1.05M context