impulse

Sonar Medium Chat

API id sonar-medium-chat
Input / 1M
$0.60
at Perplexity
Output / 1M
$1.80
at Perplexity
Context window
16K
tokens
Max output
16K
tokens per reply
Hosts
1
1 listings
Released
-
date not published

Pricing

List prices at Perplexity, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$0.60$1.80

What it costs a month

At Perplexity list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out$315
  • RAG over documents2,000 requests a day, 8K in / 0.6K out$353
  • Coding agent1,000 requests a day, 40K in / 2K out$828
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$1,872
Use your own numbers

Where to run it

1 host serve Sonar Medium Chat. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
PerplexityGateway
sonar-medium-chat
$0.60 / $1.80

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
Text
Produces
Text

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than Perplexity.

Smaller Perplexity models

  • Sonar
    Perplexity · on Perplexity
    $0.25 / $2.50
    Has every key capability
    10% less
  • Sonar Small Chat
    Perplexity · on Perplexity
    $0.07 / $0.28
    Has every key capability
    86% less

Other frontier labs

  • Gemini 3.5 Flash Lite
    Google · on Google AI Studio
    $0.30 / $2.50
    Has every key capability
    6% less
  • GPT-5.4 Nano
    OpenAI · on OpenAI
    $0.20 / $1.25
    Has every key capability
    49% less
  • Claude Haiku 5.5
    Anthropic · on Anthropic
    $0.10 / $0.50
    Has every key capability
    78% less
  • GPT-6 Luna
    OpenAI · on OpenAI
    $0.10 / $0.50
    Has every key capability
    78% less

Open-weight picks

  • Motif 3
    Independent · on ai&
    $0.50 / $2.00
    Has every key capability
    3% less
  • GLM 5.3
    Zhipu AI · on CLF AI Gateway
    $0.56 / $1.76
    Has every key capability
    4% less
  • Nemotron 3 Ultra 550B A55B
    NVIDIA · on Perplexity
    $0.25 / $2.50
    Has every key capability
    10% less
  • DeepSeek V4 Pro
    DeepSeek · on CLF AI Gateway
    $0.528 / $1.58
    Has every key capability
    12% less

Call it

Using Perplexity's API.

Python
from litellm import completion

response = completion(
    model="perplexity/sonar-medium-chat",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does Sonar Medium Chat cost?

On Perplexity, Sonar Medium Chat costs $0.60 per million input tokens and $1.80 per million output tokens.

Which APIs offer Sonar Medium Chat?

Sonar Medium Chat runs on 1 API: Perplexity.

What is Sonar Medium Chat's context window?

16K tokens, with up to 16K tokens in one reply.

Is Sonar Medium Chat being retired?

No retirement date is scheduled for it on any API we track.

What are cheaper alternatives to Sonar Medium Chat?

Models that cost less and keep most of what it can do: Sonar on Perplexity (10% less), Gemini 3.5 Flash Lite on Google AI Studio (6% less), GPT-5.4 Nano on OpenAI (49% less) and Motif 3 on ai& (3% less). Savings are on a mix of 3 input tokens to 1 output token.

What is Sonar Medium Chat's API model id?

Use sonar-medium-chat with Perplexity.

Sources

Raw catalog entry for sonar-medium-chat on Perplexity
{
  "input_cost_per_token": 6e-7,
  "litellm_provider": "perplexity",
  "max_input_tokens": 16384,
  "max_output_tokens": 16384,
  "mode": "chat",
  "output_cost_per_token": 0.0000018
}