FastAPI
Async Python web framework built on Starlette and Pydantic. Our default choice for wrapping models as HTTP services.
API & Serving Beginner
Category
API & Serving
Difficulty
Beginner
When to use
You need a typed, async Python HTTP service — especially one that serves ML models, proxies LLM calls, or exposes a RAG pipeline.
When not to use
You need server-rendered HTML at scale, SSR, or a batteries-included admin — reach for Django. Pure static sites belong elsewhere.
Alternatives
Flask Django REST Framework Litestar BentoML