APIs · head to head
Basis Theory vs Trunk Code Quality

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

Trunk Code Quality
Developer Tools
Metalinter that runs and manages linters, formatters and security scanners
- From
- Free
- Free plan
- Yes
The short version
- Trunk Code Quality is free; Basis Theory starts at $995/mo.
- Only Basis Theory lists tokenisation API; only Trunk Code Quality lists version pinning through trunk.yaml.
- Where Trunk Code Quality falls short: private repositories with more than five active committers need a paid licence.
How do Basis Theory and Trunk Code Quality differ?
Basis Theory and Trunk Code Quality differ on starting price ($995/month against Free), pricing model and free tier (No against Yes). Only the attributes on which Basis Theory and Trunk Code Quality actually diverge.
| Attribute | Basis Theory | Trunk Code Quality |
|---|---|---|
| Starting price | $995/month | Free |
| Pricing model | Per month by token volume | Freemium |
| Free tier | No | Yes |
| Platforms | Web, iOS, Android, Linux | macOS, Linux, Windows |
| Category | APIs | Developer Tools |
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 8 only for Trunk Code Quality. 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 Trunk Code Quality
- Installs and runs over 100 linters and formatters
- Version pinning through trunk.yaml
- Hold the Line checks on new changes only
- Background daemon that precomputes results
- VS Code and Neovim editor integration
- GitHub integration for pull request checks
- Security scanning tools such as trivy and gitleaks
- Runs in any CI environment
What is each one used for?
Trunk Code Quality is most often brought in for running one lint command across a polyglot repository. 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 Trunk Code Quality
- A merchant locked into a processor by that processor vault that wants to hold its own tokens and route to more than one acquirernot Trunk Code Quality
- A fintech collecting bank account and identity data that needs it isolated from its application database before an enterprise security reviewnot Trunk Code Quality
- 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 Trunk Code Quality
Trunk Code Quality
- Running one lint command across a polyglot repositorynot Basis Theory
- Gradually fixing legacy code with Hold the Linenot Basis Theory
- Pinning linter versions across a teamnot Basis Theory
- Enforcing the same checks locally and in CInot Basis Theory
- Adding security scanners to pull requestsnot Basis Theory
Where do Basis Theory and Trunk Code Quality fall short?
Trunk Code Quality's most cited limit: private repositories with more than five active committers need a paid licence. 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
Trunk Code Quality
- Private repositories with more than five active committers need a paid licence
- Paid Team and Enterprise prices are not published; quotes come from sales
- Core CLI is closed source, with only plugins and the GitHub Action under MIT
- Results depend on the underlying linters, so rule coverage is not Trunk's own
How much do Basis Theory and Trunk Code Quality cost?
Basis Theory starts at $995/mo; Trunk Code Quality 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
Trunk Code Quality
Free- Free (up to 5 active committers on private repos)Free
- Team (per seat)On request
- Enterprise (annual site licence)On request
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 Trunk Code Quality if
- You need installs and runs over 100 linters and formatters.
- You want to start without paying.
- You work on macOS, Linux, Windows.
- You also want version pinning through trunk.yaml.
Questions people ask
- Is Basis Theory or Trunk Code Quality 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; Trunk Code Quality fits running one lint command across a polyglot repository. Basis Theory starts at $995/month and Trunk Code Quality at Free.
- Which is cheaper, Basis Theory or Trunk Code Quality?
- Trunk Code Quality has a free tier; the other does not. Paid plans start at $995/month for Basis Theory and Free for Trunk Code Quality.
- Does Basis Theory or Trunk Code Quality run on more platforms?
- Basis Theory runs on Web, iOS, Android, Linux. Trunk Code Quality runs on macOS, Linux, Windows.
- Can I use Trunk Code Quality for free?
- Yes. Trunk Code Quality 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 Trunk Code Quality is typically brought in for.
- What can Basis Theory do that Trunk Code Quality cannot?
- Basis Theory covers Tokenisation API, Hosted elements, Outbound proxy, PCI attestation of compliance. Trunk Code Quality covers Installs and runs over 100 linters and formatters, Version pinning through trunk.yaml, Hold the Line checks on new changes only, Background daemon that precomputes results.
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.
Trunk Code Quality: What does Trunk Code Quality do?
It is a metalinter that installs, pins and runs third party linters, formatters and security scanners from one CLI. A background daemon precomputes results for editor annotations.
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.
Trunk Code Quality: Is Trunk Code Quality free?
Public and open source repositories have no stated usage limit, and private repositories with five or fewer active committers can use the CLI at no cost. Larger private teams need a paid licence.
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.
Trunk Code Quality: Which operating systems are supported?
The launcher supports macOS and Linux. Windows is supported from CLI version 1.13.0, using git-bash, msys2 or a PowerShell launcher.
SourceBasis Theory: Is data stored outside the United States?
Not on Starter, which is US only. Other regions require a Scale or Enterprise agreement.
Trunk Code Quality: How many linters does it support?
The supported linters page claims over 100 linters and formatters. They cover many languages plus infrastructure, security, SQL and Markdown tooling.
SourceRelated pages
More on Basis Theory
More on Trunk Code Quality
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 SonarQube
- Basis Theory vs ESLint
- Basis Theory vs Earthly
- Basis Theory vs Prettier
- Basis Theory vs Garden
- Basis Theory vs HCP Terraform
- Basis Theory vs Okteto
- Basis Theory vs Visual Studio Code
- Basis Theory vs Ona (formerly Gitpod)
- Basis Theory vs Harness
- Basis Theory vs Jenkins
- Basis Theory vs Depot
- Basis Theory vs Bitbucket
- Basis Theory vs Daytona
- Basis Theory vs Helix
- Basis Theory vs Losant
- Basis Theory vs Nx Cloud
- Basis Theory vs Pants Build
- Trunk Code Quality vs Skyflow
- Trunk Code Quality vs Increase
- Trunk Code Quality vs Lithic
- Trunk Code Quality vs Volt
- Trunk Code Quality vs Swan
- Trunk Code Quality vs Trustly
- Trunk Code Quality vs Moov
- Trunk Code Quality vs Vodeno
- Trunk Code Quality vs TrueLayer
- Trunk Code Quality vs Paymentology
- Trunk Code Quality vs Akoya
- Trunk Code Quality vs Sila
- Trunk Code Quality vs Yapily
- Trunk Code Quality vs 10x Banking
- Trunk Code Quality vs Appwrite
- Trunk Code Quality vs Bruno
- Trunk Code Quality vs Marqeta
- Trunk Code Quality vs Temenos Transact
- Trunk Code Quality vs SonarQube
- Trunk Code Quality vs ESLint
- Trunk Code Quality vs Earthly
- Trunk Code Quality vs Prettier
- Trunk Code Quality vs Garden
- Trunk Code Quality vs HCP Terraform
- Trunk Code Quality vs Okteto
- Trunk Code Quality vs Visual Studio Code
- Trunk Code Quality vs Ona (formerly Gitpod)
- Trunk Code Quality vs Harness
- Trunk Code Quality vs Jenkins
- Trunk Code Quality vs Depot
- Trunk Code Quality vs Bitbucket
- Trunk Code Quality vs Daytona
- Trunk Code Quality vs Helix
- Trunk Code Quality vs Losant
- Trunk Code Quality vs Nx Cloud
- Trunk Code Quality vs Pants Build
