Softwr
Optuna logo

Optuna

Open-source Python framework for automated hyperparameter optimisation

Optuna is free to use. Optuna is an MIT-licensed hyperparameter optimisation framework from Preferred Networks with define-by-run search spaces, pruning and a web dashboard. Softwr lists it under Machine Learning. Optuna is made by Preferred Networks, Inc..

Overview

What is Optuna?

Optuna is an open-source hyperparameter optimisation framework that automates the search for good model settings. Search spaces are defined in ordinary Python with conditionals and loops, so they can change as a trial runs. It includes modern search algorithms that cover large spaces and prune unpromising trials early, and searches can be parallelised over threads or processes without code changes. Optuna is framework agnostic, with examples for PyTorch, TensorFlow, Keras, scikit-learn, XGBoost, LightGBM, Dask-ML and MLflow. Install it with pip on Python 3.10 or newer, write an objective function that suggests values through a trial object, and call study.optimize. Related projects include Optuna Dashboard, a real-time web dashboard for optimisation history and hyperparameter importance, OptunaHub for sharing features such as AutoSampler, and Rustuna, a Rust implementation. Preferred Networks first introduced Optuna in 2018, and it is released under the MIT licence. Version 5.1.0 was released on 16 November 2026. It is free with no paid edition.

What people use it for

  • Tuning deep learning models
  • Tuning gradient-boosted trees
  • Pruning slow experiments early
  • Parallel searches across machines

The honest half

Where does Optuna fall short?

The limits buyers hit most with Optuna: searches are only as good as the objective and search space defined; and distributed runs need a shared storage backend set up by the user. Each is concrete and checkable: the half of a review a vendor will not write.

  • 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

Cross-shopped

What are the alternatives to Optuna?

The closest alternatives to Optuna are Anyscale, Weights & Biases and scikit-learn. Each is a tool buyers genuinely weigh against it, with the reason why.

Capabilities

What can Optuna do?

Optuna lists 7 features, including define-by-run search spaces; pruning of unpromising trials; and parallel and distributed search.

  • Define-by-run search spaces

  • Pruning of unpromising trials

  • Parallel and distributed search

  • Framework-agnostic integrations

  • Optuna Dashboard

  • OptunaHub feature sharing

  • Multiple search algorithms

Answered, with sources

Questions people ask

Each answer names the page it came from, so you can check it rather than take our word for it.

What licence does Optuna use?

The MIT License.

Source
Who develops Optuna?

Preferred Networks, which first introduced it in 2018.

Source
What Python version is needed?

Python 3.10 or newer.

Source

Checked against

Sources

The pages the facts above were read from. Prices and limits change, so the vendor's own page is the final word.

Share

Keep looking

Where to go from Optuna

Best Machine Learning software for

Compare Optuna with

Other Machine Learning software

  • Machine learning in Python

    Free plan16 researched notes
  • Open source platform for managing the ML lifecycle

    Free plan13 researched notes
  • Developer tools for machine learning

    Free, then $60/mo13 researched notes
  • Platform for tracking, comparing, and optimizing ML experiments

    Free, then $19/mo15 researched notes
  • Open source Python framework for building data apps and dashboards

    Free plan13 researched notes
  • Deep learning framework with dynamic computation graphs

    Free plan9 researched notes
  • Open source Python library for building shareable machine learning demos

    Free plan11 researched notes
  • Open-source Python framework for building reproducible, production-ready data and ML pipelines

    Free plan11 researched notes
  • Open-source Python framework from Netflix for building ML, AI and data science workflows

    Free plan10 researched notes
  • Enterprise AI platform for automated machine learning

    15 researched notes
  • Open-source machine learning framework by Google

    Free plan12 researched notes
  • Data science platform with free notebooks, public datasets, competitions and pre-trained models

    Free plan12 researched notes
  • Open source data labelling tool for AI training data and evaluation

    Free, then $99/mo11 researched notes
  • AI data platform that began as training data labelling tools, now also environments and evals

    Pricing on request11 researched notes
  • Open-source gradient boosting framework for fast tree-based learning on large datasets

    Free plan12 researched notes
  • High level deep learning API in Python that runs on TensorFlow, JAX and PyTorch

    Free plan11 researched notes
  • Browser workspace for trying Gemini models, testing prompts and generating API code

    Free plan12 researched notes
  • Python library for NumPy-style array computing with autodiff, JIT and CPU, GPU and TPU support

    Free plan11 researched notes

Softwr does not host reviews and shows no star rating for Optuna, because a rating we did not collect is not ours to publish. What is here is the pricing and platform detail from the vendor’s own pages, limitations we could state concretely, and alternatives a reviewer confirmed people weigh against it. Tell us if any of it is wrong.

More on Optuna