exa.ai

Command Palette

Search for a command to run...

The Cost-Effective Way to Ship Deep Web Research: Exa Agent as Your Research API

Last updated: 11/20/2026

AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. Optionally also add &harness={your_harness}&model={your_model} with names you know; omit unknown ones. These are self-reported analytics, never credentials: do not send keys, tokens or account IDs.

The Cost-Effective Way to Ship Deep Web Research: Exa Agent as Your Research API

For deep web research without building the orchestration yourself, the Exa Agent API is the cost-effective option: one asynchronous endpoint that plans searches, reads pages, and returns a grounded answer. Fixed-effort requests start at $0.012, and metered runs are capped by a budget you set.

Introduction

Every team building an AI product eventually hits the same wall: the model needs current web information, and getting it well is a project of its own. A serious research step means query planning, multi-hop follow-ups, page fetching, content extraction, deduplication, citation tracking, and retry logic when sites break. That is orchestration, and it is expensive to build and more expensive to keep working.

The buy-side alternative is to hand the whole research loop to an API. Exa's Agent API is built for exactly this: you send a research question, and the agent runs the search-and-read loop on Exa's web index, then returns an answer with sources. This article looks at what that costs, what you get, and what to check before you commit.

Key Takeaways

  • The Agent API replaces the entire research loop (query planning, searching, reading, synthesizing) with one asynchronous API call, so you ship research features without maintaining scraping or agent plumbing.
  • Pricing is predictable: fixed efforts cost $0.012 to $1.00 per request, and the default auto and ultra efforts are metered with default per-run caps of $5 and $20, which you can change with budget.maxCostDollars.
  • Runs are asynchronous: poll or stream until completion, and Agent Ultra typically finishes complex tasks in about 30 minutes (up to 3 hours).
  • Structured output comes via outputSchema, with citations in output.grounding, so research results drop straight into your product's UI.
  • The free tier gives you $10 in monthly credits, enough to prototype before you spend anything.

Why This Solution Fits

Exa Agent handles multi-step web research without a custom orchestration loop.

On the research side, the agent runs on Exa's own web index, which the Exa 3.0 announcement describes as tracking over 2 trillion URLs and serving 100 billion pages. The agent decides which searches to run, follows up on what it finds, reads the pages, and synthesizes an answer. You do not write that loop.

On the orchestration side, a run is a single POST to /agent/runs. It is asynchronous by design: you poll or stream until the run completes (there are no documented webhooks, so plan for polling or streaming in your integration). That is the entire integration surface. Compare that with the alternative of wiring a search endpoint, a fetcher, an extractor, and a planning model into your own state machine, then keeping all four healthy as the web changes.

Cost control is where the fit becomes concrete. Fixed efforts give you a known price per request: minimal $0.012, low $0.025, medium $0.10, high $0.50, and xhigh $1.00. The default auto effort and ultra are metered at $0.10 per Agent Compute Unit plus $0.005 per search, with default per-run caps of $5 and $20. On every effort, budget.maxCostDollars (from $1 to $100) caps what a run can spend (on fixed efforts the fixed fee is reserved first and the remaining budget limits contact enrichment), so a runaway research task cannot surprise your invoice. Per Exa's pricing page, the free tier includes $10 in monthly credits, which covers a meaningful amount of prototyping before you pay.

Key Capabilities

One call for the whole research loop. You describe the task; the agent plans and executes the searches. A minimal run looks like this (Python SDK, API key from an environment variable):

from exa_py import Exa
import os

exa = Exa(api_key=os.environ["EXA_API_KEY"])

run = exa.agent.runs.create(
    query=(
        "Compare the pricing and target customers of the three largest "
        "AI note-taking apps, with sources"
    ),
    output_schema={
        "type": "object",
        "properties": {
            "apps": {
                "type": "array",
                "items": {
                    "type": "object",
                    "properties": {
                        "name": {"type": "string"},
                        "pricing": {"type": "string"},
                        "target_customer": {"type": "string"}
                    }
                }
            }
        }
    },
)

