GPT-4.1 nano API Pricing: OpenAI's Cheapest 1M-Context Model at $0.10/M Tokens
GPT-4.1 nano offers 1M context at $0.10/$0.40 per million tokens — the lowest-cost way to process long documents on OpenAI's API.
TL;DR
- Price: $0.10/M input, $0.40/M output — OpenAI's cheapest 1M-context model
- Context: 1,048,576 (1M) tokens — same as GPT-4.1 and GPT-5.6 Luna
- Vision: Yes — supports image input alongside text
- Provider: OpenAI API (platform.openai.com)
- Best for: Long-document analysis, RAG pipelines, large codebase review, multi-page contracts
- Shutdown: October 23, 2026 — migrate to GPT-5.6 Luna ($0.20/$1.20) or Qwen 3.7 Flash ($0.03/$0.13)
GPT-4.1 nano Pricing Breakdown
At $0.10 per million input tokens and $0.40 per million output tokens, GPT-4.1 nano is 25x cheaper on input than GPT-5.4 ($2.50/$15) while offering a larger 1M context window. Here's how the costs scale:
| Monthly Volume | Input Cost | Output Cost | Total Cost |
|---|---|---|---|
| 1M tokens | $0.10 | $0.40 | $0.50 |
| 10M tokens | $1.00 | $4.00 | $5.00 |
| 100M tokens | $10.00 | $40.00 | $50.00 |
| 1B tokens | $100.00 | $400.00 | $500.00 |
At 100M tokens/month, GPT-4.1 nano costs $50. The same volume on GPT-4.1 ($2/$8) would cost $700, and on GPT-5.4 ($2.50/$15) it would cost $1,275.
GPT-4.1 Family: nano vs mini vs Standard
OpenAI's GPT-4.1 family shares the same 1M context window but differs in capability and cost:
| Model | Input $/M | Output $/M | Context | Best For | Status |
|---|---|---|---|---|---|
| GPT-4.1 nano | $0.10 | $0.40 | 1M | High-volume long-context tasks | ⚠️ Retiring Oct 23 |
| GPT-4.1 mini | $0.40 | $1.60 | 1M | Balanced cost/quality, 1M context | Active |
| GPT-4.1 | $2.00 | $8.00 | 1M | Complex reasoning, highest quality | Active |
GPT-4.1 nano is 4x cheaper than mini and 20x cheaper than standard — the budget champion of the 1M-context family.
GPT-4.1 nano vs Other Budget Models
How does GPT-4.1 nano stack up against other cheap AI models with large context windows?
| Model | Input $/M | Output $/M | Context | Vision | Provider |
|---|---|---|---|---|---|
| Qwen 3.7 Flash | $0.03 | $0.13 | 1M | ✅ | Alibaba |
| GPT-5 nano | $0.05 | $0.40 | 128K | ❌ | OpenAI |
| GPT-4.1 nano | $0.10 | $0.40 | 1M | ✅ | OpenAI |
| Gemini 2.5 Flash-Lite | $0.10 | $0.40 | 1M | ✅ | |
| DeepSeek V4 Flash | $0.14 | $0.28 | 1M | ❌ | DeepSeek |
| Ministral 3 3B | $0.10 | $0.10 | 128K | ❌ | Mistral |
GPT-4.1 nano matches Gemini 2.5 Flash-Lite on price but offers vision support. Qwen 3.7 Flash is cheaper across the board, though it's from a Chinese provider which may matter for data residency requirements.
Migration Guide: What to Use After GPT-4.1 nano
With the October 23 shutdown approaching, here are your best migration options by use case:
| Use Case | Recommended Replacement | Price Change | Why |
|---|---|---|---|
| Long-document analysis | GPT-5.6 Luna | +100% input, +200% output | Same 1M context, OpenAI's designated replacement |
| Cheapest 1M context | Qwen 3.7 Flash | -70% input, -68% output | $0.03/$0.13 — cheapest 1M model from any provider |
| OpenAI ecosystem lock-in | GPT-5 nano | -50% input, same output | Cheapest OpenAI model, but only 128K context |
| Best quality at budget price | Gemini 2.5 Flash-Lite | Same price | $0.10/$0.40, 1M context, vision, Google infrastructure |
Best Use Cases for GPT-4.1 nano
📄 Long Document Analysis
Process 500+ page contracts, legal documents, or research papers in a single API call with the 1M context window.
🔍 RAG Pipelines
Feed large chunks of retrieved context into the model for question-answering over knowledge bases.
💻 Codebase Review
Analyze entire repositories or large codebases in one pass — ideal for code review, refactoring suggestions, and documentation generation.
📊 Data Extraction
Extract structured data from long unstructured documents — invoices, reports, filings — at scale.
🌐 Multi-Language Translation
Translate long documents while maintaining context across chapters and sections.
📝 Content Summarization
Summarize books, research papers, or meeting transcripts that exceed shorter context windows.
Real-World Cost: Processing 10,000 Documents/Month
Imagine you're building a document processing pipeline that handles 10,000 documents per month, averaging 50K tokens each (about 100 pages). Total: 500M tokens/month, 50/50 input/output split.
| Model | Monthly Cost | vs GPT-4.1 nano |
|---|---|---|
| Qwen 3.7 Flash | $40.00 | 20% cheaper |
| GPT-4.1 nano | $50.00 | — |
| Gemini 2.5 Flash-Lite | $50.00 | Same |
| DeepSeek V4 Flash | $42.00 | 16% cheaper |
| GPT-4.1 mini | $200.00 | 4x more expensive |
| GPT-4.1 | $1,000.00 | 20x more expensive |
Calculate Your GPT-4.1 nano Costs
Use our free calculator to estimate your monthly costs across 93 models and 11 providers.
Frequently Asked Questions
Related Pages
- GPT-5 nano Pricing — OpenAI's cheapest model overall ($0.05/$0.40, 128K)
- GPT-5.6 Luna Pricing — The designated replacement ($0.20/$1.20, 1.05M)
- Qwen 3.7 Flash Pricing — Cheapest 1M-context model ($0.03/$0.13)
- Gemini Flash-Lite Pricing — Google's budget tiers ($0.10–$0.30/M)
- Top 10 Cheapest LLM APIs — Ranked by input price
- Model Deprecation Timeline — All upcoming shutdowns