Perplexity: Sonar · fastrouter
Sonar is a lightweight, cost-effective non-reasoning search model built for delivering fast, grounded answers through real-time web search. With a context length of 128k, it is optimized for quick lookups and straightforward Q&A tasks, making it ideal for users who need immediate, reliable information without extensive processing. Sonar provides answers backed by citations, ensuring transparency while maintaining speed and low cost. Typical use cases include summarizing books, TV shows, or movies, looking up definitions or quick facts, and browsing up-to-date content across categories like news, sports, health, and finance. Its efficiency and accuracy make it well-suited for everyday information needs.
Вход, $/1M $1.00
Выход, $/1M $1.00
Контекст 127 072
Принимает картинки, текст
Последняя проверка 04.11.2026 12:00:14 UTC
Источник страница провайдера
Уведомления о ценах
API
API, совместимый с OpenAI: подходят официальные SDK OpenAI с этим адресом. YOUR_API_KEY замените на свой ключ от провайдера.
| Адрес API | |
|---|---|
| Эндпоинт | |
| Модель (id в API) | |
curl
curl https://go.fastrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "perplexity/sonar", "messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 256}'Python
import requests
r = requests.post(
"https://go.fastrouter.ai/api/v1/chat/completions",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "perplexity/sonar",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
},
)
print(r.json())JavaScript
const r = await fetch("https://go.fastrouter.ai/api/v1/chat/completions", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "perplexity/sonar",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}),
});
console.log(await r.json());Запрос (JSON)
{
"model": "perplexity/sonar",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}Ответ (JSON)
{
"id": "chatcmpl-...",
"object": "chat.completion",
"model": "perplexity/sonar",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hi! How can I help?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 12,
"total_tokens": 21
}
}Адрес взят из списка моделей провайдера - сверьте с его документацией.
Source: AI Rate Card, https://airatecard.com/ru/c/offer%3Afastrouter%7Cperplexity/sonar, prices checked 2026-11-04; seller's page: https://fastrouter.ai/models/perplexity/sonar
Технические данные
ID: offer:fastrouter|perplexity/sonar