Sonar Pro
Perplexity: Sonar Pro. Сравните цены API, провайдера, длину контекста, возможности, use cases, задержку и альтернативы. image understanding, multimodal chat. $0.564 / 1M tokens / $2.82 / 1M tokens. 200k tokens.
Что такое Sonar Pro в NextModel?
Perplexity: Sonar Pro. Сравните цены API, провайдера, длину контекста, возможности, use cases, задержку и альтернативы. image understanding, multimodal chat. $0.564 / 1M tokens / $2.82 / 1M tokens. 200k tokens.
Лучшие сценарии
- image understanding
- multimodal chat
Пример OpenAI-compatible
Сохраните стиль OpenAI SDK, направьте base_url на NextModel и используйте ID каталога perplexity--sonar-pro.
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.nextmodel.app/v1"
)
resp = client.chat.completions.create(
model="perplexity/sonar-pro",
messages=[{"role": "user", "content": "Hello from NextModel"}]
)
print(resp.choices[0].message.content)Похожие альтернативы
This model always redirects to the latest model in the Claude Fable family.
This model always redirects to the latest model in the Anthropic Claude Haiku family.
This model always redirects to the latest model in the Claude Opus family.
FAQ