Comparison
bayesian-optimization vs botorch vs google-vizier 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 6 of the last 26 weeks. A safe choice.
pip install bayesian-optimizationBayesian Optimization in PyTorch
Actively maintained. Last release 6 months ago, commits in 19 of the last 26 weeks. A safe choice.
pip install botorchOpen Source Vizier: Distributed service framework for blackbox optimization and research.
Maintained. Last release 22 months ago, commits in 12 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install google-vizierA 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.5M downloads a month, 11× more than bayesian-optimization.
- optuna also has the best Pythie’s Index (96).
- bayesian-optimization is growing fastest: downloads +34% over the last month.
- Safe default for a new project: optuna.
Side by side
| Metric | bayesian-optimization | botorch | google-vizier | optuna |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 78 | Pythie’s Index: 80 | Pythie’s Index: 60 | Pythie’s Index: 96 |
| Verdict | Actively maintained | Actively maintained | Maintained | Actively maintained |
| Downloads / month | 1.3M | 571.1K | 185.9K | 14.5M |
| Downloads, month over month | +34% | -6% | +14% | +4% |
| GitHub stars | 8.7K | 3.7K | 1.7K | 15.1K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 65 | 70 | 2 | 811 |
| Last release | Oct 2, 2026 | Jun 8, 2026 | Feb 1, 2025 | Nov 16, 2026 |
| Releases, 12 months | 5 | 5 | 0 | 6 |
| Weeks with commits | 6 / 26 | 19 / 26 | 12 / 26 | 26 / 26 |
| Recent contributors | 24 | 27 | 16 | 22 |
| First release | Jan 2017 | May 2019 | May 2022 | Oct 2018 |
| Python versions | 3.9 – 3.14 | – | 3.9 | 3.10 – 3.15 |
| License | MIT | MIT | Apache-2.0 | 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.