How It Works

Pay only for what you use with transparent CPM (Cost Per Mille) pricing.

You pay per thousand items retrieved - no hidden fees, no surprises, just predictable costs based on actual usage.

Cost Control

Set your maximum price per thousand retreivals (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=10                  # Maximum price per thousand retreivals (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 recieve 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",
    ...
}

Pricing Examples

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

Ready to Get Started?