OpenRouter modell

Sonar

Perplexity: Sonar. Hasonlitsd ossze az API-arat, szolgaltatot, kontextushosszt, kepessegeket, use case-eket, kesleltetest es alternativakat. image understanding, multimodal chat. $0.188 / 1M tokens / $0.188 / 1M tokens. 127.1k tokens.

OpenRouterPlatform curatedCatalog
StreamingVision
Bemeneti ar$0.188 / 1M tokens
Kimeneti ar$0.188 / 1M tokens
Kontextus hossza127.1k tokens
Max kimenet8.2k tokens

Mi az a Sonar a NextModelben?

Perplexity: Sonar. Hasonlitsd ossze az API-arat, szolgaltatot, kontextushosszt, kepessegeket, use case-eket, kesleltetest es alternativakat. image understanding, multimodal chat. $0.188 / 1M tokens / $0.188 / 1M tokens. 127.1k tokens.

Legjobb felhasznalas

  • image understanding
  • multimodal chat

OpenAI-kompatibilis pelda

Tartsd meg az OpenAI SDK stilust, iranyitsd a base_url-t a NextModelre es hasznald a katalogus ID-t 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)

Hasonlo alternativak

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