OpenAI: GPT-4.1
by OpenAIOpenAI: GPT-4.1 is a large language model from OpenAI. It costs $2.00 per million input tokens and $8.00 per million output tokens. Its context window is 1.0M tokens.
- Input / 1M tokens
- $2.00
- Output / 1M tokens
- $8.00
- Cached input / 1M
- $0.500
- Context window
- 1.0M
On repeated prefixes
tokens
This model also charges $0.01 per search request
That is $10.00 per 1,000 requests, billed on top of the token prices above. On a typical 1,000-in / 500-out exchange the tokens cost $0.006, so the search fee is 1.7× the token cost. Per-token rankings elsewhere ignore this entirely.
Who serves it cheapest
2 hosts serve GPT-4.1. Same weights, same API - the price difference is pure margin and routing.
| Provider | Input / 1M | Output / 1M | Context | Throughput | Uptime 24h |
|---|---|---|---|---|---|
| AzureCheapest | $2.00 | $8.00 | 1.0M | - | 99.9% |
| OpenAI | $2.00 | $8.00 | 1.0M | - | 99.9% |
The spread between Azure and OpenAI is about the same for identical weights. Quantization and context limits differ, so check both columns before switching.
About GPT-4.1
GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...
Specifications
| Model ID | openai/gpt-4.1 |
|---|---|
| Provider | OpenAI |
| Context window | 1.0M tokens |
| Max output | 33K tokens |
| Input modalities | image, text, file |
| Output modalities | text |
| Knowledge cutoff | 2024-06-30 |
| Open weights | No |
| Released | April 14, 2025 |
Cheaper alternatives
Models that cost less than GPT-4.1 while keeping at least half its context window and every input modality it supports.
Frequently asked
How much does OpenAI: GPT-4.1 cost?
$2.00 per million input tokens and $8.00 per million output tokens. Cached input reads cost $0.500 per million tokens.
What is the context window of OpenAI: GPT-4.1?
1.0M tokens, with up to 33K tokens of output per request.
Does OpenAI: GPT-4.1 have extra fees beyond per-token pricing?
Yes. OpenAI: GPT-4.1 charges $0.01 per search request - $10.00 per 1,000 requests - on top of $2.00 per million input tokens and $8.00 per million output tokens. On a typical 1,000-input / 500-output exchange the search fee alone is 1.7× the token cost.
Which provider serves OpenAI: GPT-4.1 cheapest?
Azure at $2.00 per million input tokens - about the same cheaper than OpenAI, the most expensive of the 2 hosts serving it.
Confirm against the source: OpenAI official pricing.