AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
Perplexity

Sonar API

Perplexity
About

Process massive datasets with Sonar, featuring an expansive 128K context window for long-document analysis. This model delivers cost-effective pricing at $1.00/1M input and $1.00/1M output tokens. Access Sonar via the Perplexity API with up to 4K output tokens.

Capabilities

Input Modalities

text

Output Modalities

text
Reasoning
No
Structured Output
No
Tool Use
No
WeightsClosed
Temperature
Adjustable
Attachment
Not Supported
Limits
Context Window
128K

Tokens

Input Limit
128K

Tokens

Max Output
4K

Tokens

Pricing

Standard (per 1M tokens)

Input
$1.00
Output
$1.00
Frequently Asked Questions

Sonar by Perplexity costs $1.00 per 1M input tokens and $1.00 per 1M output tokens.

Model Details
ID
sonar
Provider
Perplexity
Family
sonar
Release Date
Jan 1, 2024
Knowledge Cutoff
Sep 1, 2025
API Integration
NPM Package
@ai-sdk/perplexity
Environment Variables
PERPLEXITY_API_KEY
Documentation