Back to Models

Perplexity: Sonar

perplexity/sonar
Jan 27, 2025127.1K context$1.00/M in · $1.00/M out

Description

Sonar is lightweight, affordable, fast, and simple to use — now featuring citations and the ability to customize sources. It is designed for companies seeking to integrate lightweight question-and-answer features optimized for speed.

Specifications

Provider
perplexity
Context Length
127.1K
Max Output
Modality
Intextimage
Outtext

Pricing

TypePrice / 1M tokens
Input$1.00
Output$1.00
Web Search$0.0050 / call

Quick Start

curl https://api.ominigate.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-omg-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "perplexity/sonar",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'