Skip to main content
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

APIPrice per 1K requestsDescription
Search API$5.00Raw 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.

Tool Pricing

When using web search tools with the Agentic Research API:
ToolPriceDescription
web_search$0.005 per invocationPerforms web searches to retrieve current information
fetch_url$0.0005 per invocationFetches 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

Token pricing is based on the number of tokens in your request and response.
ModelInput 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

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
Example: “What is the weather in New York?” = ~8 input tokens

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
Example: “The weather in New York is currently sunny with a temperature of 72°F.” = ~15 output tokens

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 information

Search 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_effort parameter 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 explanations
Token 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
ComponentCost
Input tokens$0.0005
Output tokens$0.0002
Request fee$0.005
Total$0.0057

Deep Research Example

Sonar Deep Research
ComponentCost
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