Reference
Remy Reference/models/Sonar Reasoning Pro
P

Sonar Reasoning Pro

Sonar Reasoning Pro, a language model from Perplexity.
modelOverride: { model: "sonar-reasoning-pro" }
Perplexity·Released January 2025
Pricing
Input
$2.00 / 1M
Output
$8.00 / 1M
Per generation
$0.014
Per generation
$0.0060
Per generation
$0.010
Specifications
Context window
128,000 tokens
Max output
8,000 tokens
Aspect ratios
3
Released
January 2025
Parameters
Model options, passed in modelOverride.config.
ParameterTypeDefaultRange / options
return_citations
Determines whether or not a request to an online model should return citations.
Selectfalsefalsetrue
return_images
Determines whether or not a request to an online model should return images.
Selectfalsefalsetrue
search_context_size
Controls how much web information is retrieved. Higher context provides more comprehensive results but costs more per request.
Selectlowlowmediumhigh
Use this model
await mindstudio.generateText({
  message: "...",
  modelOverride: {
    model: "sonar-reasoning-pro",
    config: {
      return_citations: "false",
      return_images: "false",
    },
  },
});