Pro Search is now generally available for sonar-pro.
Pro Search enhances your queries with automated tool usage, enabling multi-step reasoning through intelligent tool orchestration.
What’s new
- Multi-step reasoning — the model automatically performs multiple web searches and fetches URL content to build comprehensive answers
- Real-time thought streaming — watch the model’s reasoning process as it works through your question
- Automatic classification — use
search_type: "auto"to let the system route queries based on complexity - Built-in tools —
web_searchandfetch_url_contentare used automatically
completion = client.chat.completions.create(
model="sonar-pro",
messages=[{"role": "user", "content": "Research solar panel ROI for California homes"}],
search_type="pro",
stream=True # Required for Pro Search
)
for chunk in completion:
print(chunk.choices[0].delta.content or "", end="")
Important: Pro Search requires stream=True. Non-streaming requests will return an error.
| Search Type | Description | Per 1K Requests |
|---|---|---|
pro |
Full multi-step reasoning | $14–$22 |
fast |
Quick search, fewer steps | $6–$14 |
auto |
AI decides based on query | varies |