Comparison
bayesian-optimization vs FLAML vs hyperopt vs optuna
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Bayesian Optimization package
Actively maintained. Last release 2 months ago, commits in 7 of the last 26 weeks. A safe choice.
pip install bayesian-optimizationA fast library for automated machine learning and tuning
Actively maintained. Last release 4 weeks ago, commits in 18 of the last 26 weeks. A safe choice.
pip install flamlDistributed Asynchronous Hyperparameter Optimization
Maintained. Last release 4 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install hyperoptA hyperparameter optimization framework
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install optunaIn short
- optuna is the most used: 14.8M downloads a month, 8.8× more than hyperopt.
- Maintenance is comparable: optuna 95, FLAML 91, bayesian-optimization 80, hyperopt 52 on Pythie’s Index.
- bayesian-optimization is growing fastest: downloads +23% over the last month.
- Safe default for a new project: optuna.
Side by side
| Metric | bayesian-optimization | FLAML | hyperopt | optuna |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | Pythie’s Index: 91 | Pythie’s Index: 52 | Pythie’s Index: 95 |
| Verdict | Actively maintained | Actively maintained | Maintained | Actively maintained |
| Downloads / month | 1.3M | 370.6K | 1.7M | 14.8M |
| Downloads, month over month | +23% | +0% | -7% | +5% |
| GitHub stars | 8.7K | 4.4K | 7.6K | 15.1K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 65 | 37 | 187 | 811 |
| Last release | Oct 2, 2026 | Nov 6, 2026 | Jul 24, 2026 | Nov 16, 2026 |
| Releases, 12 months | 5 | 6 | 2 | 6 |
| Weeks with commits | 7 / 26 | 18 / 26 | 3 / 26 | 26 / 26 |
| Recent contributors | 24 | 22 | 37 | 21 |
| First release | Jan 2017 | Dec 2020 | Jan 2013 | Oct 2018 |
| Python versions | 3.9 – 3.14 | 3.10 – 3.13 | 3.8 – 3.12 | 3.10 – 3.15 |
| License | MIT | MIT | BSD-3-Clause | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.