openai/gpt-4.1
Long-lived GPT workhorse for coding, instruction following, and production apps
This model's cache
This model page returns the exact headers below. The page and /api/models/openai--gpt-4.1 share the model:openai--gpt-4.1 tag, so invalidation stays scoped to this model.
/models/openai--gpt-4.1public, max-age=300, stale-while-revalidate=3600catalogmodel:openai--gpt-4.1Workers 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',
}),
})Invalidate this cache tag
await ctx.cache.purge({ tags: ['model:openai--gpt-4.1'] })Use this when one model changes and you do not want to evict the whole catalog.
- Released
- Apr 14, 2025
- Last updated
- Apr 14, 2025
- Context window
- 1.0M tokens
- Max output
- 32.8K tokens
- Open weights
- No
- Family
- Gpt
Starts at
Free
per 1M input tokens
Output
Free
Sellers
13
No cart or checkout in this MVP — pick a provider below and open their docs when you're ready to use it.
Sorted by lowest input price
| Provider | Input / 1M | Output / 1M | Context | |
|---|---|---|---|---|
GitHub Models openai/gpt-4.1 | Free | Free | 128K | Docs |
Poe openai/gpt-4.1 | $1.8 | $7.2 | 1.0M | Docs |
Requesty openai/gpt-4.1 | $2 | $8 | 1.0M | Docs |
Vercel AI Gateway openai/gpt-4.1 | $2 | $8 | 1.0M | Docs |
OpenAI gpt-4.1 | $2 | $8 | 1.0M | Docs |
Merge Gateway openai/gpt-4.1 | $2 | $8 | 1.0M | Docs |
OrcaRouter openai/gpt-4.1 | $2 | $8 | 1.0M | Docs |
NEAR AI Cloud openai/gpt-4.1 | $2 | $8 | 1.0M | Docs |
Kilo Gateway openai/gpt-4.1 | $2 | $8 | 1.0M | Docs |
OpenRouter openai/gpt-4.1 | $2 | $8 | 1.0M | Docs |
FastRouter openai/gpt-4.1 | $2 | $8 | 1.0M | Docs |
NanoGPT openai/gpt-4.1 | $2 | $8 | 1.0M | Docs |
AnyAPI openai/gpt-4.1 | Quote | Quote | 1.0M | Docs |
openai/gpt-5.5-instant
GPT-5.5 Instant
Compact GPT model for low-latency assistance and high-volume workloads
openai/gpt-5.5
GPT-5.5
Default frontier GPT for coding, computer use, research, and knowledge work
openai/gpt-5.5-pro
GPT-5.5 Pro
Highest-accuracy GPT-5.5 tier for slower, precision-heavy reasoning and coding