TokenRoute
Get started
Back to models

OpenAI: GPT-4.1 Nano

Moderated

openai/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...

Pricing

Input$0.0700 /M
Output$0.2800 /M
Cache read$0.0175 /M
Web search$0.0070 /req

Specs

Context length1M tokens
Max output32.8K tokens
Inputimage, text, file
Outputtext

Quickstart

Point the OpenAI SDK at https://tokenroute.app/api/v1 and use a TokenRoute API key.

bash
curl https://tokenroute.app/api/v1/chat/completions \
  -H "Authorization: Bearer $TOKENROUTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4.1-nano",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Supported parameters

max_completion_tokens
max_tokens
response_format
seed
structured_outputs
temperature
tool_choice
tools
top_p