FastAPI, a modern, high-performance, web framework for building APIs with Python, is now supported with zero-configuration.
Vercel's framework-defined infrastructure now recognizes and deeply understands FastAPI applications. This update removes the need for redirects in vercel.json
or using the /api
folder.
Backends on Vercel use Fluid compute with Active CPU pricing by default. This means your FastAPI app will automatically scale up and down based on traffic, and you only pay for what you use.
Deploy FastAPI on Vercel or visit the FastAPI on Vercel documentation.