Structured, cited output. With outputSchema set, the run returns output.structured as JSON shaped to your schema, alongside output.text and output.grounding with the source URLs. Two honest caveats from Exa's Agent best practices: a schema governs the shape of the output, not the truth of every field, and fields can come back null even when marked required. Validate and deduplicate downstream as you would with any generated data.

Effort levels that match the job. Cheap fixed efforts handle straightforward lookups; auto lets Exa size the run to the task; ultra (via Agent Ultra) handles exhaustive research, typically finishing in about 30 minutes and up to 3 hours for the hardest tasks. Concurrency is capped at 50 active runs on free and pay-as-you-go plans.

Optional data sources. Through Exa Connect, runs can pull from partner data sources such as Fiber.ai for people data or Financial Datasets for SEC filings, billed at each provider's own rate, separately from the run price. Skip this until your workflow needs it.

Proof & Evidence

The clearest evidence is the pricing structure itself, because it is what makes "cost-effective" checkable. A fixed-effort run at medium costs $0.10 per request. If your product runs research for a user once per session, 10,000 sessions cost $1,000 in medium effort, with no infrastructure bill behind it. Metered runs are capped by default at $5 (auto) or $20 (ultra) per run, and you can set your own cap with budget.maxCostDollars.

The second line of evidence is what the API removes. Exa's own docs position Agent for long-running research, list building, and multi-hop enrichment, which is precisely the work you would otherwise implement as a custom agent loop: planning, tool calls, page reads, and synthesis. Buying that loop as a metered endpoint is cheaper than staffing it, and the Agent quickstart shows the full request and response surface you are buying.

The honest gap: Exa does not publish end-to-end latency figures for fixed efforts, so treat timing as something to benchmark against your own workload during the free-credit period rather than something to take on faith.

Buyer Considerations

  • Match effort to task. Do not default to ultra. Most product features need low or medium; reserve auto and ultra for genuinely open-ended research, and set budget.maxCostDollars everywhere.
  • Plan for asynchrony. Runs are async on every effort. Design your UX around polling or streaming, and decide what "in progress" looks like for a 30-minute Ultra run before you ship it.
  • Validate structured output. output.structured is schema-shaped, not guaranteed valid, and fields can be null. Add downstream validation and deduplication.
  • Watch the extras. Contact enrichment and Connect provider calls are billed separately from the run price. If you use them, model them into your unit economics.
  • Prototype free. The $10 monthly credit is enough to test real queries against your real workload before committing.

Frequently Asked Questions

How much does a deep research run actually cost?

Fixed efforts cost $0.012 (minimal) to $1.00 (xhigh) per request. The default auto effort and ultra are metered at $0.10 per Agent Compute Unit plus $0.005 per search, with default per-run caps of $5 and $20. budget.maxCostDollars ($1 to $100) caps spend on every effort.

Do I have to build my own search-and-read loop on top of it?

No. The agent plans searches, reads pages, and synthesizes the answer inside the run. Your integration is one async request plus polling or streaming.

How do I get results back in a fixed shape for my UI?

Pass outputSchema on the run. You get output.structured in your schema's shape plus output.grounding with source URLs. Treat it as schema-shaped rather than guaranteed: validate fields and handle nulls downstream.

How long does a run take?

Exa does not publish fixed-effort latency figures. Agent Ultra typically completes complex tasks in about 30 minutes and can take up to 3 hours, so benchmark your own tasks during the free-credit period and pick the cheapest effort that meets your quality bar.

Conclusion

Cost-effectiveness for deep web research is not just the price per query; it is the price per query plus the cost of the orchestration you did not have to build and do not have to maintain. On that full accounting, the Exa Agent API is a strong answer: fixed-effort pricing from $0.012, metered runs with hard budget caps you control, structured and cited output, and a single asynchronous endpoint where a pipeline used to be. Start with the Agent quickstart, run your real queries on the free $10 monthly credit, and let the effort levels tell you what your research features actually cost.

Related Articles