Back to model shop
Openai
Rendered from D1 model snapshot · D1 read 118msCache check: checking

openai/gpt-4.1-nano

GPT-4.1 nano

Tiny GPT-4.1 option for classification, routing, and very high-volume tasks

This model's cache

This model page returns the exact headers below. The page and /api/models/openai--gpt-4.1-nano share the model:openai--gpt-4.1-nano tag, so invalidation stays scoped to this model.

Cache key/models/openai--gpt-4.1-nano
Cache-Controlpublic, max-age=300, stale-while-revalidate=3600
Cache-Tagcatalogmodel:openai--gpt-4.1-nano

Workers Cache derives the key from this path/query, plus the Worker entrypoint and current Worker version.

export const Route = createFileRoute('/models/$modelSlug')({
  headers: () => ({
    'Cache-Control': 'public, max-age=300, stale-while-revalidate=3600',
    'Cache-Tag': 'catalog,model:openai--gpt-4.1-nano',
  }),
})

Invalidate this cache tag

await ctx.cache.purge({ tags: ['model:openai--gpt-4.1-nano'] })

Use this when one model changes and you do not want to evict the whole catalog.

Gpt NanoTool callingStructured outputAttachmentsTemperature control
Released
Apr 14, 2025
Last updated
Apr 14, 2025
Context window
1.0M tokens
Max output
32.8K tokens
Open weights
No
Family
Gpt Nano

Starts at

Free

per 1M input tokens

Output

Free

Sellers

10

No cart or checkout in this MVP — pick a provider below and open their docs when you're ready to use it.

Capabilities & modalities
Reasoning
Tool calling
Structured output
Attachments
InputText, Image
OutputText
Provider shelf
Where to get GPT-4.1 nano

Sorted by lowest input price

ProviderInput / 1MOutput / 1MContext

GitHub Models

openai/gpt-4.1-nano

FreeFree128KDocs

Poe

openai/gpt-4.1-nano

$0.09$0.361.0MDocs

Vercel AI Gateway

openai/gpt-4.1-nano

$0.1$0.41.0MDocs

OpenAI

gpt-4.1-nano

$0.1$0.41.0MDocs

Merge Gateway

openai/gpt-4.1-nano

$0.1$0.41.0MDocs

OrcaRouter

openai/gpt-4.1-nano

$0.1$0.41.0MDocs

NEAR AI Cloud

openai/gpt-4.1-nano

$0.1$0.41.0MDocs

Kilo Gateway

openai/gpt-4.1-nano

$0.1$0.41.0MDocs

OpenRouter

openai/gpt-4.1-nano

$0.1$0.41.0MDocs

NanoGPT

openai/gpt-4.1-nano

$0.1$0.41.0MDocs
More from Openai