OpenAI · live price
GPT-4.1 API pricing
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...
- Input
- $2
- per 1M tokens
- Output
- $8
- per 1M tokens
- Cached input
- $0.5
- per 1M tokens
- Context
- 1.0M
- 33K max output
List price from OpenRouter, which passes OpenAI's price through without markup. Refreshed hourly. Released April 14, 2025. Model id openai/gpt-4.1.
What GPT-4.1 costs in practice
1,000 chat messages
$6.00
1,000 input + 500 output tokens each
1,000 RAG questions
$20.00
8,000 input + 500 output tokens each
100 coding-agent steps
$7.60
30,000 input + 2,000 output tokens each, no caching
GPT-4.1 price history
GPT-4.1 price by host
- Azure$2 in · $8 out · 1.0M ctx · 100.0% uptime 24h
- OpenAI$2 in · $8 out · 1.0M ctx · 99.3% uptime 24h
Where to buy OpenAI credits for less
Disclosure: this site is run by the team behind smaaart, one of the options compared. Tables are ranked by price only, from live quotes and published fees, including when smaaart isn't first. How we compare
GPT-4.1 cost calculator
Cheaper alternatives to GPT-4.1
| Model | Input / 1M | Output / 1M |
|---|---|---|
| SpaceXAI: Grok 4.7 | $2 | $6 |
| Qwen: Qwen3.8 Omni Flash | $0.15 | $0.47 |
| Z.ai: GLM 5.3 FlashX | $0.37 | $1.25 |
| DeepSeek: DeepSeek V4.1 Flash | $0.03 | $0.5 |
| Qwen: Qwen3.8 Max (0902) | $2 | $6 |
| Google: Gemini 3.8 Flash | $0.75 | $3.75 |
Other OpenAI models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| GPT-4.1 Mini | $0.4 | $1.60 |
| GPT-4.1 Nano | $0.1 | $0.4 |
| o4 Mini | $1.10 | $4.40 |
| o3 | $2 | $8 |
| o4 Mini High | $1.10 | $4.40 |
| o1-pro | $150 | $600 |