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.

ChatOpenAI1M tokens$0.109 / $0.436 · 1M

openai/gpt-4.1-nano

Context
1M tokens
Completion cap
32,768
Tools
Yes
JSON
Yes
Released
2025-04-14

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4.1-nano",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is 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. GPT-4.1 Nano runs on the Geek Hub API (OpenAI-compatible). Model id: openai/gpt-4.1-nano.
Is GPT-4.1 Nano free?
No. Input is $0.109 per 1M tokens and output is $0.436 per 1M tokens on Geek Hub (markup included).
What is the context length of GPT-4.1 Nano?
GPT-4.1 Nano has a 1M tokens context window. It supports up to 32,768 completion tokens.
Does GPT-4.1 Nano support tool calling and structured outputs?
GPT-4.1 Nano accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
When was GPT-4.1 Nano released?
GPT-4.1 Nano was released on 2025-04-14.

More models from OpenAI