Authorization: Bearer. See the Perplexity API docs for provider-specific parameters.
Supports both managed (Lava’s API keys) and unmanaged (bring your own credentials) mode.
Quick Start
Chat Completions
Target URL:https://api.perplexity.ai/chat/completions
| Content Type | application/json |
| Streaming | Yes (set stream: true in request body) |
| Model | Input / 1M tokens | Output / 1M tokens |
|---|---|---|
| sonar-pro | $3.00 | $15.00 |
| sonar-deep-research | $2.00 | $8.00 |
| sonar-reasoning-pro | $2.00 | $8.00 |
| sonar | $1.00 | $1.00 |
Next Steps
All Providers
Browse all supported AI providers
Forward Proxy
Learn how to construct proxy URLs and authenticate requests