OpenAI GPT-4.1 Nano
OpenAI retired gpt-4.1-nano from its API on October 23, 2026. This record preserves historical model details; the former API identity is unavailable, and OpenAI recommends GPT-5.6 Luna as a migration target.
- OpenAI recommended migration target
A different model requiring its own input, output, price and behavior checks.
🚀Function Overview
GPT-4.1 nano is a historical model retired from OpenAI’s API on October 23, 2026. A migration suggestion is not an automatic runtime replacement.
Key Features
- OpenAI shutdown date: October 23, 2026; exact alias/snapshot scope in the official deprecations table.
- Historical specifications and sample syntax below do not prove current endpoint or gateway access.
- Examples are historical illustrations; GetLLMs did not execute requests or verify historical sample outputs.
- Ultra-low latency and fast response times
- Lowest cost in the GPT-4.1 lineup
- Supports 1 million token context windows
- Optimized for short prompts and high-volume usage
- Competitive accuracy on benchmarks
- Historical hardware and aggregator prices have not been verified against an archived provider contract; no current direct OpenAI price is implied.
Use Cases
- •Text classification
- •Autocomplete and structured text generation
- •Fast Q&A over small or medium context
- •Low-latency applications at scale
- •Budget-sensitive or high-throughput tasks
⚙️Input Parameters
prompt
stringThe prompt to send to the model. Do not use if using messages.
system_prompt
stringSystem prompt to set the assistant's behavior
image_input
arrayList of images to send to the model
temperature
numberSampling temperature between 0 and 2
max_completion_tokens
integerMaximum number of completion tokens to generate
top_p
numberNucleus sampling parameter - the model considers the results of the tokens with top_p probability mass. (0.1 means only the tokens comprising the top 10% probability mass are considered.)
frequency_penalty
numberFrequency penalty parameter - positive values penalize the repetition of tokens.
presence_penalty
numberPresence penalty parameter - positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
💡Usage Examples
Example 1
Input Parameters
{
"prompt": "What is San Junipero?",
"temperature": 1,
"system_prompt": "You are a helpful assistant."
}Output Results
Quick Actions
Technical Specifications
- Hardware Type
- Not specified
- Run Count
- 6.4k
- Commercial Use
- Supported
- Pricing
- Retired direct OpenAI API model; historical prices are not established by the reviewed sources. Previous aggregator quotes are unverified.
- Platform
- Replicate