P
Sonar Pro
Sonar Pro, a language model from Perplexity.
modelOverride: { model: "sonar-pro" }
PPerplexity·Released March 2025
Pricing
- Input
- $3.00 / 1M
- Output
- $15.00 / 1M
- Per generation
- $0.014
- Per generation
- $0.0060
- Per generation
- $0.010
Specifications
- Context window
- 200,000 tokens
- Max output
- 8,000 tokens
- Released
- March 2025
Parameters
Model options, passed in
modelOverride.config.| Parameter | Type | Default | Range / options |
|---|---|---|---|
return_citationsDetermines whether or not a request to an online model should return citations. | Select | false | falsetrue |
return_imagesDetermines whether or not a request to an online model should return images. | Select | false | falsetrue |
Use this model
await mindstudio.generateText({ message: "...", modelOverride: { model: "sonar-pro", config: { return_citations: "false", return_images: "false", }, }, });