GPT-4.1 Nano
GPT-4.1 Nano is served by 1 provider that kRouter can route to, with a 1M-token context window and pricing from $2.50 per 1M input tokens. Routing through kRouter means any OpenAI-compatible tool can reach it, with failover to another model if the provider is rate limited.
How to route to GPT-4.1 Nano
| Provider | Route as |
|---|---|
| OpenAI | openai/gpt-4.1-nano |
What GPT-4.1 Nano is suited for
A 1M window is large enough to hold a substantial part of a codebase in one turn, so it suits whole-repo refactors and long agent sessions where the history keeps growing. It answers directly rather than reasoning at length, which keeps latency and output cost down on routine edits. Tool and function calling are supported, so it can drive an agent loop. It accepts images, so screenshots and diagrams can go straight into the prompt. Cached input is billed at $1.25 against $2.50 fresh, which is the difference that matters most for agent work — the same context is resent on every turn.
Specs
- Context window
- 1M
- Max output
- 33K
- Input / 1M
- $2.50
- Output / 1M
- $10.00
- Image input
- Tool / function calling
Cheaper alternatives to GPT-4.1 Nano
Comparable capabilities at a lower rate. With a kRouter combo you can send routine turns to one of these and reserve GPT-4.1 Nano for the work that actually needs it.
- Kimi K2.5$1.20 in · $4.80 out per 1M
- Kimi K2.6$1.20 in · $4.80 out per 1M
- Kimi-K2.7$1.20 in · $4.80 out per 1M
- Qwen3 Coder Plus$1.00 in · $4.00 out per 1M
GPT-4.1 Nano FAQ
How much does GPT-4.1 Nano cost?
GPT-4.1 Nano is $2.50 per 1M input tokens and $10.00 per 1M output tokens. Cached input is $1.25, which matters a lot for agent work that resends the same context each turn.
Which providers serve GPT-4.1 Nano?
OpenAI serves it. kRouter routes to it as openai/gpt-4.1-nano.
What is GPT-4.1 Nano's context window?
1M tokens, with up to 33K tokens of output. kRouter publishes this on /v1/models as context_length, so clients read the real number instead of guessing from the model name.
Is there a cheaper alternative to GPT-4.1 Nano?
Yes — Kimi K2.5 ($1.20/1M in), Kimi K2.6 ($1.20/1M in), Kimi-K2.7 ($1.20/1M in), Qwen3 Coder Plus ($1.00/1M in) are cheaper with comparable capabilities. A kRouter combo can send routine turns to one of those and keep GPT-4.1 Nano for the work that needs it.
Route to GPT-4.1 Nano from any tool
kRouter runs locally and gives Claude Code, Cursor, Codex and the rest one endpoint that reaches every provider above — with automatic failover. Free and MIT-licensed.
Install kRouter