When an AI agent searches the web, you pay twice. Once to the search API, and again to your model for every token of the reply it reads. For agents the second bill is usually the bigger one, and almost no search API pricing page shows it.

This is the cost table we use to price a search stack in 2026: the per search fee, the measured reply size of each common request shape, and what that reply costs to read, per 1,000 searches.

Reader cost per 1,000 searches, by request shape

Reply sizes measured on 20 questions drawn with a fixed seed from SimpleQA Verified, 10 results a search, every API asked the same questions in the same order on December 3, 2026. Tokens are counted in o200k_base over the whole JSON reply. Reader cost is priced at $2 per million input tokens (Claude Sonnet 5.5 input pricing).

Request Mean tokens per reply Tokens per 1,000 searches Reader cost per 1,000 searches
SpecStream fast, GET /v1/web-search?speed=fast 3,760 3.76M $7.52
SpecStream compact, speed=fast&compact=true 4,312 4.31M $8.62
Exa, contents.highlights 2,350 2.35M $4.70
Exa, contents.text (page text) 56,230 56.23M $112.46
Tavily, search_depth basic 3,465 3.47M $6.93
Tavily, include_raw_content (page text) 73,624 73.62M $147.25

The lean shapes (snippets and highlights) are all cheap to read. The difference shows up when your agent needs the page text. To give a model page text with every result, Exa's contents.text sent 13 times and Tavily's include_raw_content sent 17.1 times the tokens of SpecStream compact, because they return whole pages and compact returns each page's best matching lines, up to 4,000 characters a source.

Fee plus reading, 1,000 SpecStream compact searches come to $9.62 with a Claude Sonnet 5.5 reader. You can run your own volumes in the token tax calculator or the AI search API cost calculator.

The search fee itself

Plan Price Per 1,000 fast searches
Pay as you go, fast tier $1 per 1,000 $1.00
Pay as you go, default tier $5 per 1,000 n/a
Pack: 80,000 searches, paid once, never expires $49 $0.61
Pack: 225,000 searches $119 $0.53
Pack: 490,000 searches $249 $0.51
New account credit, no card $2 2,000 searches free

The fast tier answered in a median of 937 ms over 6,548 live production calls in the 7 days to December 1, 2026. Page reads through the Extract API are $0.80 per 1,000 pages on the same key. Packs are at specstream.ai/deals.

If you are on Google Custom Search, you have four weeks

Google's Custom Search JSON API is closed to new customers and stops answering on January 1, 2027. It charges $5 per 1,000 queries today. The move is a base address and a key:

import requests # before # r = requests.get("https://www.googleapis.com/customsearch/v1", # params={"key": GOOGLE_KEY, "cx": CX, "q": "web search api pricing"}) # after: same request shape, same JSON shape (items[].title, link, snippet) r = requests.get("https://api.specstream.ai/customsearch/v1", params={"key": SPECSTREAM_KEY, "q": "web search api pricing", "num": 10, "start": 1}) for item in r.json()["items"]: print(item["title"], item["link"]) 

The Google CSE migrator runs one call in Google's exact JSON shape from your browser, with the measured time and the price beside Google's.

Drop in routes for the other search APIs

The same swap works for the APIs most agent stacks already call. Change the base address and the key, keep the request and the reply parsing:

You call today Point it at
Google Custom Search JSON API https://api.specstream.ai/customsearch/v1
Bing Web Search API v7 https://api.specstream.ai/v7.0/search
SerpApi https://api.specstream.ai/serpapi
Exa https://api.specstream.ai/exa
Tavily https://api.specstream.ai/tavily
Brave Search API https://api.specstream.ai/res/v1/web/search
Serper https://api.specstream.ai/serper
Firecrawl v2 https://api.specstream.ai/firecrawl
Perplexity Search API https://api.specstream.ai/perplexity
SearXNG https://api.specstream.ai/searxng/<key>

Each search on a drop in route is one fast search at $1 per 1,000. In the official Tavily Python SDK it is one argument:

from tavily import TavilyClient client = TavilyClient(api_key=SPECSTREAM_KEY, api_base_url="https://api.specstream.ai/compat/tavily") 

Add compact=true on the native route to cut what your reader reads. The full list of 70 drop in APIs is in the API reference.

How to price your own stack

  1. Count searches a month and how many results your agent actually reads.
  2. Measure the mean reply size of the exact request shape you send, in your model's tokenizer.
  3. Multiply by your model's input price. Add the search fee.
  4. Compare shapes, not providers: the page text shape is where the bill grows.

For most agent workloads, step 3 is the larger number. A search API that is cheaper per call can cost far more per answer.

Start with $2 of credit and no card at specstream.ai/signup.