Perplexity: SonarAPI pricing
Sonar is a language model from Perplexity. It reads and writes text.
- 每100万枚代币的价格
- $1.05 / $1.05input / output
- 上下文
- 127K tokens114K max output
- 服务提供商
- 1
- 最快
- 106 tok/sPerplexity
服务提供商
1 provider ·
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/sonar", "messages": [{ "role": "user", "content": "Hi" }] }'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/sonar",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/sonar",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 Sonar 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/sonar;其余代码保持不变。
About Sonar
- 标价
- $1.00 / $1.00in / out per 1M
- 请求示例
- $0.01210,000 in + 1,000 out
- 端点
https://api.opencheap.si/v1- 模型 ID
每个请求都会发送给模型中成本最低且状态正常的提供者,而每个响应都会报告其成本为 使用成本. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.
用文字表述价格
Sonar costs from $1.05 per 1M input tokens and $1.05 per 1M output tokens on OpenCheap. Its list price is $1.00 per 1M input tokens and $1.00 per 1M output tokens; on a typical 1 : 3 input-to-output mix it costs 5 % more here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.012, and 1,000 such requests about $11.55.
One provider serves Sonar on OpenCheap today. Its context window is 127K tokens (127,072), room for roughly 95,000 words of English in one request.
Sonar is one of 7 Perplexity models on OpenCheap.
The public list price is $1.00 per 1M input tokens and $1.00 per 1M output tokens. OpenCheap is from $1.05 and $1.05, as of 2026-12-04 11:48 UTC.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the Sonar API cost per 1M tokens?
Sonar costs from $1.05 per 1M input tokens and $1.05 per 1M output tokens on OpenCheap. Prices as of 2026-12-04 11:48 UTC.
What does one Sonar request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.012, and 1,000 such requests about $11.55. Every answer reports its own cost in usage.cost.
Is Sonar cheaper on OpenCheap than its list price?
Its list price is $1.00 per 1M input tokens and $1.00 per 1M output tokens; on a typical 1 : 3 input-to-output mix it costs 5 % more here.
Which providers serve Sonar?
One provider serves Sonar on OpenCheap today. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.
What is the context window of Sonar?
Its context window is 127K tokens (127,072), room for roughly 95,000 words of English in one request.
How do I call the Sonar API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/sonar. One OpenCheap key works for every model; the rest of your code stays the same.
More from Perplexity
- Sonar Deep Researchsonar-deep-research$2.10 / $8.40 per 1M · 128K context
- Sonar Prosonar-pro$3.15 / $15.75 per 1M · 200K context
- Sonar Pro Searchsonar-pro:search$3.15 / $15.75 per 1M · 200K context
- Sonar Reasoning Prosonar-reasoning-pro$2.10 / $8.40 per 1M · 128K context
- Decider Flash V1.2pplx-decider-flash-v1.2$0.012 per 1M input · 262K context
- Decider V1.2pplx-decider-v1.2$0.023 per 1M input · 262K context
类似型号
- 基米 K2.6Moonshot · 26.2万上下文$0.32 / $1.57 per 1M
- 基米 K3Moonshot · 1M context$1.57 / $0.94 per 1M
- Aion-2.0AionLabs · 131K context$0.75 / $1.50 per 1M
- GLM 5 TurboZhipu · 204K context$0.36 / $1.20 per 1M6 % cheaper
- ERNIE 4.5 Turbo VLBaidu · 139K context$0.40 / $1.20 per 1M
- DeepSeek V3.1 TerminusDeepSeek · 163K context$0.28 / $1.05 per 1M18 % cheaper