Softwr

APIs · head to head

Basis Theory vs Sourcegraph

Basis Theory logo

Basis Theory

APIs

Developer tokenisation platform that holds card and sensitive data inside a PCI Level 1 environment you do not operate

From
$995/month
Free plan
No
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.
  • Basis Theory starts at $995/mo, Sourcegraph at $16000/yr.
  • Where Sourcegraph falls short: enterprise pricing starting at $16k annually creates significant barrier for small teams.
  • Prices and features on this page were last checked on 20 November 2026.

How do Basis Theory and Sourcegraph differ?

Basis Theory and Sourcegraph differ on starting price ($995/month against $16000/year), pricing model and platforms. Only the attributes on which Basis Theory and Sourcegraph actually diverge.

Attributes where Basis Theory and Sourcegraph differ
AttributeBasis TheorySourcegraph
Starting price$995/month$16000/year
Pricing modelPer month by token volumeSubscription
PlatformsWeb, iOS, Android, LinuxWeb, Self-hosted
CategoryAPIsDeveloper Tools

Identical on both: free tier (No).

Not yet recorded: founded for Basis Theory.

Which features does each one have?

They share no listed features; 8 appear only for Basis Theory. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Basis Theory

  • Tokenisation API
  • Hosted elements
  • Outbound proxy
  • PCI attestation of compliance
  • Processor portability
  • Reactors
  • Access controls and audit
  • PII and PHI options

Only in Sourcegraph

Nothing recorded that Basis Theory does not also cover.

What is each one used for?

Sourcegraph is most often brought in for large-scale code migrations across hundreds of repositories. The jobs each tool is most often brought in to do.

Basis Theory

  • A payments company that wants card on file without bringing its own infrastructure into PCI scope and paying for the assessment that followsnot Sourcegraph
  • A merchant locked into a processor by that processor vault that wants to hold its own tokens and route to more than one acquirernot Sourcegraph
  • A fintech collecting bank account and identity data that needs it isolated from its application database before an enterprise security reviewnot Sourcegraph
  • A team that needs to send stored card data to a third party for a one-off integration without that data traversing its own serversnot Sourcegraph

Sourcegraph

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

Where do Basis Theory and Sourcegraph fall short?

Sourcegraph's most cited limit: 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.

Basis Theory

  • The Starter plan is 995 US dollars a month before any volume, which is a real floor for an early stage company and puts the product out of reach of teams tokenising a few thousand records
  • Starter is limited to the US region, so a company with European data residency requirements is pushed into a quoted Scale or Enterprise agreement immediately
  • Log retention on Starter is 24 hours, which is well below what most security teams expect for a system holding cardholder data and forces an upgrade for reasons unrelated to volume
  • Migrating away means moving card data out of the vault, which requires processor and assessor involvement and is slow, so the portability argument that attracts buyers cuts against them at exit
  • An attestation of compliance covers the vendor environment, not your assessment; your assessor still decides what is in scope, and buyers occasionally discover their integration pattern pulled systems back into scope anyway

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 Basis Theory and Sourcegraph cost?

Basis Theory starts at $995/mo; Sourcegraph starts at $16000/yr. Plan by plan below, from each vendor's own pricing page.

Basis Theory

$995/month
  • Starter$995/mo
    • 20,000 tokens included
    • Production PCI Level 1 environment
    • US region only
  • ScaleOn request
    • Quoted
    • Higher token volumes
    • Additional regions
  • EnterpriseOn request
    • Quoted
    • Additional compliance options for PII and PHI
    • Responses for 95 percent of PCI SAQ D

Sourcegraph

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

Which should you pick?

Choose Basis Theory if

  • You need tokenisation api.
  • You work on Web, iOS, Android, Linux.
  • You also want hosted elements.

Choose Sourcegraph if

  • You work on Web, Self-hosted.

Questions people ask

Is Basis Theory or Sourcegraph better?
Neither clearly leads. Basis Theory starts at $995/month and Sourcegraph at $16000/year, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Basis Theory or Sourcegraph?
Basis Theory starts at $995/month and Sourcegraph at $16000/year.
Does Basis Theory or Sourcegraph run on more platforms?
Basis Theory runs on Web, iOS, Android, Linux. Sourcegraph runs on Web, Self-hosted.
What is Basis Theory best used for?
Basis Theory is most often used for a payments company that wants card on file without bringing its own infrastructure into pci scope and paying for the assessment that follows, a merchant locked into a processor by that processor vault that wants to hold its own tokens and route to more than one acquirer, a fintech collecting bank account and identity data that needs it isolated from its application database before an enterprise security review, a team that needs to send stored card data to a third party for a one-off integration without that data traversing its own servers. Of those, a payments company that wants card on file without bringing its own infrastructure into pci scope and paying for the assessment that follows and a merchant locked into a processor by that processor vault that wants to hold its own tokens and route to more than one acquirer are not what Sourcegraph is typically brought in for.
What can Basis Theory do that Sourcegraph cannot?
Basis Theory covers Tokenisation API, Hosted elements, Outbound proxy, PCI attestation of compliance.

Answered from the vendors’ own pages

Basis Theory: Does this make us PCI compliant?

It removes cardholder data from your systems and gives you an AOC plus documented responses for most of a SAQ D. Your assessor still determines your scope, and a careless integration can pull systems back in.

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
Basis Theory: What does it cost to start?

995 US dollars a month on Starter, including 20,000 tokens, a production PCI Level 1 environment and US hosting. Higher tiers are quoted.

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
Basis Theory: Can we switch payment processors without re-collecting cards?

Yes, that is the main non-compliance reason to buy it. You hold the tokens and detokenise into whichever processor you route to.

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
Basis Theory: Is data stored outside the United States?

Not on Starter, which is US only. Other regions require a Scale or Enterprise agreement.

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