impulse

Sonar Small Online

API id sonar-small-online
Input / 1M
$0.00
at Perplexity
Output / 1M
$0.28
at Perplexity
Context window
12K
tokens
Max output
12K
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.00$0.28

What it costs a month

At Perplexity list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out$21.00
  • RAG over documents2,000 requests a day, 8K in / 0.6K out$10.08
  • Coding agent1,000 requests a day, 40K in / 2K out$16.80
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$67.20
Use your own numbers

Where to run it

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

HostIn / out per 1M
PerplexityGateway
sonar-small-online
$0.00 / $0.28

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

No cheaper Perplexity model keeps its key capabilities.

Other frontier labs

No cheaper match from another frontier lab.

Open-weight picks

  • DeepSeek R1 Qwen3 8B
    DeepSeek · on Novita AI
    $0.06 / $0.09
    Has every key capability
    4% less
  • Command R7B
    Cohere · on Cohere Chat
    $0.0375 / $0.15
    Has every key capability
    6% less
  • gpt-oss-120b
    OpenAI · on W&B Inference
    $0.03 / $0.17
    Has every key capability
    7% less
  • Gemma 4 26B
    Google · on Darkbloom
    $0.03 / $0.165
    Has every key capability
    9% less

Call it

Using Perplexity's API.

Python
from litellm import completion

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

Quick answers

How much does Sonar Small Online cost?

On Perplexity, Sonar Small Online costs $0.28 per million output tokens.

Which APIs offer Sonar Small Online?

Sonar Small Online runs on 1 API: Perplexity.

What is Sonar Small Online's context window?

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

Is Sonar Small Online being retired?

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

What are cheaper alternatives to Sonar Small Online?

Models that cost less and keep most of what it can do: DeepSeek R1 Qwen3 8B on Novita AI (4% less). Savings are on a mix of 3 input tokens to 1 output token.

What is Sonar Small Online's API model id?

Use sonar-small-online with Perplexity.

Sources

Raw catalog entry for sonar-small-online on Perplexity
{
  "input_cost_per_request": 0.005,
  "input_cost_per_token": 0,
  "litellm_provider": "perplexity",
  "max_input_tokens": 12000,
  "max_output_tokens": 12000,
  "mode": "chat",
  "output_cost_per_token": 2.8e-7
}