OpenRouter model

Sonar Pro

Perplexity: Sonar Pro. Porovnejte ceny API, poskytovatele, délku kontextu, schopnosti, use cases, latenci a alternativy. image understanding, multimodal chat. $0.564 / 1M tokens / $2.82 / 1M tokens. 200k tokens.

OpenRouterPlatform curatedCatalog
StreamingVisionLong context
Cena vstupu$0.564 / 1M tokens
Cena výstupu$2.82 / 1M tokens
Délka kontextu200k tokens
Max výstup8k tokens

Co je Sonar Pro v NextModelu?

Perplexity: Sonar Pro. Porovnejte ceny API, poskytovatele, délku kontextu, schopnosti, use cases, latenci a alternativy. image understanding, multimodal chat. $0.564 / 1M tokens / $2.82 / 1M tokens. 200k tokens.

Nejlepší použití

  • image understanding
  • multimodal chat

Příklad kompatibilní s OpenAI

Zachovejte styl OpenAI SDK, namiřte base_url na NextModel a použijte ID katalogu perplexity--sonar-pro.

Python
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)

Podobné alternativy

OpenRouterCatalog

This model always redirects to the latest model in the Claude Fable family.

$1.88 / 1M tokensInput$9.40 / 1M tokensOutput1MContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVision
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenRouterCatalog

This model always redirects to the latest model in the Anthropic Claude Haiku family.

$0.188 / 1M tokensInput$0.94 / 1M tokensOutput200kContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVision
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenRouterCatalog

This model always redirects to the latest model in the Claude Opus family.

$0.94 / 1M tokensInput$4.70 / 1M tokensOutput1MContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVision
Platform curatedNextModel gateway catalog (Go origin)
View details

FAQ

Perplexity: Sonar Pro FAQ