APIs · head to head
Basis Theory vs Keras

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

Keras
Machine Learning
High level deep learning API in Python that runs on TensorFlow, JAX and PyTorch
- From
- Free
- Free plan
- Yes
The short version
- Keras is free; Basis Theory starts at $995/mo.
- Only Basis Theory lists tokenisation API; only Keras lists sequential and Functional API.
- Where Keras falls short: limited customization compared to TensorFlow; advanced users may find constraints in complex model designs.
How do Basis Theory and Keras differ?
Basis Theory and Keras differ on starting price ($995/month against Free), pricing model and free tier (No against Yes). Only the attributes on which Basis Theory and Keras actually diverge.
| Attribute | Basis Theory | Keras |
|---|---|---|
| Starting price | $995/month | Free |
| Pricing model | Per month by token volume | Open-source |
| Free tier | No | Yes |
| Platforms | Web, iOS, Android, Linux | API, Google Colab, Jupyter |
| Category | APIs | Machine Learning |
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 11 only for Keras. 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 Keras
- Sequential and Functional API
- Pre-built neural network layers
- Model training and evaluation
- Transfer learning
- Model serialization
- TensorFlow
- JAX
- PyTorch
What is each one used for?
Keras is most often brought in for machine learning. 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 Keras
- A merchant locked into a processor by that processor vault that wants to hold its own tokens and route to more than one acquirernot Keras
- A fintech collecting bank account and identity data that needs it isolated from its application database before an enterprise security reviewnot Keras
- 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 Keras
Keras
- Machine learningnot Basis Theory
- Data analysisnot Basis Theory
- Model trainingnot Basis Theory
- Predictive analyticsnot Basis Theory
Where do Basis Theory and Keras fall short?
Keras's most cited limit: limited customization compared to TensorFlow; advanced users may find constraints in complex model designs. 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
Keras
- Limited customization compared to TensorFlow; advanced users may find constraints in complex model designs
- Error messages can be vague and unhelpful, making debugging challenging
- Smaller ecosystem and fewer pre-trained models than TensorFlow or PyTorch
How much do Basis Theory and Keras cost?
Basis Theory starts at $995/mo; Keras 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
Keras
Free- Open SourceFree
- High-level API
- Pre-built layers
- Model serialization
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 Keras if
- You need sequential and functional api.
- You want to start without paying.
- You work on API, Google Colab, Jupyter.
- You also want pre-built neural network layers.
Questions people ask
- Is Basis Theory or Keras 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; Keras fits machine learning. Basis Theory starts at $995/month and Keras at Free.
- Which is cheaper, Basis Theory or Keras?
- Keras has a free tier; the other does not. Paid plans start at $995/month for Basis Theory and Free for Keras.
- Does Basis Theory or Keras run on more platforms?
- Basis Theory runs on Web, iOS, Android, Linux. Keras runs on API, Google Colab, Jupyter.
- Can I use Keras for free?
- Yes. Keras 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 Keras is typically brought in for.
- What can Basis Theory do that Keras cannot?
- Basis Theory covers Tokenisation API, Hosted elements, Outbound proxy, PCI attestation of compliance. Keras covers Sequential and Functional API, Pre-built neural network layers, Model training and evaluation, Transfer learning.
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.
Keras: What is Keras?
Keras is a high-level deep learning API built on top of TensorFlow that simplifies building and training neural networks. Keras 3 supports multiple backends including TensorFlow, PyTorch, and JAX, making it backend-agnostic.
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.
Keras: What model architectures does Keras support?
Keras supports the Sequential model for linear stacks of layers, the Functional API for arbitrary graph architectures, and model subclassing for custom implementations. All approaches provide access to layers, optimizers, metrics, and callbacks.
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.
Keras: Can Keras models run on TPUs and GPUs?
Yes, Keras models can run on TPU Pods or large GPU clusters, be exported to run in browsers or on mobile devices, and be served via web APIs.
SourceBasis Theory: Is data stored outside the United States?
Not on Starter, which is US only. Other regions require a Scale or Enterprise agreement.
Keras: Does Keras offer pre-trained models?
Yes, Keras provides pre-trained models through KerasHub and Keras Applications for common deep learning tasks like image classification, object detection, and NLP.
SourceKeras: Who should use Keras?
Keras is ideal for beginners and rapid prototyping due to its simplicity and user-friendly interface. Advanced users and production deployments may benefit more from lower-level frameworks like TensorFlow or PyTorch for greater customization.
SourceRelated 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 PyTorch
- Basis Theory vs scikit-learn
- Basis Theory vs Anaconda
- Basis Theory vs Streamlit
- Basis Theory vs Gradio
- Basis Theory vs Kedro
- Basis Theory vs Metaflow
- Basis Theory vs Optuna
- Basis Theory vs Azure Machine Learning
- Basis Theory vs AWS SageMaker
- Basis Theory vs DataRobot
- Basis Theory vs Jupyter
- Basis Theory vs Palantir Foundry
- Basis Theory vs Alteryx
- Basis Theory vs BentoML
- Basis Theory vs Dask
- Basis Theory vs Roboflow
- Basis Theory vs Weka
- Keras vs Skyflow
- Keras vs Increase
- Keras vs Lithic
- Keras vs Volt
- Keras vs Swan
- Keras vs Trustly
- Keras vs Moov
- Keras vs Vodeno
- Keras vs TrueLayer
- Keras vs Paymentology
- Keras vs Akoya
- Keras vs Sila
- Keras vs Yapily
- Keras vs 10x Banking
- Keras vs Appwrite
- Keras vs Bruno
- Keras vs Marqeta
- Keras vs Temenos Transact
- Keras vs PyTorch
- Keras vs scikit-learn
- Keras vs Anaconda
- Keras vs Streamlit
- Keras vs Gradio
- Keras vs Kedro
- Keras vs Metaflow
- Keras vs Optuna
- Keras vs Azure Machine Learning
- Keras vs AWS SageMaker
- Keras vs DataRobot
- Keras vs Jupyter
- Keras vs Palantir Foundry
- Keras vs Alteryx
- Keras vs BentoML
- Keras vs Dask
- Keras vs Roboflow
- Keras vs Weka
