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

openai/gpt-4o-2024-11-20

GPT-4o (2024-11-20)

GPT model for general reasoning, writing, coding, and tool-assisted tasks

This model's cache

This model page returns the exact headers below. The page and /api/models/openai--gpt-4o-2024-11-20 share the model:openai--gpt-4o-2024-11-20 tag, so invalidation stays scoped to this model.

Cache key/models/openai--gpt-4o-2024-11-20
Cache-Controlpublic, max-age=300, stale-while-revalidate=3600
Cache-Tagcatalogmodel:openai--gpt-4o-2024-11-20

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-4o-2024-11-20',
  }),
})

Invalidate this cache tag

await ctx.cache.purge({ tags: ['model:openai--gpt-4o-2024-11-20'] })

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

GptTool callingStructured outputAttachmentsTemperature control
Released
Nov 20, 2024
Last updated
Nov 20, 2024
Context window
128K tokens
Max output
16.4K tokens
Open weights
No
Family
Gpt

Starts at

$2.5

per 1M input tokens

Output

$10

Sellers

6

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-4o (2024-11-20)

Sorted by lowest input price

ProviderInput / 1MOutput / 1MContext

OpenAI

gpt-4o-2024-11-20

$2.5$10128KDocs

Merge Gateway

openai/gpt-4o-2024-11-20

$2.5$10128KDocs

OrcaRouter

openai/gpt-4o-2024-11-20

$2.5$10128KDocs

Kilo Gateway

openai/gpt-4o-2024-11-20

$2.5$10128KDocs

OpenRouter

openai/gpt-4o-2024-11-20

$2.5$10128KDocs

NanoGPT

openai/gpt-4o-2024-11-20

$2.5$10128KDocs
More from Openai