Research · head to head
Optuna vs Terra

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

Terra
Research
Open biomedical research platform for genomic analysis, priced only by the cloud you consume
- From
- Free
- Free plan
- Yes
The short version
- Optuna is an MIT-licensed hyperparameter optimisation framework.
- Both are free.
- Only Optuna lists define-by-run search spaces; only Terra lists no platform licence fee.
- Where Optuna falls short: searches are only as good as the objective and search space defined.
How do Optuna and Terra differ?
Optuna and Terra differ on pricing model and platforms. Only the attributes on which Optuna and Terra actually diverge.
Identical on both: starting price (Free), free tier (Yes).
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 Terra. 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 Terra
- No platform licence fee
- Cloud pass-through billing
- WDL workflow execution
- Notebook environments
- Controlled-access data
- Workspace sharing
- Compliance posture
- Multi-cloud
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 Terra
- Tuning gradient-boosted treesnot Terra
- Pruning slow experiments earlynot Terra
- Parallel searches across machinesnot Terra
Terra
- A genomics lab running whole-genome alignment and variant calling pipelines without provisioning or maintaining a local clusternot Optuna
- A consortium sharing controlled-access human data across institutions where the data cannot be copied to each sitenot Optuna
- A health system analysing patient genomic data under a HIPAA business associate agreementnot Optuna
- A federal or federally funded project needing FedRAMP Moderate authorisation for its analysis environmentnot Optuna
Where do Optuna and Terra 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
Terra
- The absence of a licence fee hides the real cost driver: an idle notebook virtual machine left running overnight, or a workspace bucket full of intermediate workflow outputs, quietly consumes grant money with no vendor invoice to prompt a review
- Cost governance is entirely the customer responsibility, and grant-funded groups without a cloud engineer routinely overspend before anyone reads the Google or Azure bill in enough detail to find the cause
- It assumes genuine bioinformatics competence: writing or adapting WDL workflows, managing data tables and debugging failed tasks are all on you, so a wet lab without computational staff cannot use it productively
- Feature parity between the Google Cloud and Azure deployments is not identical, so a decision on cloud provider constrains which capabilities and datasets you can reach and is expensive to reverse later
- It is a research platform rather than a regulated clinical system: it is not a validated GxP environment and does not carry the qualification package a diagnostic or submission workflow would require, so clinical use needs additional infrastructure and validation you provide yourself
How much do Optuna and Terra cost?
Optuna is free to use; Terra is free to use. Plan by plan below, from each vendor's own pricing page.
Optuna
FreeNo published plan breakdown. See the Optuna review.
Terra
Free- Terra platformFree
- No charge for the platform, administration, security controls or frontline support
- Workspaces, workflow execution and notebook environments included
- Available on Google Cloud and Microsoft Azure
- Cloud consumptionOn request
- Google Cloud or Azure charges passed through at cost with no markup
- Running notebook virtual machines around 0.22 USD per hour, roughly 0.027 USD per hour when paused
- Storage billed continuously on workspace buckets and intermediate workflow outputs
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 Terra if
- You need no platform licence fee.
- You want to start without paying.
- You work on Web, Microsoft Azure.
- You also want cloud pass-through billing.
Questions people ask
- Is Optuna or Terra better?
- It depends on the job. Optuna fits tuning deep learning models; Terra fits a genomics lab running whole-genome alignment and variant calling pipelines without provisioning or maintaining a local cluster. Optuna starts at Free and Terra at Free.
- Which is cheaper, Optuna or Terra?
- Optuna starts at Free and Terra at Free.
- Does Optuna or Terra run on more platforms?
- Optuna runs on Web. Terra runs on Web, Microsoft Azure.
- Can I use Optuna for free?
- Both have a free tier, so you can try either at no cost before committing.
- 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 Terra is typically brought in for.
- What can Optuna do that Terra cannot?
- Optuna covers Define-by-run search spaces, Pruning of unpromising trials, Parallel and distributed search, Framework-agnostic integrations. Terra covers No platform licence fee, Cloud pass-through billing, WDL workflow execution, Notebook environments.
Answered from the vendors’ own pages
Optuna: What licence does Optuna use?
The MIT License.
SourceTerra: Is Terra really free?
The platform is. There is no licence fee. Everything you pay is Google Cloud or Azure compute, storage and egress, passed through at cost.
Optuna: Who develops Optuna?
Preferred Networks, which first introduced it in 2018.
SourceTerra: What actually drives the bill?
Running virtual machines and stored data. Pausing notebooks drops a virtual machine from about 0.22 to about 0.027 dollars an hour, and deleting intermediate workflow outputs is the other main saving.
Optuna: What Python version is needed?
Python 3.10 or newer.
SourceTerra: Can I use it with protected health information?
Yes. Terra signs HIPAA business associate agreements and GDPR data processing agreements, and the Azure deployment holds FedRAMP Moderate authorisation.
Terra: Is it validated for clinical or GxP use?
No. It is a research platform. Regulated clinical or submission workflows need validation and controls you build yourself.
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 DNAnexus
- Optuna vs Seven Bridges
- Optuna vs Benchling
- Optuna vs Dotmatics
- Optuna vs Form Bio
- Optuna vs Medidata Rave
- Optuna vs Aurelius
- Optuna vs Genedata
- Optuna vs Valispace
- Optuna vs Sapio Sciences
- Optuna vs Zotero
- Optuna vs Attest
- Optuna vs Covidence
- Optuna vs Dedoose
- Optuna vs Dscout
- Optuna vs Florence eBinders
- Optuna vs GraphPad Prism
- Optuna vs Greenphire
- Terra vs scikit-learn
- Terra vs MLflow
- Terra vs Weights & Biases
- Terra vs Comet ML
- Terra vs Streamlit
- Terra vs PyTorch
- Terra vs Gradio
- Terra vs Kedro
- Terra vs Metaflow
- Terra vs DataRobot
- Terra vs TensorFlow
- Terra vs Kaggle
- Terra vs Label Studio
- Terra vs Labelbox
- Terra vs LightGBM
- Terra vs Keras
- Terra vs Google AI Studio
- Terra vs JAX
- Terra vs DNAnexus
- Terra vs Seven Bridges
- Terra vs Benchling
- Terra vs Dotmatics
- Terra vs Form Bio
- Terra vs Medidata Rave
- Terra vs Aurelius
- Terra vs Genedata
- Terra vs Valispace
- Terra vs Sapio Sciences
- Terra vs Zotero
- Terra vs Attest
- Terra vs Covidence
- Terra vs Dedoose
- Terra vs Dscout
- Terra vs Florence eBinders
- Terra vs GraphPad Prism
- Terra vs Greenphire
