Sonar
Perplexity: Sonar API कीमत, provider, context length, capabilities, use cases, latency और विकल्पों की तुलना करें। image understanding, multimodal chat. $0.188 / 1M tokens / $0.188 / 1M tokens. 127.1k tokens.
NextModel में Sonar क्या है?
Perplexity: Sonar API कीमत, provider, context length, capabilities, use cases, latency और विकल्पों की तुलना करें। image understanding, multimodal chat. $0.188 / 1M tokens / $0.188 / 1M tokens. 127.1k tokens.
उपयुक्त उपयोग
- image understanding
- multimodal chat
OpenAI-compatible कोड उदाहरण
OpenAI SDK शैली बनाए रखें, base_url को NextModel पर सेट करें, और catalog ID का उपयोग करें perplexity--sonar.
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",
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