Backend and APIs · Tool

Uvicorn and ASGI

Uvicorn is the server program that runs async Python web apps such as FastAPI; ASGI is the standard way such servers and frameworks talk to each other.

Frameworks · Open source · updated

How it works

A Python framework does not listen on a network port by itself. A server such as Uvicorn accepts HTTP and WebSocket connections and hands each request to the app through ASGI (Asynchronous Server Gateway Interface), the async successor to WSGI, which Flask and classic Django use. Any ASGI app runs on any ASGI server, so Hypercorn, Daphne or Granian can stand in for Uvicorn.

Installed with its standard extras, Uvicorn uses uvloop and httptools for speed. In production it usually runs several worker processes, through its own --workers option or under Gunicorn, behind a reverse proxy such as Nginx.

Uvicorn and ASGI pricing

Open source

Free (BSD licence).

Approximate, checked September 2026.What the other tools cost

More in Backend and APIs

Frameworks

All 26 Backend and APIs terms

Crafted in the dark. Shipped to the world.

Tell us what you are building. You get a private project space with a proposal and a line-by-line quote within a day.