compare
FastAPI vs Starlette
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | FastAPI | Starlette |
|---|---|---|
| Language | Python | Python |
| Licence | MIT | BSD-3-Clause |
| Stars | 103k | 13k |
| Latest | 0.142.2 | 1.7.0 |
| Last push | 2026-10-06 | 2026-10-06 |
| Release cadence | about 1 day between releases | about 2 days between releases |
| Active contributors | 8 commit authors on the default branch in the last 90 days | 30 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Both replace Flask. Alternatives to Flask →
Full replacementFastAPIAsync, with type hints driving validation and OpenAPI docs.
PartialStarletteA lightweight ASGI toolkit with routing, middleware and WebSockets, the base FastAPI is built on.
FastAPI
- 0.142.22026-09-30🐛 Allow startup when automatic OpenTelemetry configuration fails. PR #16418 by @tiangolo.
- 0.142.12026-09-29🐛 Fix repeated endpoint wrapping in included routers. PR #16414 by @tiangolo.
- 0.142.02026-09-29✨ Add native OpenTelemetry support. PR #16403 by @tiangolo.
- 0.141.12026-07-29🐛 Fix support for background tasks and headers from dependencies in app.frontend(). PR #16105 by @tiangolo.
- 0.141.02026-07-29✨ Add app.frontend(check_dir="auto"), to make local development more convenient with fastapi dev. PR #16102 by @tiangol…
FastAPI
✓ signed The latest release, 0.142.2, carries a signature GitHub verified.
Loading the security report
Starlette
✓ signed The latest release, 1.7.0, carries a signature GitHub verified.
Loading the security report