Comparison
nevergrad vs nlopt vs optuna vs scikit-optimize
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A Python toolbox for performing gradient-free optimization
Low maintenance activity. Last release 19 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install nevergradLibrary for nonlinear optimization, wrapping many algorithms for global and local, constrained or unconstrained, optimization
Maintained. Last release 5 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install nloptA hyperparameter optimization framework
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install optunaSequential model-based optimization toolbox.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install scikit-optimizeIn short
- scikit-optimize is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- optuna is the most used: 14.8M downloads a month, 4.0× more than nlopt.
- optuna also has the best Pythie’s Index (95).
- nevergrad is growing fastest: downloads +133% over the last month.
- Safe default for a new project: optuna.
Side by side
| Metric | nevergrad | nlopt | optuna | scikit-optimize |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 34 | Pythie’s Index: 49 | Pythie’s Index: 95 | Pythie’s Index: 19 |
| Verdict | Low maintenance activity | Maintained | Actively maintained | Slowing down |
| Downloads / month | 1M | 3.7M | 14.8M | 604.2K |
| Downloads, month over month | +133% | +46% | +5% | -3% |
| GitHub stars | 4.2K | 34 | 15.1K | 25 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 38 | 57 | 811 | 219 |
| Last release | Apr 23, 2025 | Jul 17, 2026 | Nov 16, 2026 | Jun 4, 2024 |
| Releases, 12 months | 0 | 2 | 6 | 0 |
| Weeks with commits | 3 / 26 | 2 / 26 | 26 / 26 | 0 / 26 |
| Recent contributors | 15 | 7 | 21 | 11 |
| First release | Jan 2019 | Sep 2018 | Oct 2018 | Aug 2016 |
| Python versions | – | 3.9 – 3.13 | 3.10 – 3.15 | 3.8 – 3.12 |
| License | MIT | MIT | MIT | BSD-3-Clause |
| 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.