GPT-4.1 Nano API Cost Calculator
Estimate your monthly API costs for GPT-4.1 Nano from Openai.
Pricing per 1M tokens
Pricing last verified: Mar 21, 2026
30-Day Price History
Solid line: input price · Dashed line: output price
Estimate Your Costs
What are you building?
Cost Breakdown
Compare with Similar Models
| Model | Input/1M | Output/1M |
|---|---|---|
| GPT-5 Nano Openai | $0.0500 | $0.4000 |
| gpt-oss-safeguard-20b Openai | $0.0750 | $0.3000 |
| GPT-REALTIME-MINI Openai | $0.6000 | $0.0600 |
| GPT-4o-mini Openai | $0.1500 | $0.6000 |
| GPT-4o-mini (2024-07-18) Openai | $0.1500 | $0.6000 |
Frequently Asked Questions
How much does GPT-4.1 Nano cost per token?
GPT-4.1 Nano is priced at $0.1000 per 1M input tokens and $0.4000 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.
What is the context window for GPT-4.1 Nano?
GPT-4.1 Nano has a context window of 1.0M tokens (1,047,576 tokens). The maximum output length is 32.8K tokens.
Does GPT-4.1 Nano support image inputs (vision)?
Yes, GPT-4.1 Nano supports vision/image inputs. You can send images as part of your prompts.
Does GPT-4.1 Nano support function calling (tool use)?
Yes, GPT-4.1 Nano supports function calling (also called tool use). You can define custom functions that the model can invoke as part of its responses.
How does GPT-4.1 Nano compare to similar models?
GPT-4.1 Nano costs $0.1000 input and $0.4000 output per 1M tokens. gpt-oss-safeguard-20b is less expensive at $0.0750 input and $0.3000 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the gpt-oss-safeguard-20b page at /tools/cost-calculator/openai/gpt-oss-safeguard-20b.