Softwr

APIs · head to head

Exa vs Sourcegraph

Exa logo

Exa

APIs

Web search, built for AI agents

From
Free
Free plan
Yes
Sourcegraph logo

Sourcegraph

Developer Tools

Code search and intelligence platform for large codebases with Cody AI assistant

From
$16000/year
Free plan
No

The short version

  • Sourcegraph is an enterprise code intelligence platform.
  • Exa has a free plan, then $7/mo; Sourcegraph starts at $16000/yr.
  • Where Exa falls short: usage-based pricing can be unpredictable without volume discounts upfront.
  • Where Sourcegraph falls short: enterprise pricing starting at $16k annually creates significant barrier for small teams.

How do Exa and Sourcegraph differ?

Exa and Sourcegraph differ on starting price (Free against $16000/year), pricing model (Usage-based against Subscription) and free tier (Yes against No). Only the attributes on which Exa and Sourcegraph actually diverge.

Attributes where Exa and Sourcegraph differ
AttributeExaSourcegraph
Starting priceFree$16000/year
Pricing modelUsage-basedSubscription
Free tierYesNo
PlatformsWebWeb, Self-hosted
CategoryAPIsDeveloper Tools

Not yet recorded: founded for Exa.

What is each one used for?

Exa is most often brought in for web search and research APIs; Sourcegraph for large-scale code migrations across hundreds of repositories. The jobs each tool is most often brought in to do.

Exa

  • Web search and research APIsnot Sourcegraph
  • Content extraction and analysisnot Sourcegraph
  • Real-time monitoring and alertsnot Sourcegraph

Sourcegraph

  • Large-scale code migrations across hundreds of repositoriesnot Exa
  • Enterprise governance and code ownership trackingnot Exa
  • AI-assisted bug hunting and security pattern detectionnot Exa
  • Onboarding engineers into large unfamiliar codebasesnot Exa
  • Regulatory compliance and code audit trailsnot Exa

Where do Exa and Sourcegraph fall short?

Exa's most cited limit: usage-based pricing can be unpredictable without volume discounts upfront. Sourcegraph's: enterprise pricing starting at $16k annually creates significant barrier for small teams. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Exa

  • Usage-based pricing can be unpredictable without volume discounts upfront
  • Enterprise customers need to contact sales for custom volume discount plans
  • Pay-as-you-go API with no subscription; each Search request price covers up to 10 results, extra results cost $1 per 1k
  • Free credits are $10 a month, reset on the first of each month; no standard rate limits published for non-Enterprise
  • Agent metered mode has a default cap of $5 per run, and ultra mode $20

Sourcegraph

  • Enterprise pricing starting at $16k annually creates significant barrier for small teams
  • No free tier or standard plan published; all options require custom sales engagement
  • Complex enterprise-only positioning limits adoption compared to GitHub Copilot's pervasiveness
  • Requires indexing entire codebase; not suitable for small or ephemeral projects

How much do Exa and Sourcegraph cost?

Exa has a free plan, with paid plans from $7/mo; Sourcegraph starts at $16000/yr. Plan by plan below, from each vendor's own pricing page.

Exa

Free
  • Free TierFree
    • $20 in free credits (approximately 2,800 searches)
    • $10 in monthly credits after first month
  • Search$7
    • Standard search functionality
  • Deep Search$12
    • In-depth search results
  • Contents$1/per 1000 pages
    • Content extraction

Sourcegraph

$16000/year
  • Enterprise$16,000/yr
    • Scales with team size
    • Credits for AI features per user
    • Deep Search

Which should you pick?

Choose Exa if

  • You want to start without paying.

Choose Sourcegraph if

  • You work on Web, Self-hosted.

Questions people ask

Is Exa or Sourcegraph better?
It depends on the job. Exa fits web search and research APIs; Sourcegraph fits large-scale code migrations across hundreds of repositories. Exa starts at Free and Sourcegraph at $16000/year.
Which is cheaper, Exa or Sourcegraph?
Exa has a free tier; the other does not. Paid plans start at Free for Exa and $16000/year for Sourcegraph.
Does Exa or Sourcegraph run on more platforms?
Exa runs on Web. Sourcegraph runs on Web, Self-hosted.
Can I use Exa for free?
Yes. Exa has a free tier, so you can try it without paying. Sourcegraph starts at $16000/year.
What is Exa best used for?
Exa is most often used for web search and research apis, content extraction and analysis, real-time monitoring and alerts. Of those, web search and research apis and content extraction and analysis are not what Sourcegraph is typically brought in for.

Answered from the vendors’ own pages

Exa: How much does Exa API cost?

Exa uses pay-as-you-go pricing with no subscription or minimum spend required. Search costs USD$7 per 1000 requests, Deep Search costs USD$12-15 per 1000 requests, and Contents costs USD$1 per 1000 pages. Users load credits and are charged at these published rates.

Source
Sourcegraph: How much does Sourcegraph cost?

Sourcegraph's pricing page lists a single Enterprise plan starting at $16K, which it describes as a minimum annual contract. The price includes credits for AI features and scales with team size. Volume pricing is available through sales.

Source
Exa: Is there a free tier for Exa?

Yes, new accounts receive USD$20 in free credits (approximately 2,800 searches) plus USD$10 in additional credits every month. This allows developers to test the API before committing to paid usage.

Source
Sourcegraph: Does Sourcegraph have a free plan?

The pricing page lists only the Enterprise plan and a Contact sales button, with no free or self-serve tier shown. Its FAQ includes a question about a free trial, but the answer was not visible in the page text. Sourcegraph does offer a public code search across more than 1M public repositories.

Source
Exa: What other costs are associated with Exa?

Beyond the main API costs, Exa charges USD$1 per 1000 results beyond the first 10 returned, USD$1 per 1000 pages for AI summaries, and USD$0.10 per Agent Compute Unit for autonomous agent usage. Contact enrichment features cost USD$0.02 per email and USD$0.07 per phone number.

Source
Sourcegraph: Can Sourcegraph be self-hosted?

Yes. The Enterprise plan includes single-tenant cloud, and the page also lists self-hosted as a deployment option. Enterprise admin and security controls are part of the plan.

Source
Sourcegraph: How do Sourcegraph AI credits work?

Credits for AI features are included per user and can be pooled across the organisation. The pricing page states there is no monthly credit expiry, that purchased credit buckets roll over on renewal, and that larger volume credit buckets are an add-on.

Source
Sourcegraph: Does Sourcegraph work with AI coding agents?

Sourcegraph offers a full MCP server, plus GraphQL and REST APIs and a CLI. The pricing page says it works with Claude Code, Cursor, Codex, Amp and more, giving agents context from the indexed codebase.

Source
Share

Related pages

Other head to heads