GPT-4.1 mini
Chat
GPT
1.05M tokens
33K tokens
OpenAI API
GPT-4.1 mini is a chat model made by OpenAI, served on nRouter. It has a 1M-token context window.
Model pricing
Exact provider list price · 0% platform fee ·x-nr-request-cost headerRates are read live
Pricing for openai/gpt-4.1-mini is fetched from the live catalogue on load, so it is never served from a cache that could outlive a repricing.
Start building with openai/gpt-4.1-mini
One API key, three steps. Choose your tool to begin.
Get a key
Create API keySet your API key
export NROUTER_API_KEY="<YOUR_API_KEY>"Configure Claude Code
Choose a tool, then copy its setup from the panel.
Specifications & capabilities
Compare context window against peer models (1.0M)
Context window, ranked against other chat models
Proportional scale: 0 to 1.05M tokens. Not ranked, no published context window: alibaba/qwen-mt-flash, alibaba/qwen3.7-flash.
Benchmarks & performance rankings
Published LLM Arena category placements and Elo ratings for GPT-4.1 mini.
1340Elo
1367Elo
1343Elo
1299Elo
1349Elo
1333Elo
1354Elo
1344Elo
1318Elo
1181Elo
Source: huggingface.co · CC-BY-4.0
Provider-Reported Capabilities
What the hosting provider reports for this model, shown as it was returned. nRouter adds nothing to this report and infers nothing that is missing from it.
Availability
Collecting probe samplesNot enough health probe samples collected yet to publish an uptime or latency figure.
More from OpenAI
FAQs
What is GPT-4.1 mini?
GPT-4.1 mini is a chat model made by OpenAI, served on nRouter. It has a 1M-token context window.
How much does GPT-4.1 mini cost?
GPT-4.1 mini is billed at the provider's list price on nRouter with no per-token markup — tokens settle at the exact upstream rate. Input and output rates are read live, so see the pricing section above for the current figures.
What is the context length of GPT-4.1 mini?
GPT-4.1 mini supports a 1,047,576-token context window. It can generate up to 32,768 output tokens per request.
Does GPT-4.1 mini support tool calling and structured outputs?
No. GPT-4.1 mini does not support tool calling, so it cannot invoke external tools or functions. It does not support a structured JSON output mode.
What inputs and outputs does GPT-4.1 mini support?
GPT-4.1 mini takes text as input and returns text as output.
How do I use GPT-4.1 mini via nRouter?
Use any OpenAI-compatible client: point it at https://api.nrouter.ai/v1 with your nRouter API key and set the model to "openai/gpt-4.1-mini". The quick-start panel above has a copy-paste curl command for this model.
Where is the GPT-4.1 mini documentation?
Start at nrouter.ai/docs. The quick-start guide (nrouter.ai/docs/getting-started/quick-start) covers API keys and your first request, and the API reference (nrouter.ai/docs/api-reference) lists every parameter.
What other text models does OpenAI have?
Other OpenAI text models on nRouter include Text Embedding 3 Large (nrouter.ai/models/openai-text-embedding-3-large), GPT-6 Sol (nrouter.ai/models/openai-gpt-6-sol), GPT-6 Astra (nrouter.ai/models/openai-gpt-6-astra), GPT-5.6 Luna (nrouter.ai/models/openai-gpt-5.6-luna).