Perplexity · chat
sonar-medium-online
perplexity/sonar-medium-online
- Input price
- Not listed
- Output price
- $1.80 / 1M tokens
- Context window
- 12K tokens
- Lifecycle
- stable
sonar-medium-online for OpenAI-compatible gateway routing
sonar-medium-online is a Perplexity chat model in the Ferro Labs live catalog with a 12K tokens context window, 12K tokens maximum output, and capabilities including Streaming.
Token pricing is listed as input price not listed and $1.80 / 1M tokens for output tokens. Route calls through the Ferro Labs AI Gateway by sending model as perplexity/sonar-medium-online to the OpenAI-compatible chat completions endpoint. The catalog lists this model as stable for normal gateway routing.
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/sonar-medium-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.