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

openai/gpt-5-mini

GPT-5 Mini

Small GPT-5 for responsive agents, coding help, and everyday automation

This model's cache

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

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

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-5-mini',
  }),
})

Invalidate this cache tag

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

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

Gpt MiniReasoningTool callingStructured outputAttachments
Released
Aug 7, 2025
Last updated
Aug 7, 2025
Context window
400K tokens
Max output
128K tokens
Open weights
No
Family
Gpt Mini

Starts at

$0.22

per 1M input tokens

Output

$1.8

Sellers

13

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-5 Mini

Sorted by lowest input price

ProviderInput / 1MOutput / 1MContext

Poe

openai/gpt-5-mini

$0.22$1.8400KDocs

Requesty

openai/gpt-5-mini

$0.25$2128KDocs

Vercel AI Gateway

openai/gpt-5-mini

$0.25$2400KDocs

OpenAI

gpt-5-mini

$0.25$2400KDocs

Merge Gateway

openai/gpt-5-mini

$0.25$2400KDocs

OrcaRouter

openai/gpt-5-mini

$0.25$2400KDocs

NEAR AI Cloud

openai/gpt-5-mini

$0.25$2400KDocs

Perplexity Agent

openai/gpt-5-mini

$0.25$2400KDocs

Kilo Gateway

openai/gpt-5-mini

$0.25$2400KDocs

OpenRouter

openai/gpt-5-mini

$0.25$2400KDocs

FastRouter

openai/gpt-5-mini

$0.25$2400KDocs

NanoGPT

openai/gpt-5-mini

$0.25$2400KDocs

AnyAPI

openai/gpt-5-mini

QuoteQuote400KDocs
More from Openai