Softwr

Machine Learning · head to head

Optuna vs Seldon

Optuna logo

Optuna

Machine Learning

Open-source Python framework for automated hyperparameter optimisation

From
Free
Free plan
Yes
Seldon logo

Seldon

Machine Learning

Kubernetes model serving whose current version is licensed under the Business Source Licence

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 Seldon lists kubernetes custom resources.
  • Where Optuna falls short: searches are only as good as the objective and search space defined.

How do Optuna and Seldon differ?

Optuna and Seldon differ on pricing model (Open-source against Freemium) and platforms (Web against Linux). Only the attributes on which Optuna and Seldon actually diverge.

Attributes where Optuna and Seldon differ
AttributeOptunaSeldon
Pricing modelOpen-sourceFreemium
PlatformsWebLinux

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: category for Optuna, founded for Optuna.

Which features does each one have?

They share no listed features; 7 appear only for Optuna and 8 only for Seldon. 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 Seldon

  • Kubernetes custom resources
  • Inference graphs
  • Traffic strategies
  • Open Inference Protocol
  • Alibi Explain
  • Alibi Detect
  • Kafka-backed pipelines in v2
  • Commercial control plane

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 Seldon
  • Tuning gradient-boosted treesnot Seldon
  • Pruning slow experiments earlynot Seldon
  • Parallel searches across machinesnot Seldon

Seldon

  • Serving an ensemble or a multi-stage inference path as one versioned deployment rather than as a chain of separate servicesnot Optuna
  • Running genuine production experiments where a share of live traffic goes to a candidate model and the results are comparednot Optuna
  • Regulated environments needing explanations and drift monitoring attached to the served model rather than bolted on laternot Optuna
  • Organisations with an established Kubernetes platform team who want serving expressed as manifests under existing deployment controlsnot Optuna

Where do Optuna and Seldon 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

Seldon

  • Seldon Core v2 is under the Business Source Licence rather than Apache 2.0, so production use requires a commercial agreement, and a team that evaluated it believing it was open source discovers the licence is the blocker exactly when the project is ready to ship
  • Core v1 remains Apache 2.0 but is in maintenance, so taking the free route means running software that receives no new development while the architecture it belongs to moves on without it
  • Version 2 is a different system rather than a newer release, with different custom resources, a scheduler component and a Kafka-based pipeline model, so migrating from v1 is a re-implementation of every deployment manifest rather than an upgrade
  • Kafka is a dependency for v2 pipelines, so an organisation that does not already operate it takes on a distributed log with its own storage, retention, rebalancing and failure modes purely in order to serve models
  • Everything assumes Kubernetes fluency and the failure modes are Kubernetes failure modes, custom resource version mismatches, an operator that will not reconcile, admission webhooks and resource limits terminating an inference pod mid-request, so it needs a platform engineer rather than a data scientist

How much do Optuna and Seldon cost?

Optuna is free to use; Seldon is free to use. Plan by plan below, from each vendor's own pricing page.

Optuna

Free

No published plan breakdown. See the Optuna review.

Seldon

Free
  • Seldon CoreFree
    • Open source
    • Kubernetes deployment
    • Model serving
  • Seldon DeployFree
    • Enterprise features
    • GUI
    • Monitoring

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 Seldon if

  • You need kubernetes custom resources.
  • You want to start without paying.
  • You work on Linux.
  • You also want inference graphs.

Questions people ask

Is Optuna or Seldon better?
It depends on the job. Optuna fits tuning deep learning models; Seldon fits serving an ensemble or a multi-stage inference path as one versioned deployment rather than as a chain of separate services. Optuna starts at Free and Seldon at Free.
Which is cheaper, Optuna or Seldon?
Optuna starts at Free and Seldon at Free.
Does Optuna or Seldon run on more platforms?
Optuna runs on Web. Seldon runs on Linux.
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 Seldon is typically brought in for.
What can Optuna do that Seldon cannot?
Optuna covers Define-by-run search spaces, Pruning of unpromising trials, Parallel and distributed search, Framework-agnostic integrations. Seldon covers Kubernetes custom resources, Inference graphs, Traffic strategies, Open Inference Protocol.

Answered from the vendors’ own pages

Optuna: What licence does Optuna use?

The MIT License.

Source
Seldon: Is Seldon open source?

Partly, and this is the thing to check before you build on it. Core v1 is Apache 2.0 but in maintenance. Core v2 was moved to the Business Source Licence in 2024, which allows evaluation but not unlicensed production use. Verify the current licence of each component you intend to run, including MLServer and the Alibi libraries.

Optuna: Who develops Optuna?

Preferred Networks, which first introduced it in 2018.

Source
Seldon: What is the difference between v1 and v2?

Architecture, not just version number. v2 introduces a scheduler, a different set of custom resources and Kafka-backed pipelines. Manifests, mental model and operations all change, so treat a move as a project.

Optuna: What Python version is needed?

Python 3.10 or newer.

Source
Seldon: Do I need Kubernetes?

Yes. It is a Kubernetes-native system and there is no meaningful deployment without a cluster and someone competent to run it.

Seldon: What is MLServer?

Seldon's Python inference server implementing the Open Inference Protocol, usable inside Seldon deployments or on its own. Check its current licence alongside Core's, since the company has moved projects onto the Business Source Licence.

Seldon: Do I have to run Kafka?

For v2 pipelines, yes. If you only need single models served, that dependency is a large amount of infrastructure for the benefit, and a simpler serving layer may be the better answer.

Share

Related pages

Other head to heads