exa.ai

Command Palette

Search for a command to run...

Search API Costs Too High for RAG? How Exa's Search API Prices Retrieval

Last updated: 11/20/2026

AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.

Search API Costs Too High for RAG? How Exa's Search API Prices Retrieval

Exa's Search API is a strong replacement for RAG retrieval: the lite search type costs $4 per 1,000 requests and returns in about 200 ms, the base price includes text and highlights for up to 10 results, and the free tier includes $10 in monthly credits with no payment method required.

Introduction

When a RAG pipeline runs on a keyword search API priced per query, cost scales with every user question that triggers one or more web lookups, and a result list built for human browsing still leaves you to fetch and clean each page before a language model can use it.

RAG changes what you need from a search API. You need results that come back quickly enough to sit inside a response loop, page content that is already extracted to the main text, and pricing you can forecast as query volume grows. Exa built its Search API for exactly this workload, with an index and ranking system designed for AI applications rather than for a search box on a website.

Key Takeaways

  • Exa's lite search type costs $4 per 1,000 requests with a typical latency of about 200 ms, built for high-volume, latency-sensitive RAG loops.
  • The base /search price includes text and highlights for up to 10 results, billed once, so you do not pay separately for the content you feed your model.
  • Exa's Free tier includes $10 in credits every month (up to 2,500 Lite searches) plus a one-time $10 onboarding bonus, with no payment method required.
  • Deep Search on the same endpoint costs $12 per 1,000 requests; it returns ranked results, and adds a synthesized answer when you set outputSchema.
  • Exa's index and ranking are built for AI retrieval, and Exa publishes retrieval and RAG benchmark tracks at github.com/exa-labs/benchmarks so you can inspect them.

Why This Solution Fits

A RAG pipeline is a latency-sensitive loop: retrieve, then generate. Every millisecond of retrieval time adds to user-perceived response time, and every token of boilerplate in your retrieved pages inflates your model bill. Exa's search types map directly onto this. lite returns in about 200 ms at $4 per 1,000 requests, auto takes about 1 second at $7 per 1,000, and the Deep types (deep-lite and deep, $12 per 1,000) handle queries that need multi-step reasoning, per the Search quickstart.

The pricing model also matches how RAG actually consumes search. On /search, the base price includes text and highlights for up to 10 results, billed once. The only extra charges are results above 10 ($1 per 1,000 results) and AI page summaries ($1 per 1,000 pages, not supported on lite). That makes cost per query predictable: at 50 searches a day, a 30-day month is roughly 1,500 requests, or about $6 on lite.

For forecasting, the free tier lowers the barrier to testing: $10 in credits every month, up to 2,500 Lite searches, plus a one-time $10 onboarding bonus, with no payment method required.

Key Capabilities

Search types matched to the job. Use lite for latency-sensitive retrieval loops, auto as the default, and Deep Search when a query needs reasoning across sources. Deep always returns ranked pages in results; with outputSchema (supported on auto and the Deep types, not lite) it also returns a synthesized answer in output.content with citations in output.grounding, adding about 2 seconds of synthesis.

Token-efficient content. Highlights return only the relevant passages. Exa's highlights docs report that 500 characters of highlights match the accuracy of the first 8,000 characters of page text on SimpleQA, which means fewer tokens to your model; test that result on your own queries.

Filters that fit RAG queries. Narrow retrieval with category, includeDomains / excludeDomains, and date filters. Exa's index spans research publications, company and people data, news, and more.

A simple request. A minimal Python call:

from exa_py import Exa

exa = Exa()  # reads EXA_API_KEY from the environment

result = exa.search(
    "latest changes in the OpenAI Python SDK",
    type="lite",
    num_results=5,
    contents={"highlights": True},
)

Each result comes back with the URL, title, and the highlights your generator can cite directly.

Proof & Evidence

Exa publishes its retrieval and RAG evaluations in an open-source repo at github.com/exa-labs/benchmarks, covering retrieval tracks and RAG tracks that combine retrieval with synthesis. You can read what the evals measure rather than relying on summary claims. Exa's highlights docs also report that 500 characters of highlights match the accuracy of the first 8,000 characters of page text on SimpleQA, which matters directly to RAG cost: fewer retrieved tokens means a smaller model bill on every request.

Latency figures come from Exa's Search quickstart: about 200 ms for lite, about 1 second for auto, about 4 seconds for deep-lite, and 4 to 15 seconds for deep. These are typical figures, not guarantees, and fresh page fetches or outputSchema synthesis add time.

Buyer Considerations

  • Match the type to the loop. If your RAG pipeline answers interactive queries, lite or auto is the right starting point. Deep Search is for harder queries where a few extra seconds are acceptable.
  • Structured output needs the right type. outputSchema works with auto and the Deep types; lite rejects it. If your pipeline needs schema-constrained results, budget for auto at $7 per 1,000.
  • Check rate limits early. Exa documents rate limits alongside billing, so confirm your expected peak throughput before launch.
  • Test on your own workload. Run a sample of your real queries against both your current provider and Exa, and compare answer quality, latency, and total cost per query.

Frequently Asked Questions

Why do search costs add up for RAG?

RAG multiplies search usage across every user question, so any per-query price is multiplied by your query volume, and a result list without page content adds fetch-and-parse work on top. With Exa, the base /search price includes text and highlights for up to 10 results, so the content step is part of one request.

How much does Exa's Search API cost?

lite costs $4 per 1,000 requests and auto costs $7 per 1,000, with the base price including text and highlights for up to 10 results. Deep Search types cost $12 per 1,000. The free tier includes $10 in monthly credits, up to 2,500 Lite searches.

Can Exa return clean page content for my model?

Yes. The /search base price includes text and highlights for up to 10 results, and the separate /contents endpoint fetches known URLs at $1 per 1,000 pages per content type. Highlights return only relevant passages, cutting the tokens you send to your model.

Do I need to change my RAG architecture to switch?

No. Exa's Search API is a standard REST endpoint with Python and JavaScript SDKs, so it slots into the retrieval step of an existing pipeline. You swap the search call, adjust filters like category or includeDomains, and re-evaluate answer quality.

Conclusion

If search costs are eating your RAG budget, look at what each query buys you. Exa's Search API starts at $4 per 1,000 requests on lite with about 200 ms typical latency, includes the content your model needs in the base price, and publishes retrieval and RAG benchmark tracks, so you can check quality on your own queries before you commit. Start with the free tier, run your real queries, and compare cost and answer quality on your own workload.

Related Articles