GPT-4.1 Nano
For tasks that demand low latency, GPT‑4.1 nano is the fastest and cheapest model in the GPT-4.1 series.
gpt-4.1-nanoReleased 14 Apr 2025 (Apr 2025)Pricing
List prices at OpenAI, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $0.10 | $0.40 | |
| Cached input 75% off input | $0.025 | 75% off input | |
| Batch 50% off | $0.05 | $0.20 | 50% off |
| Priority 100% more | $0.20 | $0.80 | 100% more |
What it costs a month
At OpenAI list prices, 30 days.
- Chat assistant5,000 requests a day, 2K in / 0.5K out, cached$53.25
- RAG over documents2,000 requests a day, 8K in / 0.6K out, cached$44.40
- Coding agent1,000 requests a day, 40K in / 2K out, cached$81.00
- Overnight batch20,000 requests a day, 4K in / 0.4K out, batch$168
Where to run it
4 hosts serve GPT-4.1 Nano. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
OpenAILab API gpt-4.1-nano | $0.10 / $0.40 | gpt-4.1-nano | |
Azure OpenAICloud gpt-4.1-nano | $0.10 / $0.40 Retires 14 Apr 2027 | gpt-4.1-nano | Retires 14 Apr 2027 |
ReplicateInference gpt-4.1-nano | $0.10 / $0.40 | gpt-4.1-nano | |
Vercel AI GatewayGateway gpt-4.1-nano | $0.10 / $0.40 | gpt-4.1-nano |
Show 6 more listings: regions, snapshots and variantsHide regional listings
| OpenAI | |||||||
| 2025-04-14 gpt-4.1-nano-2025-04-14 | $0.10 / $0.40 | gpt-4.1-nano-2025-04-14 | |||||
| 2025-04-14 · fine-tuning ft:gpt-4.1-nano-2025-04-14 | $0.20 / $0.80 | ft:gpt-4.1-nano-2025-04-14 | |||||
| Azure OpenAI | |||||||
| 2025-04-14 gpt-4.1-nano-2025-04-14 | $0.10 / $0.40 Retires 14 Apr 2027 | gpt-4.1-nano-2025-04-14 | Retires 14 Apr 2027 | ||||
| eu gpt-4.1-nano | $0.11 / $0.44 +10% vs headline Retires 14 Apr 2027 | gpt-4.1-nano | Retires 14 Apr 2027 | ||||
| us gpt-4.1-nano | $0.11 / $0.44 +10% vs headline Retires 14 Apr 2027 | gpt-4.1-nano | Retires 14 Apr 2027 | ||||
| us · 2025-04-14 gpt-4.1-nano-2025-04-14 | $0.11 / $0.44 +10% vs headline Retires 14 Apr 2027 | gpt-4.1-nano-2025-04-14 | Retires 14 Apr 2027 | ||||
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- ImagesTextPDFs
- Produces
- Text
- Features
- Parallel tool callsPDF inputPrompt caching
Cheaper alternatives
Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.
Same model, cheaper host
No host sells it for less than OpenAI.
Smaller OpenAI models
No cheaper OpenAI model keeps its key capabilities.
Other frontier labs
No cheaper match from another frontier lab.
Open-weight picks
- 19% less
- 20% less
- 21% less
- 43% less
Benchmarks
Scores published on the model card.
- Aider Polyglot8.9%
Model line
Newer and older versions, at each lab's own price.
- Mar 2026GPT-5.4 NanoLatest$0.20 / $1.25
- Aug 2025GPT-5 Nano$0.05 / $0.40
- Apr 2025GPT-4.1 NanoThis page$0.10 / $0.40
Call it
Using OpenAI's API.
from openai import OpenAI
client = OpenAI() # reads OPENAI_API_KEY
response = client.responses.create(model="gpt-4.1-nano", input="Hello")
print(response.output_text)curl https://api.openai.com/v1/responses \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-4.1-nano", "input": "Hello"}'from litellm import completion
response = completion(
model="openai/gpt-4.1-nano",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
How much does GPT-4.1 Nano cost?
On OpenAI, GPT-4.1 Nano costs $0.10 per million input tokens and $0.40 per million output tokens. Cached input costs $0.025 per million tokens.
Which APIs offer GPT-4.1 Nano?
GPT-4.1 Nano runs on 4 APIs: OpenAI, Azure OpenAI, Replicate and Vercel AI Gateway.
What is GPT-4.1 Nano's context window?
1M tokens, with up to 33K tokens in one reply.
Is GPT-4.1 Nano being retired?
Azure OpenAI retires it on 14 Apr 2027. 3 hosts keep serving it.
Is there a newer version of GPT-4.1 Nano?
Yes. GPT-5.4 Nano is the newest model in this line, released on 17 Mar 2026.
What are cheaper alternatives to GPT-4.1 Nano?
Models that cost less and keep most of what it can do: DeepSeek V4.1 Flash on Sail (19% less). Savings are on a mix of 3 input tokens to 1 output token.
When was GPT-4.1 Nano released?
OpenAI released it on 14 Apr 2025.
What is GPT-4.1 Nano's API model id?
Use gpt-4.1-nano with OpenAI.
Sources
Raw catalog entry for gpt-4.1-nano on OpenAI
{
"cache_read_input_token_cost": 2.5e-8,
"cache_read_input_token_cost_priority": 5e-8,
"deprecation_date": "2026-10-23",
"deprecation_source": "https://developers.openai.com/api/docs/deprecations",
"successor_model": "gpt-5.6-luna",
"input_cost_per_token": 1e-7,
"input_cost_per_token_batches": 5e-8,
"input_cost_per_token_priority": 2e-7,
"litellm_provider": "openai",
"max_input_tokens": 1047576,
"max_output_tokens": 32768,
"mode": "chat",
"output_cost_per_token": 4e-7,
"fedramp_uplift_multiplier": 1.1,
"output_cost_per_token_batches": 2e-7,
"output_cost_per_token_priority": 8e-7,
"source": "https://developers.openai.com/api/docs/pricing",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
"/v1/responses"
],
"supported_modalities": [
"text",
"image"
],
"supported_output_modalities": [
"text"
],
"supports_function_calling": true,
"supports_native_streaming": true,
"supports_parallel_function_calling": true,
"supports_pdf_input": true,
"supports_prompt_caching": true,
"supports_response_schema": true,
"supports_system_messages": true,
"supports_tool_choice": true,
"supports_vision": true
}