Comparison
APIFlask vs flask-openapi3 vs flask-smorest vs litestar
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A lightweight web API framework based on Flask.
Actively maintained. Last release 4 weeks ago, commits in 12 of the last 26 weeks. A safe choice.
pip install apiflaskGenerate REST API and OpenAPI documentation for your Flask project.
Maintained. Last release 7 months ago, commits in 7 of the last 26 weeks. Weaker on release cadence.
pip install flask-openapi3Flask/Marshmallow-based REST API framework
Maintained. Last release 8 months ago, commits in 9 of the last 26 weeks. Weaker on release cadence.
pip install flask-smorestLitestar - A production-ready, highly performant, extensible ASGI API Framework
Actively maintained. Last release 6 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
pip install litestarIn short
- litestar is the most used: 1.9M downloads a month, 3.0× more than flask-openapi3.
- Maintenance is comparable: litestar 85, APIFlask 83, flask-smorest 60, flask-openapi3 58 on Pythie’s Index.
- flask-openapi3 is growing fastest: downloads +22% over the last month.
- Safe default for a new project: litestar.
Side by side
| Metric | APIFlask | flask-openapi3 | flask-smorest | litestar |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | Pythie’s Index: 58 | Pythie’s Index: 60 | Pythie’s Index: 85 |
| Verdict | Actively maintained | Maintained | Maintained | Actively maintained |
| Downloads / month | 244K | 622.3K | 337.8K | 1.9M |
| Downloads, month over month | +19% | +22% | +5% | +15% |
| GitHub stars | 1.1K | 271 | 716 | 8.6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 3 | 45 | 17 | 131 |
| Last release | Nov 2, 2026 | May 9, 2026 | Mar 22, 2026 | Oct 18, 2026 |
| Releases, 12 months | 4 | 2 | 1 | 8 |
| Weeks with commits | 12 / 26 | 7 / 26 | 9 / 26 | 25 / 26 |
| Recent contributors | 12 | 17 | 4 | 3 |
| First release | Jan 2021 | May 2021 | Sep 2019 | Apr 2023 |
| Python versions | 3.9 – 3.14 | 3.10 – 3.14 | 3.10 – 3.13 | 3.8 – 3.15 |
| License | MIT | MIT | MIT | 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.