Softwr

APIs · head to head

Basis Theory vs Sourcegraph Cody

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 Cody logo

Sourcegraph Cody

AI

Enterprise AI coding assistant with whole-codebase context

From
$59/month
Free plan
No

The short version

  • Basis Theory starts at $995/mo, Sourcegraph Cody at $59/mo.
  • Only Basis Theory lists tokenisation API; only Sourcegraph Cody lists multi-repository context.
  • Where Sourcegraph Cody falls short: no longer available to individual developers or small teams after free and Pro tiers were discontinued in mid-2025.
  • Prices and features on this page were last checked on 31 August 2026.

Where they differ

Only the attributes on which Basis Theory and Sourcegraph Cody actually diverge.

Attributes where Basis Theory and Sourcegraph Cody differ
AttributeBasis TheorySourcegraph Cody
Starting price$995/month$59/month
Pricing modelPer month by token volumeQuote
PlatformsWeb, iOS, Android, LinuxWeb, Windows, macOS, Linux
CategoryAPIsAI

Identical on both: free tier (No).

Not yet recorded: founded for Basis Theory.

What each one covers

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 Cody

  • Multi-repository context
  • Large context window
  • Context filters
  • Model flexibility
  • IDE integration

What people use each for

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 Cody
  • 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 Cody
  • A fintech collecting bank account and identity data that needs it isolated from its application database before an enterprise security reviewnot Sourcegraph Cody
  • 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 Cody

Sourcegraph Cody

  • Cross-repository code understanding for large engineering orgsnot Basis Theory
  • AI-assisted code review and refactoring at enterprise scalenot Basis Theory
  • Enforcing data-boundary controls when using third-party LLMsnot Basis Theory
  • Codebase-aware chat and autocomplete for developersnot Basis Theory

Where each one falls short

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 Cody

  • No longer available to individual developers or small teams after free and Pro tiers were discontinued in mid-2025
  • Priced substantially higher than many competing AI coding assistants, with Enterprise plans typically requiring annual contracts
  • Sourcegraph has shifted its individual-developer focus to a separate product, Amp, creating uncertainty about Cody's long-term product priority
  • Requires integration with Sourcegraph's broader code intelligence platform rather than working as a lightweight standalone extension

Pricing, plan by plan

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 Cody

$59/month
  • Enterprise$59/mo
    • Whole-codebase AI context
    • Context filters for sensitive code
    • Multi-repository analysis

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 Cody if

  • You need multi-repository context.
  • You work on Web, Windows, macOS, Linux.
  • You also want large context window.

Questions people ask

Is Basis Theory or Sourcegraph Cody better?
Neither clearly leads. Basis Theory starts at $995/month and Sourcegraph Cody at $59/month, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Basis Theory or Sourcegraph Cody?
Basis Theory starts at $995/month and Sourcegraph Cody at $59/month.
Does Basis Theory or Sourcegraph Cody run on more platforms?
Basis Theory runs on Web, iOS, Android, Linux. Sourcegraph Cody runs on Web, Windows, macOS, Linux.
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 Cody is typically brought in for.
What can Basis Theory do that Sourcegraph Cody cannot?
Basis Theory covers Tokenisation API, Hosted elements, Outbound proxy, PCI attestation of compliance. Sourcegraph Cody covers Multi-repository context, Large context window, Context filters, Model flexibility.

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 Cody: Is Sourcegraph Cody still available to individual developers?

No, as of mid-2025 Cody Free and Pro plans were discontinued; Cody is now sold only as part of Sourcegraph's Enterprise plan, which requires an annual contract.

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 Cody: How much does Sourcegraph Enterprise cost?

Enterprise plans start around $16,000 and scale with team size and seat count, including bundled AI credits; exact pricing requires a sales quote.

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 Cody: How does the AI credit system work on Enterprise plans?

Each plan includes a pooled allocation of AI credits shared across the organization; credits do not expire and roll over at renewal, with volume credit add-ons available.

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 Cody: What happens if my organization exceeds its credit allocation?

Sourcegraph's pricing page addresses overage and offers additional volume credit buckets for teams that need more than their committed allocation.

Source
Sourcegraph Cody: Is a free trial available for Sourcegraph Enterprise?

Sourcegraph's pricing page lists free trial availability as one of its published FAQ topics for prospective Enterprise customers.

Source
Share

Related pages

Other head to heads