Textby Perplexity

Sonar Pro

For enterprises seeking more advanced capabilities, the Sonar Pro API can handle in-depth, multi-step queries with added extensibility, like...

  • By price it is among the most expensive of the 343 text models GenMagic runs (310th cheapest).
  • It was listed on Mar 7, 2025.

Data last changed Nov 3, 2026 · tracked since Oct 29, 2026 · Every model change

Try Sonar Pro

Generate with Sonar Pro right here. Verify your email to start with free credits.

Try

Specifications

Context window

200K tokens

Max output

8K tokens

Input price

$4.50 / 1M tokens

Output price

$22.50 / 1M tokens

Capabilities

Vision input

Accepts images alongside text, so you can prompt with pictures and screenshots.

Use Sonar Pro through the API

The model id is perplexity/sonar-pro. Requests bill your GenMagic balance at the price above, and each response reports what it cost.

curl
curl https://genmagic.co/api/v1/chat/completions \
  -H "Authorization: Bearer $GENMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "perplexity/sonar-pro",
    "messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
  }'
Python (openai SDK)
from openai import OpenAI

client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")

resp = client.chat.completions.create(
    model="perplexity/sonar-pro",
    messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)

From an AI agent, call generate_text with "model": "perplexity/sonar-pro" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.

Use Sonar Pro in n8n

  1. In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
  2. Set Resource to Text and Operation to Generate.
  3. In Model Name or ID, pick Perplexity: Sonar Pro, or enter perplexity/sonar-pro as an expression.
  4. Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.

Ready-to-import workflows that already use the node are on GenMagic for n8n.

Similar-priced text models from other providers

Other text models GenMagic runs at a comparable price, on the same balance and API key.

ModelProviderPriceContext
Perplexity: Sonar Pro (this model)Perplexity$4.50 in / $22.50 out per 1M tokens200K
Fireworks: Ember-1Fireworks$4.50 in / $22.50 out per 1M tokens1M
Anthropic: Claude Sonnet 4.6Anthropic$4.50 in / $22.50 out per 1M tokens1M
OpenAI: GPT-5.4OpenAI$3.75 in / $22.50 out per 1M tokens1.1M
MoonshotAI: Kimi K3Moonshot AI$0.29 in / $24.00 out per 1M tokens1M
Qwen: Qwen3.8 Max PrimeQwen$6.00 in / $18.00 out per 1M tokens1M

More from Perplexity

All 5 Perplexity models

Price and listing history

Every change GenMagic has recorded for Sonar Pro since it began tracking the model on Oct 29, 2026. Prices are GenMagic's, the same the studio and the API charge.

DateChangeBeforeAfter
Nov 3, 2026Updated: description--
Nov 1, 2026Price up 36%$3.30 in / $16.50 out per 1M tokens$4.50 in / $22.50 out per 1M tokens

Where these figures come from

  • Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
  • Specs and description: as Perplexity publishes them, checked daily.
  • Changes: the data on this page last changed on Nov 3, 2026, tracked since Oct 29, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.

Generate with Sonar Pro today

One GenMagic plan unlocks Sonar Pro and every other model across text, image, audio, and video.