Back to model shop
Perplexity
Rendered from D1 model snapshot · D1 read 75msCache check: checking

perplexity/sonar

Sonar

Fast web-grounded Sonar for current answers, citations, and lightweight retrieval

This model's cache

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

Cache key/models/perplexity--sonar
Cache-Controlpublic, max-age=300, stale-while-revalidate=3600
Cache-Tagcatalogmodel:perplexity--sonar

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:perplexity--sonar',
  }),
})

Invalidate this cache tag

await ctx.cache.purge({ tags: ['model:perplexity--sonar'] })

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

SonarTemperature control
Released
Jan 1, 2024
Last updated
Sep 1, 2025
Context window
128K tokens
Max output
4.1K tokens
Open weights
No
Family
Sonar

Starts at

$0.25

per 1M input tokens

Output

$2.5

Sellers

5

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
OutputText
Provider shelf
Where to get Sonar

Sorted by lowest input price

ProviderInput / 1MOutput / 1MContext

Perplexity Agent

perplexity/sonar

$0.25$2.5128KDocs

Kilo Gateway

perplexity/sonar

$1$1127.1KDocs

Perplexity

sonar

$1$1128KDocs

OpenRouter

perplexity/sonar

$1$1127.1KDocs

Vercel AI Gateway

perplexity/sonar

QuoteQuote127KDocs
More from Perplexity