An engineer is building an AI feature for her company’s product — a research assistant that needs to look things up on the web before answering. ChatGPT and Claude can browse the web inside the chat product, but that’s not a building block; she needs an API her code can call. The choice lands at five plausible shapes: Perplexity’s search-with-answer, Tavily’s search-results-as-LLM-context, the DIY combination of SerpAPI plus her own LLM, Brave’s independent search index, or Exa’s semantic-search-for-AI. And behind those five sits a second row of newer options — Serper, Parallel, Firecrawl, Linkup, You.com — plus SearXNG, which you can run yourself for free.
Each is a different shape. Choosing wrong means poor result quality, high running cost, or weeks of avoidable integration work. This guide is the side-by-side: output shape, price per 1,000 searches, free tiers, and the integration differences most marketing pages don’t surface. Every vendor price below was re-checked against the vendor’s own pricing or documentation pages on 25 November 2026.
The comparison matrix
| Perplexity API | Tavily | SerpAPI + your LLM | Brave Search API | Exa | |
|---|---|---|---|---|---|
| Output shape | Ranked web results (Search API), or an answer grounded in search (Agent API) | Search results with extracted page content, structured for LLM context | Raw search-results-page data (titles, snippets, URLs) for you to process | Raw results from Brave's own index; an Answers plan returns cited answers | Results from its own embeddings-based index, optionally with page contents |
| Best at | One-shot research questions; quick answer with sourcing | LLM-grounded workflows; agent context | Custom processing pipelines; full control over the LLM step | Independent (non-Google) results at a flat price | Semantic / conceptual queries for AI agents |
| Result quality (subjective) | High for general queries; weaker on niche / technical | Good; LLM-tuned ranking | Depends on which search engine (Google by default) | Good; Brave's independent index | Strong for semantic / conceptual queries; different shape than keyword |
| Citation / sourcing | Agent API answers cite sources; Search API returns URLs | Each result links to source | Manual — you build the citation logic | Search: manual. Answers plan: cited | Each result links to source |
| Free tier | None stated on the pricing pages | 1,000 credits a month, no card | 250 searches a month | $5 of free credit a month (card required) | $10 of credit a month (up to 2,500 Lite searches), no card |
| Price — entry | Search API $5 per 1,000 requests ($1 with Fast Search) | $0.008 per credit pay-as-you-go; a basic search is 1 credit, advanced 2 | $25/month for 1,000 searches (Starter) | $5 per 1,000 requests | $7 per 1,000 searches ($4 on Lite) |
| Latency | 1–5 seconds typical (includes synthesis) | 1–3 seconds typical | 300–800ms (search only; add LLM time) | 300–600ms | 500ms–2s |
| Search engine source | Proprietary + curated sources | Curated multi-source aggregation | Google (default), Bing, others | Brave's independent web index | Its own web index |
| Best for production AI agents | Yes — answer-shaped output ready to consume | Yes — purpose-built for LLM grounding | Yes if you want full pipeline control | Yes for cost-sensitive workloads | Yes — semantic-first matches agent needs |
What to actually use
For LLM-grounded workflows where you want pre-synthesised answers with sources — Perplexity API. Its Agent API answers a question with cited sources, which is the output closest to “ready to consume by an AI agent”. Note the change: Perplexity ended its Sonar Chat Completions on 27 September 2026 and moved answers to the Agent API, billed per token plus $2.50 per 1,000 web searches. If you only want the ranked results, its separate Search API costs $5 per 1,000 requests. Right for one-shot research, customer-support AI grounded in current info, RAG-over-web workflows.
For AI agents that consume search as raw context for their own reasoning — Tavily. Purpose-built for the “feed search results to an LLM for further processing” use case: results come back with the page content already extracted. Right answer for agentic workflows where your LLM does the synthesis.
For full control over the search + LLM pipeline — SerpAPI plus your own LLM. The most flexibility; the most engineering. SerpAPI returns raw search-results-page data; your code decides how to process it and what to feed your model. Right for teams that want fine-grained control over the entire pipeline and have engineering capacity to maintain it.
For cost-sensitive workloads with high query volume — Brave Search API, or Serper if you specifically want Google’s results. Brave charges a flat $5 per 1,000 requests from its own independent (not Google-derived) index. Serper sells prepaid packs of Google results: $50 buys 50,000 searches ($1 per 1,000), falling to $0.30 per 1,000 at the largest pack.
For semantic-search-style queries that don’t match traditional keyword patterns — Exa. Its own embeddings-based index is built for “find pages discussing this idea” rather than “find pages containing this keyword”. Right for research agents, recommendation systems, content-discovery features.
Tavily alternatives (and the newer search APIs)
If you came here looking for a Tavily alternative, these are the ones teams most often weigh against it. They split into three groups: cheaper raw Google results (Serper), agent-first APIs that also research or structure the answer (Parallel, Linkup, You.com), and search plus full-page scraping in one call (Firecrawl). SearXNG is the free, self-hosted option.
| Serper | Parallel | Firecrawl | Linkup | You.com API | SearXNG | |
|---|---|---|---|---|---|---|
| Output shape | Raw Google results as JSON (web, news, images, maps, shopping, scholar and more) | Ranked results (Search API); research runs with structured output (Task API) | Search results, optionally with each page's full content as markdown in the same call | Raw results, a sourced answer, or structured output — your choice per call | Raw web results (up to 100 per call), optionally with live full-page content; separate Answer and Research APIs | Raw results gathered from many other search engines |
| Free tier | 2,500 queries, no card | $5 of credit a month (card on file) | 1,000 credits a month, no card | $20 of credit for accounts that sign up with a work email | $10 of credit at signup, $90 more after verifying | Free software — you pay for your own server |
| Price per 1,000 searches | $1 at the 50,000 pack; $0.30 at the largest | $1 (turbo / fast) or $5 (basic / advanced) | 2 credits per 10 results; scraping each result adds 1 credit per page | $5 raw results, $6 with an answer (standard depth) | $5; full-page content $1 per 1,000 pages | $0 |
| Self-host | No | No | Yes — AGPL-3.0, runs on Docker | No | No | Yes — AGPL-3.0; this is the only way to run it |
Picking among them: Serper when you want Google’s results as cheaply as possible and will do the LLM step yourself. Parallel or Linkup when you want the API to do more of the agent’s work — Linkup returns a sourced answer or structured output in the same call, Parallel’s Task API runs multi-step research. Firecrawl when the agent needs the full text of the pages, not just snippets, because search and scrape happen in one request. You.com when you want up to 100 results per call or its Research API. SearXNG when cost is zero-tolerance and volume is low.
Exa vs Tavily, Serper, Brave and Perplexity
The comparisons people search for most, answered in a line each — using what each API returns and what it costs, not marketing claims.
- Exa vs Tavily. Exa searches its own embeddings-based index and returns results (page contents optional, $1 per 1,000 pages); Tavily returns results with the page content already extracted for the LLM. Exa costs $7 per 1,000 searches ($4 on Lite); Tavily’s basic search costs one credit, $8 per 1,000 at pay-as-you-go and as low as $5 per 1,000 on its $500 plan.
- Exa vs Serper (or SerpAPI). Different indexes: Exa’s own semantic index versus Google’s results. Serper is far cheaper per search ($1 per 1,000 at the 50,000 pack) but gives you raw Google results to process yourself; Exa is better when the query is a concept rather than keywords.
- Exa vs Brave. Two independent indexes. Brave is a traditional keyword index at a flat $5 per 1,000; Exa is semantic at $7 per 1,000 ($4 on Lite). Both have a monthly free credit.
- Exa vs Perplexity. Exa gives you results to reason over; Perplexity’s Agent API gives you a finished, cited answer. Both now sell raw search too — Perplexity’s Search API is $5 per 1,000 ($1 with Fast Search).
- Tavily vs SerpAPI. Tavily is LLM-ready content from a curated mix of sources; SerpAPI is raw Google results-page data. SerpAPI’s entry plan is $25 a month for 1,000 searches; Tavily gives 1,000 credits a month free.
What you'll actually pay
At typical small-business volumes, the cost differences are modest; at high volume the per-query spread matters. Pick on integration fit and output shape, not on a few cents per query.
Running your own search with SearXNG
SearXNG is free, open-source software (AGPL-3.0) that you run on your own server. It sends each query to many other search engines and merges what comes back. Two things to know before you build on it. First, its JSON output is off by default: you switch it on in its settings file, and many public SearXNG sites keep it off, so in practice you need your own copy. Second, the engines it asks can treat it as a bot — when one answers with a CAPTCHA or a block, SearXNG pauses that engine for a while (a day for a CAPTCHA, longer for some). That makes it a good fit for internal tools and low-volume agents, and a poor one for a customer-facing product with steady traffic. Firecrawl can also be self-hosted (AGPL-3.0, Docker), though some of its hosted features — screenshots and page actions, for example — aren’t in the default self-hosted setup.
Volatility notes
- Pricing volatility. Most of these providers have changed their pricing recently — Exa, for example, now gives a monthly free credit instead of a set number of free requests. Expect more changes.
- Perplexity’s API reshuffle. Sonar Chat Completions ended on 27 September 2026; answers now come from the Agent API, and raw results from a separate Search API.
- Google’s own search API is closing. The Custom Search JSON API is closed to new customers, and existing customers must move off it by 1 January 2027.
- LLM-native search integration. Built-in search in flagship LLM products (Claude, GPT, Gemini) keeps improving, which can remove the need for a dedicated search API for some workloads.
Re-verify pricing and feature scope every 3–6 months.
Related work
For the broader RAG pattern that often uses these search APIs, see RAG explained without acronyms. For the internal-Q&A pattern that complements web search, see Internal Q&A bot over company docs. For the AI-agent patterns these often feed into, see AI agents for inbound qualification. For the underlying tokens-and-cost math, see Tokens, context windows, and what they cost.
FAQ
Why not just use Google's search API directly?
Google's Custom Search JSON API is closed to new customers, and existing customers have to move off it by 1 January 2027. For searching up to 50 domains Google points to Vertex AI Search; for the whole web it says to contact Google. That is why the third-party providers here (SerpAPI, Serper and the AI-native APIs) are the standard path.
What's the best Tavily alternative?
It depends on what you use Tavily for. For cheaper raw results, Serper ($1 per 1,000 Google searches at its 50,000 pack) or Brave ($5 per 1,000, independent index). For search plus full page content in one call, Firecrawl. For an API that also returns a sourced answer or structured output, Linkup or Parallel. For a free self-hosted option, SearXNG.
Exa or Tavily for an AI agent?
Exa if the agent's queries are concepts (find pages about an idea) — it runs its own semantic index, $7 per 1,000 searches or $4 on Lite. Tavily if the agent needs the page content handed to it ready for the LLM — $0.008 per credit, one credit per basic search, with 1,000 free credits a month.
What about ChatGPT or Claude's built-in browsing — when is dedicated search needed?
Built-in browsing is fine for one-shot user queries. Dedicated APIs become necessary when you're building search into your own product, running at scale (thousands of queries per day), need consistent latency, or need the search output in a programmatic form your application processes further.
Do these APIs respect robots.txt and avoid copyright issues?
The reputable providers operate within established web-crawling norms. Snippets in search results are a different matter from copying whole pages, and some plans restrict what you may do with results — Brave, for example, requires a custom plan to store results or train models on them. For high-stakes use cases (regulated content, competitive intelligence), check each provider's terms.
How do we evaluate which one fits our workflow?
Run the same 20 representative queries through 2–3 providers. Compare result quality, latency and integration effort. Most providers here have a free tier or free monthly credit that covers a meaningful test. Don't pick on marketing pages; the right fit depends on your specific query patterns.