APIs · head to head
Basis Theory vs Keycloak

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

Keycloak
Developer Tools
Open-source identity and access management server.
- From
- Free
- Free plan
- Yes
The short version
- Keycloak is an open-source IAM platform supporting OpenID Connect, OAuth 2.
- Keycloak is free; Basis Theory starts at $995/mo.
- Where Keycloak falls short: requires self-hosted deployment and operational expertise to install, configure and maintain.
How do Basis Theory and Keycloak differ?
Basis Theory and Keycloak differ on starting price ($995/month against Free), pricing model and free tier (No against Yes). Only the attributes on which Basis Theory and Keycloak actually diverge.
| Attribute | Basis Theory | Keycloak |
|---|---|---|
| Starting price | $995/month | Free |
| Pricing model | Per month by token volume | Open-source |
| Free tier | No | Yes |
| Platforms | Web, iOS, Android, Linux | Self-hosted, Linux, Windows, API |
| Category | APIs | Developer Tools |
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 Keycloak
Nothing recorded that Basis Theory does not also cover.
What is each one used for?
Keycloak is most often brought in for open-source projects and communities requiring free IAM without licensing costs. 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 Keycloak
- A merchant locked into a processor by that processor vault that wants to hold its own tokens and route to more than one acquirernot Keycloak
- A fintech collecting bank account and identity data that needs it isolated from its application database before an enterprise security reviewnot Keycloak
- 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 Keycloak
Keycloak
- Organisations requiring self-hosted identity infrastructure for compliance or data residencynot Basis Theory
- Companies with existing LDAP/Active Directory systems needing federated authenticationnot Basis Theory
- Open-source projects and communities requiring free IAM without licensing costsnot Basis Theory
- Enterprises building custom identity workflows requiring fine-grained authorisationnot Basis Theory
- Teams with sufficient operational expertise to manage infrastructurenot Basis Theory
Where do Basis Theory and Keycloak fall short?
Keycloak's most cited limit: requires self-hosted deployment and operational expertise to install, configure and maintain. 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
Keycloak
- Requires self-hosted deployment and operational expertise to install, configure and maintain
- No managed cloud option provided by Red Hat; organisations must operate infrastructure themselves or use third-party distributions
- Clustering and high-availability configurations require additional operational knowledge
- Community support only; commercial support requires third-party vendors or distributions
How much do Basis Theory and Keycloak cost?
Basis Theory starts at $995/mo; Keycloak 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
Keycloak
Free- Open-sourceFree
- Full platform functionality
- Self-hosted deployment
- Community support
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 Keycloak if
- You want to start without paying.
- You work on Self-hosted, Linux, Windows, API.
Questions people ask
- Is Basis Theory or Keycloak 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; Keycloak fits organisations requiring self-hosted identity infrastructure for compliance or data residency. Basis Theory starts at $995/month and Keycloak at Free.
- Which is cheaper, Basis Theory or Keycloak?
- Keycloak has a free tier; the other does not. Paid plans start at $995/month for Basis Theory and Free for Keycloak.
- Does Basis Theory or Keycloak run on more platforms?
- Basis Theory runs on Web, iOS, Android, Linux. Keycloak runs on Self-hosted, Linux, Windows, API.
- Can I use Keycloak for free?
- Yes. Keycloak 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 Keycloak is typically brought in for.
- What can Basis Theory do that Keycloak 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.
Keycloak: What protocols does Keycloak support?
Keycloak supports OpenID Connect, OAuth 2.0 and SAML 2.0 protocols for authentication and authorisation.
SourceBasis 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.
Keycloak: Can Keycloak integrate with existing user directories?
Yes. Keycloak supports user federation with LDAP and Active Directory systems, allowing organisations to leverage existing user directories.
SourceBasis 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.
Keycloak: Is Keycloak free?
Yes. Keycloak is fully open-source and free to deploy and use. No licensing fees are required.
SourceBasis Theory: Is data stored outside the United States?
Not on Starter, which is US only. Other regions require a Scale or Enterprise agreement.
Related pages
More on Basis Theory
Other head to heads
- Basis Theory vs Skyflow
- Basis Theory vs Increase
- Basis Theory vs Lithic
- Basis Theory vs Volt
- Basis Theory vs Swan
- Basis Theory vs Trustly
- Basis Theory vs Moov
- Basis Theory vs Vodeno
- Basis Theory vs TrueLayer
- Basis Theory vs Paymentology
- Basis Theory vs Akoya
- Basis Theory vs Sila
- Basis Theory vs Yapily
- Basis Theory vs 10x Banking
- Basis Theory vs Appwrite
- Basis Theory vs Bruno
- Basis Theory vs Marqeta
- Basis Theory vs Temenos Transact
- Basis Theory vs Jenkins
- Basis Theory vs Soketi
- Basis Theory vs Atlantis
- Basis Theory vs Kubernetes
- Basis Theory vs GitLab
- Basis Theory vs Buildkite
- Basis Theory vs Coder
- Basis Theory vs Depot
- Basis Theory vs Bitbucket
- Basis Theory vs Losant
- Basis Theory vs Ansible
- Basis Theory vs Vite
- Basis Theory vs ESLint
- Basis Theory vs Git
- Basis Theory vs GNAT Pro
- Basis Theory vs JetBrains Rider
- Basis Theory vs Moonrepo
- Basis Theory vs Okteto
- Keycloak vs Skyflow
- Keycloak vs Increase
- Keycloak vs Lithic
- Keycloak vs Volt
- Keycloak vs Swan
- Keycloak vs Trustly
- Keycloak vs Moov
- Keycloak vs Vodeno
- Keycloak vs TrueLayer
- Keycloak vs Paymentology
- Keycloak vs Akoya
- Keycloak vs Sila
- Keycloak vs Yapily
- Keycloak vs 10x Banking
- Keycloak vs Appwrite
- Keycloak vs Bruno
- Keycloak vs Marqeta
- Keycloak vs Temenos Transact
- Keycloak vs Jenkins
- Keycloak vs Soketi
- Keycloak vs Atlantis
- Keycloak vs Kubernetes
- Keycloak vs GitLab
- Keycloak vs Buildkite
- Keycloak vs Coder
- Keycloak vs Depot
- Keycloak vs Bitbucket
- Keycloak vs Losant
- Keycloak vs Ansible
- Keycloak vs Vite
- Keycloak vs ESLint
- Keycloak vs Git
- Keycloak vs GNAT Pro
- Keycloak vs JetBrains Rider
- Keycloak vs Moonrepo
- Keycloak vs Okteto
