This page shows pricing information to help you understand API costs.For billing setup, payment methods, and usage monitoring, visit the Admin section. For rate limits, see the Rate Limits & Usage Tiers page.
Search API Pricing
| API | Price per 1K requests | Description |
|---|---|---|
| Search API | $5.00 | Raw web search results with advanced filtering |
No token costs: Search API charges per request only, with no additional token-based pricing.
Agentic Research API Pricing
The Agentic Research API provides access to third-party models from OpenAI, Anthropic, Google, and xAI with transparent, token-based pricing at direct provider rates with no markup.Model Pricing
Agentic Research API pricing varies by provider and model, with each provider offering multiple models at different price points.View Complete Third-Party Model Pricing
See the full pricing breakdown for all available models from OpenAI, Anthropic, Google, and xAI, including cache rates and provider documentation links on the Agentic Research API Models page.
Tool Pricing
When using web search tools with the Agentic Research API:| Tool | Price | Description |
|---|---|---|
web_search | $0.005 per invocation | Performs web searches to retrieve current information |
fetch_url | $0.0005 per invocation | Fetches and extracts content from specific URLs |
Tool costs are separate from model token costs. If a model makes 3 web searches during a request, you pay model tokens + (3 × $0.005) for searches.
Grounded LLM Pricing
Total cost per query = Token costs + Request fee (varies by search context size, applies to Sonar, Sonar Pro, and Sonar Reasoning Pro models only)
- Token Pricing
- Request Pricing
- Pro Search Pricing
Token Pricing
Token pricing is based on the number of tokens in your request and response.| Model | Input Tokens ($/1M) | Output Tokens ($/1M) | Citation Tokens ($/1M) | Search Queries ($/1K) | Reasoning Tokens ($/1M) |
|---|---|---|---|---|---|
| Sonar | $1 | $1 | - | - | - |
| Sonar Pro | $3 | $15 | - | - | - |
| Sonar Reasoning Pro | $2 | $8 | - | - | - |
| Sonar Deep Research | $2 | $8 | $2 | $5 | $3 |
Token and Cost Glossary
Token and Cost Glossary
Input Tokens
The number of tokens in your prompt or message to the API. This includes:- Your question or instruction
- Any context or examples you provide
- System messages and formatting
Output Tokens
The number of tokens in the API’s response. This includes:- The generated answer or content
- Any explanations or additional context
- Search results and references
Citation Tokens
Tokens used specifically for generating search results and references in responses. Only applies to Sonar Deep Research model.Example: Including source links, reference numbers, and bibliographic informationSearch Context Size vs Context Window
Search context size is not the same as the context window.- Search context size: How much web information is retrieved during search (affects request pricing)
- Context window: Maximum tokens the model can process in one request (affects token limits)
Search Queries
The number of individual searches conducted by Sonar Deep Research during query processing. This is separate from your initial user query.- The model automatically determines how many searches are needed
- You cannot control the exact number of search queries
- The
reasoning_effortparameter influences the number of searches performed - Only applies to Sonar Deep Research model
Reasoning Tokens
Tokens used for step-by-step logical reasoning and problem-solving. Only applies to Sonar Deep Research model.Example: Breaking down a complex math problem into sequential steps with explanationsToken Calculation: 1 token ≈ 4 characters in English text. The exact count may vary based on language and content complexity.
Cost Examples
Sonar Web Search Example
Sonar • 500 input + 200 output tokens
- Low
- Medium
- High
| Component | Cost |
|---|---|
| Input tokens | $0.0005 |
| Output tokens | $0.0002 |
| Request fee | $0.005 |
| Total | $0.0057 |
Deep Research Example
Sonar Deep Research
- Low
- Medium
- High
| Component | Cost |
|---|---|
| Input tokens (33) | $0.000066 |
| Output tokens (7163) | $0.057304 |
| Citation tokens (20016) | $0.040032 |
| Reasoning tokens (73997) | $0.221991 |
| Search queries (18) | $0.09 |
| Total | $0.409393 |