Softwr

APIs · head to head

Basis Theory vs Memcached

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
M

Memcached

Databases

Distributed memory object caching system

From
Free
Free plan
Yes

The short version

  • Memcached is free; Basis Theory starts at $995/mo.
  • Only Basis Theory lists tokenisation API; only Memcached lists in-memory key-value cache.
  • Where Memcached falls short: no persistence at all: restart a node and its cache is gone, which every design must assume.

How do Basis Theory and Memcached differ?

Basis Theory and Memcached differ on starting price ($995/month against Free), pricing model and free tier (No against Yes). Only the attributes on which Basis Theory and Memcached actually diverge.

Attributes where Basis Theory and Memcached differ
AttributeBasis TheoryMemcached
Starting price$995/monthFree
Pricing modelPer month by token volumeOpen source, no licence fee; managed cloud billed separately
Free tierNoYes
PlatformsWeb, iOS, Android, LinuxLinux, macOS, Windows, Self-hosted
CategoryAPIsDatabases

Not yet recorded: founded for Basis Theory.

Which features does each one have?

They share no listed features; 8 appear only for Basis Theory and 4 only for Memcached. 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 Memcached

  • In-memory key-value cache
  • Multithreaded
  • Client-side sharding
  • Predictable memory use

What is each one used for?

Memcached is most often brought in for caching expensive database query results to cut load. 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 Memcached
  • A merchant locked into a processor by that processor vault that wants to hold its own tokens and route to more than one acquirernot Memcached
  • A fintech collecting bank account and identity data that needs it isolated from its application database before an enterprise security reviewnot Memcached
  • 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 Memcached

Memcached

  • Caching expensive database query results to cut loadnot Basis Theory
  • Session storage where losing sessions on restart is acceptablenot Basis Theory
  • Fronting an API whose responses are costly and change slowlynot Basis Theory

Where do Basis Theory and Memcached fall short?

Memcached's most cited limit: no persistence at all: restart a node and its cache is gone, which every design must assume. 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

Memcached

  • No persistence at all: restart a node and its cache is gone, which every design must assume
  • No replication or failover, so losing a node loses that share of the cache
  • Only simple key-value, with none of the lists, sorted sets or streams Redis offers
  • Values are capped at 1MB by default, which surprises teams caching large documents

How much do Basis Theory and Memcached cost?

Basis Theory starts at $995/mo; Memcached is free to use. 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

Memcached

Free
  • MemcachedFree
    • Full functionality
    • Self-hosted
    • No usage limits

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

  • You need in-memory key-value cache.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, Self-hosted.
  • You also want multithreaded.

Questions people ask

Is Basis Theory or Memcached better?
It depends on the job. Basis Theory fits a payments company that wants card on file without bringing its own infrastructure into PCI scope and paying for the assessment that follows; Memcached fits caching expensive database query results to cut load. Basis Theory starts at $995/month and Memcached at Free.
Which is cheaper, Basis Theory or Memcached?
Memcached has a free tier; the other does not. Paid plans start at $995/month for Basis Theory and Free for Memcached.
Does Basis Theory or Memcached run on more platforms?
Basis Theory runs on Web, iOS, Android, Linux. Memcached runs on Linux, macOS, Windows, Self-hosted.
Can I use Memcached for free?
Yes. Memcached has a free tier, so you can try it without paying. Basis Theory starts at $995/month.
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 Memcached is typically brought in for.
What can Basis Theory do that Memcached cannot?
Basis Theory covers Tokenisation API, Hosted elements, Outbound proxy, PCI attestation of compliance. Memcached covers In-memory key-value cache, Multithreaded, Client-side sharding, Predictable memory use.

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.

Memcached: Is Memcached free?

Yes, open source with no licence fee.

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.

Memcached: Memcached or Redis?

Memcached is a pure cache: simpler, multithreaded and very predictable. Redis adds persistence, replication and rich data structures, which is why it is the default choice unless you specifically want a cache and nothing more.

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.

Memcached: Does Memcached persist data?

No. Everything is in memory and lost on restart, by design.

Basis Theory: Is data stored outside the United States?

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

Share

Related pages

Other head to heads