Primer · AI infrastructure

The Search Engine Your Agent Calls

When a person searches, they type three words into Google. When an agent searches, it calls an API with a whole sentence. Exa built the search engine for the second customer.

aitools

Researched October 2026

Ink illustration: a question in a speech bubble sends a red dotted path through a constellation of web pages and lands on one glowing page.

The brief

Exa is a search engine sold as an API (application programming interface). Your code sends a question; Exa sends back ranked pages with their text already extracted. No ads, no ten blue links, no scraping step.

Exa sells search the way the cloud sells compute: by the call, to machines.

The company trains its own embedding models and crawls its own index. A query is matched by meaning, not by shared words. That one design choice drives everything else in this primer: the pricing, the five speed settings, and the fight with Tavily, Brave, and Perplexity.

One sentence to remember: Exa sells an agent the pages it would have found by reading the web itself, ranked by meaning, billed per call.

Search by meaning, drawn

Keyword search asks which pages contain your words. Exa asks a different question: which pages sit closest to your sentence in meaning? Both the sentence and every page become a point in a space, and the nearest points win.

A page can win without sharing a single word with the query, and a page stuffed with the query's words can lose.

Figure 1One sentence becomes one point

The closeness score has a name and a formula: cosine similarity, the cosine of the angle between the two points' arrows from the origin.

$$\mathrm{sim}(q, d) = \frac{q \cdot d}{\lVert q \rVert \, \lVert d \rVert}$$

Where \(q\) is the query's vector (its list of numbers), \(d\) is a page's vector, \(q \cdot d\) is the dot product (multiply matching entries and add), and \(\lVert v \rVert\) is a vector's length, the square root of its entries squared and summed.

Run it on Figure 1's winner. The query is \(q = (0.80, 0.60)\) and the lending explainer is \(d = (0.90, 0.44)\):

$$\mathrm{sim} = \frac{0.80 \times 0.90 + 0.60 \times 0.44}{1.000 \times 1.002} = \frac{0.984}{1.002} \approx 0.982$$

The river page scores 0.677 by the same arithmetic. Real Exa vectors carry thousands of entries, not two; the toy pair keeps the shape of the computation honest at a size you can check by hand.

How it works

One endpoint takes a sentence and returns pages with their text inside; everything else Exa sells is a variation on that envelope.

Worked example: one agent's monthly bill

An illustrative workload, priced line by line from the pricing page read on October 17, 2026. A research agent runs 20,000 Fast searches a month, reads the full text of every page it finds, and sends 200 harder questions to the Agent endpoint at medium effort.

20,000 Fast searches at $7 per 1,000$140
20,000 pages of contents at $1 per 1,000$20
200 medium Agent runs at $0.10 each$20
List total$180
Monthly free credit−$10
Due$170

Illustrative, not a quote: enterprise contracts and volume change every line. The point is the shape: search is the bill; contents and agent runs are rounding errors next to it.

The price of a question

Every vendor in this market bills per 1,000 searches, so the honest comparison is one number per row, in the same role each time. Drag the volume and pick a gear; the rows below re-price themselves.

Picking the gear moves the bill more than picking the vendor.

Figure 2What a month of questions costs

List prices per 1,000 searches, base tiers, read October 2026 from each vendor's pricing page or documentation. Tavily basic is 1 credit per search: 0.8 cents a credit pay-as-you-go, 0.5 cents on monthly plans. Exa's rows include up to 10 results; each extra result adds $1 per 1,000.

One query, five doors

The same question costs between $5 and $14 per 1,000 calls depending on which door it enters, and two of the oldest doors are now closed.

One shared question runs through every option below: “recent papers on retrieval for coding agents.” Each row keeps the same terms in the same roles: what the call returns, then what 1,000 calls cost. Compiled from each vendor's docs and pricing pages in October 2026; no live calls were run, because this primer holds no vendor API keys.

Figure 3The locked comparison

Google sells no general web-search API to new builders; its Custom Search JSON API is wound down, with shutdown set for January 1, 2027. Microsoft retired the Bing Search APIs on August 11, 2025. What remains from both giants is grounding inside their own agent products, priced per query and answered in their own format.

Timeline

Exa's nine-figure valuations arrived only after the incumbents left the raw-search market.

Key voices

Everyone in this market agrees agents will search constantly; they disagree about who should own the index those searches run on.

Where leaders think this goes

The split is not about whether agents search; it is about whether the index is a product or a feature.

Positions as of October 2026, attributed where each was stated.

Where they agree

Where they split

Takeaways

Exa turned search into a utility an agent buys by the call: a sentence goes in, ranked pages with their text come out, and the meter runs per 1,000 questions. Its edge is a meaning-based index it owns outright. Its risk is the same as every independent's: the platform giants give search away inside their own agent stacks, and two of the three biggest names in benchmarks disagree about whether Exa's results are even the best.

  • Meaning beats words. Exa's models train on links, so a page can rank without sharing a word with the query; Figure 1's arithmetic is the whole idea at toy size.
  • Search is the bill. In the worked example, $140 of a $180 month is plain searches; contents at $1 per 1,000 pages and medium Agent runs at $0.10 barely register.
  • The old doors closed. Microsoft retired the Bing APIs in August 2025 and Google wound its search API down; raw results now come from independents or not at all.
  • Quality is unsettled. One independent 300-question test put Exa Fast at 99.3 percent accuracy; another benchmark series put Brave first. Run your own queries before committing.
  • Scale claims are self-reported. The 100 billion documents, 1.4 trillion tracked URLs, and the plan to pass Google's scale in 2027 are Exa's numbers, printed here as claims, not findings.

Keep exploring

Sources

    Prices are list prices read on October 17, 2026 and will move. Index sizes, document counts, customer counts, and quality claims attributed to Exa are the company's own and are flagged as self-reported where they appear. Benchmarks are labeled with who ran them; no benchmark here was run by this primer.