gpt-4.1-nano pricing
gpt-4.1-nano from OpenAI costs $0.100 per 1M input tokens and $0.400 per 1M output tokens. Cached input is $0.025 per 1M. Context window 1,047,576 tokens.
API id gpt-4.1-nano · OpenAI · source · updated 2026-08-11
$0.100
Input / 1M tokens
$0.400
Output / 1M tokens
$0.025
Cached input / 1M
1M
Context window
What gpt-4.1-nano costs in practice
| Workload | Input tokens | Output tokens | Estimated cost |
|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0003 |
| Document summary | 50,000 | 2,000 | $0.0058 |
| 1M tokens in, 200K out | 1,000,000 | 200,000 | $0.18 |
Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.
Common questions
- How much does gpt-4.1-nano cost per 1M tokens?
- gpt-4.1-nano costs $0.100 per 1M input tokens and $0.400 per 1M output tokens on the standard tier. Cached input is $0.025 per 1M.
- What is gpt-4.1-nano's context window?
- gpt-4.1-nano accepts up to 1,047,576 tokens in a single request, and can return up to 32,768 output tokens.
- Is there a cheaper OpenAI model than gpt-4.1-nano?
- Yes. omni-moderation-latest is free per 1M input tokens versus $0.100 for gpt-4.1-nano.
- Where does this gpt-4.1-nano price come from?
- Directly from OpenAI's published pricing page, re-read every day and normalized to USD per 1,000,000 tokens.