openai logo
openai

OpenAI: GPT-4.1 Nano (batch)

Source description (English)

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

Overview

Model specifications

Context
1,047,576 tokens
Maximum output
32,768 tokens
Architecture
text+image+file->text
Tokenizer
GPT
Knowledge cutoff
2024-06-30
Moderated
Yes
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$0.05
per 1M tokens
Output
$0.2
per 1M tokens
Cache read
$0.0125
per 1M tokens
Web search
$10
per 1,000 calls
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

This submits an asynchronous batch using the base model ID. A job ID confirms submission, not completion.

API documentation

curl --fail-with-body https://openrouter.ai/api/beta/batches \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"endpoint":"/v1/chat/completions","model":"openai/gpt-4.1-nano","requests":[{"custom_id":"request-1","body":{"messages":[{"role":"user","content":"Hello!"}]}}]}'

# Replace JOB_ID with the returned id to check progress.
curl --fail-with-body "https://openrouter.ai/api/beta/batches/JOB_ID" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY"
Capabilities

Input → Output

Input
imagetextfile
Output
text
API

Supported API parameters

max_tokensresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p
Available providers

1 Provider

Checked: September 7, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

OpenAI

Not provided
Context
1.0M
Maximum output
33K
Input
$0.05
Output
$0.2
Cache read
$0.0125
Cache write
Not provided
openai

4 models

All models