APIs · head to head
Basis Theory vs Starlight

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

Starlight
Documentation
Documentation site framework built on Astro that ships no JavaScript to the reader by default
- From
- Free
- Free plan
- Yes
The short version
- Starlight is free; Basis Theory starts at $995/mo.
- Only Basis Theory lists tokenisation API; only Starlight lists file based routing.
How do Basis Theory and Starlight differ?
Basis Theory and Starlight differ on starting price ($995/month against Free), pricing model and free tier (No against Yes). Only the attributes on which Basis Theory and Starlight actually diverge.
| Attribute | Basis Theory | Starlight |
|---|---|---|
| Starting price | $995/month | Free |
| Pricing model | Per month by token volume | Open source, no licence fee |
| Free tier | No | Yes |
| Platforms | Web, iOS, Android, Linux | Web, macOS, Windows, Linux |
| Category | APIs | Documentation |
Which features does each one have?
They share no listed features; 8 appear only for Basis Theory and 7 only for Starlight. 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 Starlight
- File based routing
- Pagefind search
- Internationalisation
- Component overrides
- Zero client JavaScript
- Expressive Code blocks
- Auto generated sidebar
What is each one used 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 Starlight
- A merchant locked into a processor by that processor vault that wants to hold its own tokens and route to more than one acquirernot Starlight
- A fintech collecting bank account and identity data that needs it isolated from its application database before an enterprise security reviewnot Starlight
- 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 Starlight
Starlight
- A developer tool whose docs live in the same repository as the code and are reviewed in the same pull requestnot Basis Theory
- A team that already runs Astro for its marketing site and wants one build pipeline for bothnot Basis Theory
- Documentation that must be served from a CDN or an air gapped static host with no search backendnot Basis Theory
- A multilingual open source project that needs per locale content trees and untranslated page fallbacknot Basis Theory
Where do Basis Theory and Starlight fall 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
Starlight
- There is no editing interface, so every correction requires a git client, a Node install and a CI run, which puts documentation changes out of reach for anyone who does not already work in a repository
- Starlight versions track Astro versions, so an Astro major release becomes a documentation site migration on someone else timeline rather than yours
- Pagefind builds the whole search index at compile time, so build duration and index size grow with page count and large documentation sets pay for it on every deploy
- There is no analytics, no feedback widget and no page level rating built in, so measuring which pages fail readers means wiring a third party script yourself
- Component overrides are limited to the slots the theme exposes, and anything outside those slots means forking the theme and inheriting the merge burden on every upgrade
How much do Basis Theory and Starlight cost?
Basis Theory starts at $995/mo; Starlight 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
Starlight
Free- Open sourceFree
- MIT licence
- All features included
- Self hosted on any static host
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 Starlight if
- You need file based routing.
- You want to start without paying.
- You work on Web, macOS, Windows, Linux.
- You also want pagefind search.
Questions people ask
- Is Basis Theory or Starlight 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; Starlight fits a developer tool whose docs live in the same repository as the code and are reviewed in the same pull request. Basis Theory starts at $995/month and Starlight at Free.
- Which is cheaper, Basis Theory or Starlight?
- Starlight has a free tier; the other does not. Paid plans start at $995/month for Basis Theory and Free for Starlight.
- Does Basis Theory or Starlight run on more platforms?
- Basis Theory runs on Web, iOS, Android, Linux. Starlight runs on Web, macOS, Windows, Linux.
- Can I use Starlight for free?
- Yes. Starlight 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 Starlight is typically brought in for.
- What can Basis Theory do that Starlight cannot?
- Basis Theory covers Tokenisation API, Hosted elements, Outbound proxy, PCI attestation of compliance. Starlight covers File based routing, Pagefind search, Internationalisation, Component overrides.
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.
Starlight: Can a non technical writer publish a page without help?
No. There is no content management interface. Every change is a commit, a pull request and a build.
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.
Starlight: Do I need to know Astro to use it?
Not for basic use. Markdown files and a config file are enough until you want custom components, at which point Astro knowledge becomes mandatory.
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.
Starlight: Is search included or do I pay for it?
Included and free. Pagefind builds a static index at compile time. Algolia DocSearch is optional if you want hosted search instead.
Basis Theory: Is data stored outside the United States?
Not on Starter, which is US only. Other regions require a Scale or Enterprise agreement.
Starlight: What happens when Astro releases a major version?
Starlight follows it, and your site needs a migration. Read the upgrade guide before pinning a version for a long lived project.
Starlight: Can I self host with no external services?
Yes. The output is static HTML, CSS and a search index. Nothing calls out at runtime unless you add it.
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 MkDocs
- Basis Theory vs VitePress
- Basis Theory vs Fumadocs
- Basis Theory vs Antora
- Basis Theory vs Mintlify
- Basis Theory vs Docsify
- Basis Theory vs Nextra
- Basis Theory vs Archbee
- Basis Theory vs Scalar
- Basis Theory vs HelpDocs
- Basis Theory vs Confluence
- Basis Theory vs Nuclino
- Basis Theory vs MadCap Flare
- Basis Theory vs Adobe RoboHelp
- Basis Theory vs Doxygen
- Basis Theory vs Scribe
- Basis Theory vs Tettra
- Basis Theory vs Guru (knowledge platform)
- Starlight vs Skyflow
- Starlight vs Increase
- Starlight vs Lithic
- Starlight vs Volt
- Starlight vs Swan
- Starlight vs Trustly
- Starlight vs Moov
- Starlight vs Vodeno
- Starlight vs TrueLayer
- Starlight vs Paymentology
- Starlight vs Akoya
- Starlight vs Sila
- Starlight vs Yapily
- Starlight vs 10x Banking
- Starlight vs Appwrite
- Starlight vs Bruno
- Starlight vs Marqeta
- Starlight vs Temenos Transact
- Starlight vs MkDocs
- Starlight vs VitePress
- Starlight vs Fumadocs
- Starlight vs Antora
- Starlight vs Mintlify
- Starlight vs Docsify
- Starlight vs Nextra
- Starlight vs Archbee
- Starlight vs Scalar
- Starlight vs HelpDocs
- Starlight vs Confluence
- Starlight vs Nuclino
- Starlight vs MadCap Flare
- Starlight vs Adobe RoboHelp
- Starlight vs Doxygen
- Starlight vs Scribe
- Starlight vs Tettra
- Starlight vs Guru (knowledge platform)
