Skip to content

Perplexity · chat

llama-3.1-sonar-large-128k-online

perplexity/llama-3.1-sonar-large-128k-online

Input price
$1.00 / 1M tokens
Output price
$1.00 / 1M tokens
Context window
127K tokens
Lifecycle
deprecated

llama-3.1-sonar-large-128k-online for OpenAI-compatible gateway routing

llama-3.1-sonar-large-128k-online is a Perplexity chat model in the Ferro Labs live catalog with a 127K tokens context window, 127K tokens maximum output, and capabilities including Streaming.

Token pricing is listed as $1.00 / 1M tokens for input tokens and $1.00 / 1M tokens for output tokens. Route calls through the Ferro Labs AI Gateway by sending model as perplexity/llama-3.1-sonar-large-128k-online to the OpenAI-compatible chat completions endpoint. The catalog marks this model as deprecated; plan a migration before routing new workloads.

OpenAI-compatible usage example

curl https://api.ferrolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "perplexity/llama-3.1-sonar-large-128k-online", "messages": [{"role": "user", "content": "Hello!"}]}'

Capabilities

  • Streaming

Modalities

Input

  • Text

Output

  • Text

More from Perplexity

Catalog prices may change. Verify current provider terms before purchasing.