Sonar
Perplexity: Sonar Bandingkan harga API, penyedia, panjang konteks, keupayaan, kes penggunaan, latensi dan alternatif. image understanding, multimodal chat. $0.188 / 1M tokens / $0.188 / 1M tokens. 127.1k tokens.
Apakah Sonar dalam NextModel?
Perplexity: Sonar Bandingkan harga API, penyedia, panjang konteks, keupayaan, kes penggunaan, latensi dan alternatif. image understanding, multimodal chat. $0.188 / 1M tokens / $0.188 / 1M tokens. 127.1k tokens.
Kes penggunaan terbaik
- image understanding
- multimodal chat
Contoh serasi OpenAI
Kekalkan gaya SDK OpenAI, halakan base_url ke NextModel dan gunakan ID katalog 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)Alternatif serupa
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