Softwr

APIs · head to head

Basis Theory vs Starlight

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

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.

Attributes where Basis Theory and Starlight differ
AttributeBasis TheoryStarlight
Starting price$995/monthFree
Pricing modelPer month by token volumeOpen source, no licence fee
Free tierNoYes
PlatformsWeb, iOS, Android, LinuxWeb, macOS, Windows, Linux
CategoryAPIsDocumentation

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.

Share

Related pages

Other head to heads