Zero-configuration FastAPI backends
By Steven Van ·
FastAPI backends deploy without vercel.json redirects and run on Fluid compute with Active CPU pricing by default.
Vercel now recognizes FastAPI applications without any configuration, removing the need for redirects in vercel.json or routing through an /api folder. It looks for a FastAPI instance named app in files such as app.py, main.py, or asgi.py, or at a custom entrypoint set via tool.vercel.entrypoint in pyproject.toml.
FastAPI backends run on Fluid compute with Active CPU pricing by default, so they scale up and down with traffic and are billed only for compute actually used.
Vercel
The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.
View Vercel →