Pay only for what you use with transparent pricing across our Search and Content APIs. No hidden fees, no surprises - just predictable costs based on actual usage.

Search API Pricing

Pay per retrieval with transparent CPM (Cost Per Mille) pricing for search results.

Cost Control

Set your maximum price for a thousand retrievals (CPM) to maintain full control over your spending:
from valyu import Valyu

valyu = Valyu(api_key="your-api-key-here")

response = valyu.search(
    "Implementation details of agentic search-enhanced large reasoning models",
    max_num_results=5,            # Limit to top 5 results
    max_price=30                  # Maximum price for a thousand retrievals (CPM)
)
You’ll receive a response where the total CPM cost of all returned data points is equal to or lower than the max_price you set. If your max price is too low, you will receive a partial success response with a warning:
{
    "response_code": 206, # Partial success
    "success": true,
    "error": "3 data points were removed for too low max_price",
    ...
}

Search Pricing Tiers

Data Source TypePrice (per 1k retrievals)What You Get
Open Databases$0.50Full-text multimodal content from sources like arXiv, Wikipedia, PubMed, and more
Web Search$1.50Fresh, full-text web content from across the internet
Financial & Market Data$8.00Real-time equities, crypto, and market data - complete datasets, not snippets
Proprietary Databases$30-50Licensed reference materials, academic journals, books, and other premium sources

Content API Pricing

Pay per successful URL with simple, transparent pricing for content extraction.
curl -X POST https://api.valyu.network/contents \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "urls": [
      "https://example.com/article1",
      "https://example.com/article2"
    ],
    "response_length": "medium",
    "summary": true
  }'

Content Pricing Tiers

FeaturePrice per URLDescription
Base Extraction$0.001Clean content extraction from web pages
AI Processing+$0.001Any AI feature (summarization or structured extraction)
Failed URLs$0.00No charge for unsuccessful extractions

Fair Pricing Model

Only pay for URLs that are successfully processed - failed extractions cost nothing.

Pricing Examples

Basic Extraction (10 URLs)
  • Base extraction: 10 × $0.001 = $0.01
  • Total: $0.01
AI Processing (5 URLs with summary)
{"summary": "Summarize key points"}
  • Base extraction: 5 × $0.001 = $0.005
  • AI processing: 5 × $0.001 = $0.005
  • Total: $0.01
Mixed Success (10 URLs, 2 failed)
  • Successful URLs: 8 × $0.001 = $0.008
  • Failed URLs: 2 × $0.00 = $0.00
  • Total: $0.008

Ready to Get Started?