OpenRouter model

Sonar

Perplexity: Sonar. Vergelijk API-prijzen, provider, contextlengte, capaciteiten, use cases, latentie en alternatieven. image understanding, multimodal chat. $0.188 / 1M tokens / $0.188 / 1M tokens. 127.1k tokens.

OpenRouterPlatform curatedCatalog
StreamingVision
Inputprijs$0.188 / 1M tokens
Outputprijs$0.188 / 1M tokens
Contextlengte127.1k tokens
Max output8.2k tokens

Wat is Sonar in NextModel?

Perplexity: Sonar. Vergelijk API-prijzen, provider, contextlengte, capaciteiten, use cases, latentie en alternatieven. image understanding, multimodal chat. $0.188 / 1M tokens / $0.188 / 1M tokens. 127.1k tokens.

Beste toepassingen

  • image understanding
  • multimodal chat

OpenAI-compatibel voorbeeld

Houd de OpenAI SDK-stijl aan, wijs base_url naar NextModel en gebruik catalogus-ID perplexity--sonar.

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",
    messages=[{"role": "user", "content": "Hello from NextModel"}]
)

print(resp.choices[0].message.content)

Vergelijkbare alternatieven

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 FAQ