OpenRouter modelo

Sonar Pro

Perplexity: Sonar Pro Compara precios API, proveedor, longitud de contexto, capacidades, casos de uso, latencia y alternativas. image understanding, multimodal chat. $0.564 / 1M tokens / $2.82 / 1M tokens. 200k tokens.

OpenRouterPlatform curatedCatalog
StreamingVisionLong context
Precio entrada$0.564 / 1M tokens
Precio salida$2.82 / 1M tokens
Longitud de contexto200k tokens
Salida maxima8k tokens

Que es Sonar Pro en NextModel?

Perplexity: Sonar Pro Compara precios API, proveedor, longitud de contexto, capacidades, casos de uso, latencia y alternativas. image understanding, multimodal chat. $0.564 / 1M tokens / $2.82 / 1M tokens. 200k tokens.

Mejores casos de uso

  • image understanding
  • multimodal chat

Ejemplo compatible con OpenAI

Mantén el estilo del SDK de OpenAI, apunta base_url a NextModel y usa el ID de catalogo 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)

Alternativas similares

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