Model detail
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. It delivers exceptional performance at a small size with its 1 million token context window, and scores 80.1% on MMLU, 50.3% on GPQA, and 9.8% on Aider polyglot coding – even higher than GPT‑4o mini. It’s ideal for tasks like classification or autocompletion.
Model specs
- Model ID
-
gpt-4.1-nano
- Context length
- 1.047576M
- Max output
- 32.768K
- I/O modalities
- Released
- 2025-04
02
API endpoints
One MixRoute gateway, OpenAI-compatible
-
OpenAI-compatible
/v1/chat/completionsPOST
03
Pricing
Flat rate, unit: /1M Tokens
Input
$0.1000 /1M Tokens
Completion
$0.2000 /1M Tokens
Cache read
$0.0250 /1M Tokens
05
Selection summary
Quickly judge whether it fits your workload
What is this model good for?
Ultra-fast classification and autocompletion at scale
Use GPT-4.1 nano for high-volume tasks like classification, autocompletion, and data extraction. It delivers the 1M token context window at the lowest cost and latency in the GPT-4.1 series.
What should you check before using it?
Confirm accuracy for your task class
GPT-4.1 nano prioritizes speed and cost over deep reasoning. Test your classification and autocompletion tasks to confirm the accuracy meets your requirements before production deployment. Knowledge cutoff: 2024-06-01.
Why use it through MixRoute?
GPT-4.1 nano keeps its 1,047,576-token context on one route
The full 1,047,576-token context stays reachable on the same route. MixRoute serves GPT-4.1 nano on the OpenAI-compatible endpoint /v1/chat/completions; point your existing client at https://api.mixroute.ai/v1 with the model ID gpt-4.1-nano and re-run your integration tests.
07
Capabilities & compatibility
Unconfirmed capabilities stay "Unknown," no guesses
Tool calling
GPT-4.1 nano supports function and tool calls.
tools definition; the response returns tool_calls to execute and feed results back.
Structured output
GPT-4.1 nano can produce JSON-formatted output on demand.
response_format: { type: "json_schema" } forces valid JSON output.
Streaming
GPT-4.1 nano supports streamed responses.
stream: true streams tokens incrementally, so chat UIs render as they arrive.
Prompt caching
GPT-4.1 nano supports prompt caching under supported routing conditions.
Vision input
GPT-4.1 nano can process image inputs alongside text.
image_url content part alongside text messages.
OpenAI SDK
Call GPT-4.1 nano through MixRoute's OpenAI-compatible endpoint.
base_url to https://api.mixroute.ai/v1; everything else follows the OpenAI style.
08
Token cost estimator
Live estimate from this page's pricing, not an actual bill
Share of the same prefix read repeatedly, up to 100%
09
FAQ
GPT-4.1 nano is the fastest and cheapest model in the GPT-4.1 series. It delivers exceptional performance for its size with a 1 million token context window, making it ideal for classification, autocompletion, and other high-throughput tasks.
One endpoint, a testable decision
Test this model and alternate routes with the same request format
Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.