APIs · head to head
Optuna vs TrueLayer

Optuna
APIs
Open-source Python framework for automated hyperparameter optimisation
- From
- Free
- Free plan
- Yes

TrueLayer
APIs
Open banking payments and data across the UK and Europe, with the largest share of UK variable recurring payments
- From
- On request
- Free plan
- No
The short version
- Optuna is an MIT-licensed hyperparameter optimisation framework.
- Optuna is free; TrueLayer prices on request.
- Only Optuna lists define-by-run search spaces; only TrueLayer lists pay by bank.
- Where Optuna falls short: searches are only as good as the objective and search space defined.
How do Optuna and TrueLayer differ?
Optuna and TrueLayer differ on starting price (Free against On request), pricing model (Open-source against Quote) and free tier (Yes against No). Only the attributes on which Optuna and TrueLayer actually diverge.
Not yet recorded: category for Optuna.
Which features does each one have?
They share no listed features; 7 appear only for Optuna and 8 only for TrueLayer. 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 Optuna
- Define-by-run search spaces
- Pruning of unpromising trials
- Parallel and distributed search
- Framework-agnostic integrations
- Optuna Dashboard
- OptunaHub feature sharing
- Multiple search algorithms
Only in TrueLayer
- Pay by bank
- Variable recurring payments
- Payouts and refunds
- Account information
- Account name verification
- Signup and KYC support
- Multi-country coverage
- Hosted payment page
What is each one used for?
Optuna is most often brought in for tuning deep learning models. The jobs each tool is most often brought in to do.
Optuna
- Tuning deep learning modelsnot TrueLayer
- Tuning gradient-boosted treesnot TrueLayer
- Pruning slow experiments earlynot TrueLayer
- Parallel searches across machinesnot TrueLayer
TrueLayer
- A UK subscription or top-up business that wants card-like recurring collection over bank rails using variable recurring paymentsnot Optuna
- A trading or crypto platform funding accounts instantly by bank transfer where card deposits carry chargeback risknot Optuna
- A marketplace paying sellers out to verified bank accounts with name checking to reduce misdirected paymentsnot Optuna
- A lender verifying income and affordability from bank transaction data rather than uploaded statementsnot Optuna
Where do Optuna and TrueLayer fall short?
Optuna's most cited limit: searches are only as good as the objective and search space defined. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Optuna
- Searches are only as good as the objective and search space defined
- Distributed runs need a shared storage backend set up by the user
- Works only with Python code, so non-Python teams cannot use it
- Tuning only; no experiment tracking or deployment features
TrueLayer
- Variable recurring payments, the strongest reason to choose TrueLayer, is a UK construct, and European businesses expecting the same capability in their market will not get it on the same timetable
- Payment conversion varies substantially by bank, and a bank with a slow or broken authentication journey drags results down regardless of vendor, so aggregate coverage numbers say little about your actual mix
- Pay by bank has no chargeback mechanism, which merchants like until a customer disputes a purchase and finds no scheme protection, making it a poor fit for categories where buyers expect card style recourse
- Pricing is unpublished and varies by market and product, so multi-country merchants cannot model cost without a full sales engagement and often find rates differ significantly between countries
- Open banking authentication requires the customer to leave the checkout and authorise in their banking app, and that redirect remains the largest source of drop-off compared with a stored card
How much do Optuna and TrueLayer cost?
Optuna is free to use; TrueLayer is priced on request. Plan by plan below, from each vendor's own pricing page.
Optuna
FreeNo published plan breakdown. See the Optuna review.
TrueLayer
On request- TrueLayer Payments and DataOn request
- Per-payment fees quoted by volume, market and product
- Separate commercial terms for payment initiation, VRP and account information
- Platform and minimum commitment terms negotiated per contract
Which should you pick?
Choose Optuna if
- You need define-by-run search spaces.
- You want to start without paying.
- You also want pruning of unpromising trials.
Choose TrueLayer if
- You need pay by bank.
- You work on Web, iOS, Android.
- You also want variable recurring payments.
Questions people ask
- Is Optuna or TrueLayer better?
- It depends on the job. Optuna fits tuning deep learning models; TrueLayer fits a UK subscription or top-up business that wants card-like recurring collection over bank rails using variable recurring payments. Optuna starts at Free and TrueLayer at On request.
- Which is cheaper, Optuna or TrueLayer?
- Optuna has a free tier; the other does not. Paid plans start at Free for Optuna and On request for TrueLayer.
- Does Optuna or TrueLayer run on more platforms?
- Optuna runs on Web. TrueLayer runs on Web, iOS, Android.
- Can I use Optuna for free?
- Yes. Optuna has a free tier, so you can try it without paying. TrueLayer starts at On request.
- What is Optuna best used for?
- Optuna is most often used for tuning deep learning models, tuning gradient-boosted trees, pruning slow experiments early, parallel searches across machines. Of those, tuning deep learning models and tuning gradient-boosted trees are not what TrueLayer is typically brought in for.
- What can Optuna do that TrueLayer cannot?
- Optuna covers Define-by-run search spaces, Pruning of unpromising trials, Parallel and distributed search, Framework-agnostic integrations. TrueLayer covers Pay by bank, Variable recurring payments, Payouts and refunds, Account information.
Answered from the vendors’ own pages
Optuna: What licence does Optuna use?
The MIT License.
SourceTrueLayer: Is VRP available outside the UK?
No. Variable recurring payments are a UK capability. EU adoption is on a slower path, with UK commercial VRP expanding into ecommerce during 2026.
Optuna: Who develops Optuna?
Preferred Networks, which first introduced it in 2018.
SourceTrueLayer: What does TrueLayer cost?
Not published. Per-payment fees are quoted by volume, market and product, usually with a platform component and a minimum commitment.
Optuna: What Python version is needed?
Python 3.10 or newer.
SourceTrueLayer: Are there chargebacks on pay by bank?
No. Bank transfers have no card scheme chargeback mechanism, which removes that cost but also removes buyer recourse, so it suits some categories and not others.
TrueLayer: Which countries are covered?
The UK plus a substantial set of European markets under PSD2, though bank-level coverage and conversion vary by country and should be checked for your specific mix.
Related pages
Other head to heads
- Optuna vs scikit-learn
- Optuna vs MLflow
- Optuna vs Weights & Biases
- Optuna vs Comet ML
- Optuna vs Streamlit
- Optuna vs PyTorch
- Optuna vs Gradio
- Optuna vs Kedro
- Optuna vs Metaflow
- Optuna vs DataRobot
- Optuna vs TensorFlow
- Optuna vs Kaggle
- Optuna vs Label Studio
- Optuna vs Labelbox
- Optuna vs LightGBM
- Optuna vs Keras
- Optuna vs Google AI Studio
- Optuna vs JAX
- Optuna vs Volt
- Optuna vs Trustly
- Optuna vs Tink
- Optuna vs Yapily
- Optuna vs Salt Edge
- Optuna vs Token.io
- Optuna vs Enable Banking
- Optuna vs Ozone API
- Optuna vs Brite Payments
- Optuna vs Neonomics
- Optuna vs Fintecture
- Optuna vs Zimpler
- Optuna vs Swan
- Optuna vs Yodlee
- Optuna vs Backendless
- Optuna vs HTTPie
- Optuna vs Meniga
- Optuna vs Paymentology
- TrueLayer vs scikit-learn
- TrueLayer vs MLflow
- TrueLayer vs Weights & Biases
- TrueLayer vs Comet ML
- TrueLayer vs Streamlit
- TrueLayer vs PyTorch
- TrueLayer vs Gradio
- TrueLayer vs Kedro
- TrueLayer vs Metaflow
- TrueLayer vs DataRobot
- TrueLayer vs TensorFlow
- TrueLayer vs Kaggle
- TrueLayer vs Label Studio
- TrueLayer vs Labelbox
- TrueLayer vs LightGBM
- TrueLayer vs Keras
- TrueLayer vs Google AI Studio
- TrueLayer vs JAX
- TrueLayer vs Volt
- TrueLayer vs Trustly
- TrueLayer vs Tink
- TrueLayer vs Yapily
- TrueLayer vs Salt Edge
- TrueLayer vs Token.io
- TrueLayer vs Enable Banking
- TrueLayer vs Ozone API
- TrueLayer vs Brite Payments
- TrueLayer vs Neonomics
- TrueLayer vs Fintecture
- TrueLayer vs Zimpler
- TrueLayer vs Swan
- TrueLayer vs Yodlee
- TrueLayer vs Backendless
- TrueLayer vs HTTPie
- TrueLayer vs Meniga
- TrueLayer vs Paymentology
