---
title: Perplexity: Sonar Reasoning Pro | Text Generation | ModelsLab
description: Build with Perplexity: Sonar Reasoning Pro API by Perplexity. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab.com/models/perplexity/perplexity-sonar-reasoning-pro/api.md
canonical: https://modelslab.com/models/perplexity/perplexity-sonar-reasoning-pro/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T02:01:40.090812Z
---

Perplexity: Sonar Reasoning Pro
---

 [LLMs.txt](https://modelslab.com/models/open_router/perplexity-sonar-reasoning-pro/llms.txt) [.md](https://modelslab.com/models/perplexity/perplexity-sonar-reasoning-pro.md)

perplexity-sonar-reasoning-pro perplexity Closed Source Model $5.000000 / call

Perplexity: Sonar Reasoning Pro
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Perplexity: Sonar Reasoning Pro

perplexity perplexity-sonar-reasoning-pro

Copy model ID

PricingInput $2.00 / 1M tokens

Output $8.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-5v-turbo)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 5V Turbo

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-5v-turbo)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-4.5)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 4.5

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-4.5)

[DD](https://modelslab.com/models/open_router/deepseek-deepseek-chat-v3.1)[Open Router](https://modelslab.com/models/open_router)

 [DeepSeek: DeepSeek V3.1

Closed Source Model](https://modelslab.com/models/open_router/deepseek-deepseek-chat-v3.1)

[NM](https://modelslab.com/models/together_ai/nim-nv-mistralai-mistral-nemo-12b-instruct)[Together AI](https://modelslab.com/models/together_ai)

 [nim/nv-mistralai/mistral-nemo-12b-instruct

Closed Source Model](https://modelslab.com/models/together_ai/nim-nv-mistralai-mistral-nemo-12b-instruct)

[LL](https://modelslab.com/models/open_router/liquid-lfm-2.5-1.2b-thinking-free)[Open Router](https://modelslab.com/models/open_router)

 [LiquidAI: LFM2.5-1.2B-Thinking (free)

Closed Source Model](https://modelslab.com/models/open_router/liquid-lfm-2.5-1.2b-thinking-free)

[N8](https://modelslab.com/models/together_ai/nim-mistralai-mixtral-8x22b-instruct-v01)[Together AI](https://modelslab.com/models/together_ai)

 [nim/mistralai/mixtral-8x22b-instruct-v01

Closed Source Model](https://modelslab.com/models/together_ai/nim-mistralai-mixtral-8x22b-instruct-v01)

[PS](https://modelslab.com/models/open_router/perplexity-sonar-deep-research)[Open Router](https://modelslab.com/models/open_router)

 [Perplexity: Sonar Deep Research

Closed Source Model](https://modelslab.com/models/open_router/perplexity-sonar-deep-research)

[MM](https://modelslab.com/models/open_router/mistralai-mixtral-8x7b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mixtral 8x7B Instruct

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mixtral-8x7b-instruct)

[TR](https://modelslab.com/models/open_router/thedrummer-rocinante-12b)[Open Router](https://modelslab.com/models/open_router)

 [TheDrummer: Rocinante 12B

Closed Source Model](https://modelslab.com/models/open_router/thedrummer-rocinante-12b)

[OO](https://modelslab.com/models/open_router/openai-o4-mini-high)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: o4 Mini High

Closed Source Model](https://modelslab.com/models/open_router/openai-o4-mini-high)

[NL](https://modelslab.com/models/open_router/nvidia-llama-3.3-nemotron-super-49b-v1.5)[Open Router](https://modelslab.com/models/open_router)

 [NVIDIA: Llama 3.3 Nemotron Super 49B V1.5

Closed Source Model](https://modelslab.com/models/open_router/nvidia-llama-3.3-nemotron-super-49b-v1.5)

[AN](https://modelslab.com/models/open_router/amazon-nova-2-lite-v1)[Open Router](https://modelslab.com/models/open_router)

 [Amazon: Nova 2 Lite

Closed Source Model](https://modelslab.com/models/open_router/amazon-nova-2-lite-v1)

[DR](https://modelslab.com/models/open_router/deepseek-deepseek-r1-distill-llama-70b)[Open Router](https://modelslab.com/models/open_router)

 [DeepSeek: R1 Distill Llama 70B

Closed Source Model](https://modelslab.com/models/open_router/deepseek-deepseek-r1-distill-llama-70b)

[OG](https://modelslab.com/models/open_router/openai-gpt-oss-20b-free)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: gpt-oss-20b (free)

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-oss-20b-free)

[MK](https://modelslab.com/models/open_router/moonshotai-kimi-k2.5)[Open Router](https://modelslab.com/models/open_router)

 [MoonshotAI: Kimi K2.5

Closed Source Model](https://modelslab.com/models/open_router/moonshotai-kimi-k2.5)

[QQ](https://modelslab.com/models/open_router/qwen-qwen2.5-vl-32b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen2.5 VL 32B Instruct

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen2.5-vl-32b-instruct)

[Q1](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-14B)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5 14B

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-14B)

[DD](https://modelslab.com/models/open_router/deepseek-deepseek-chat-v3-0324)[Open Router](https://modelslab.com/models/open_router)

 [DeepSeek: DeepSeek V3 0324

Closed Source Model](https://modelslab.com/models/open_router/deepseek-deepseek-chat-v3-0324)

About Perplexity: Sonar Reasoning Pro
---

Note: Sonar Pro pricing includes Perplexity search pricing. See \[details here\](https://docs.perplexity.ai/guides/pricingdetailed-pricing-breakdown-for-sonar-reasoning-pro-and-sonar-pro) Sonar Reasoning Pro is a premier reasoning model powered by DeepSeek R1 with Chain of Thought (CoT). Designed for...

### Technical Specifications

Model IDperplexity-sonar-reasoning-proCategoryLLM ModelsTaskText GenerationPrice$5.000000 per million tokensAddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Perplexity: Sonar Reasoning Pro into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "perplexity-sonar-reasoning-pro",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab.com/models/perplexity/perplexity-sonar-reasoning-pro/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Perplexity: Sonar Reasoning Pro API costs $5.000000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Perplexity](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Perplexity: Sonar Reasoning Pro FAQ
---

### What is Perplexity: Sonar Reasoning Pro?

Note: Sonar Pro pricing includes Perplexity search pricing. See \[details here\](https://docs.perplexity.ai/guides/pricing#detailed-pricing-breakdown-for-sonar-reasoning-pro-and-sonar-pro) Sonar Reasoning Pro is a premier reasoning model powered by DeepSeek R1 with Chain of Thought (CoT). Designed for

### How do I use the Perplexity: Sonar Reasoning Pro API?

You can integrate Perplexity: Sonar Reasoning Pro into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "perplexity-sonar-reasoning-pro" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Perplexity: Sonar Reasoning Pro cost?

Perplexity: Sonar Reasoning Pro costs $5.000000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Perplexity: Sonar Reasoning Pro model ID?

The model ID for Perplexity: Sonar Reasoning Pro is "perplexity-sonar-reasoning-pro". Use this ID in your API requests to specify this model.

### Does Perplexity: Sonar Reasoning Pro have a free tier?

Yes, ModelsLab offers a free tier that lets you try Perplexity: Sonar Reasoning Pro and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-15*