---
title: FastAPI
description: FastAPI framework, high performance, easy to learn, fast to code, ready for production
url: "https://vercel.com/kb/fastapi"
published: 2026-06-11
last_updated: 2026-06-15
install_vercel_plugin: npx plugins add vercel/vercel-plugin
---

# FastAPI

FastAPI framework, high performance, easy to learn, fast to code, ready for production

## Getting started with FastAPI on Vercel

- [How to ship a FastAPI app on Vercel](/kb/guide/ship-a-fastapi-app-on-vercel): Deploy a FastAPI app to Vercel with zero configuration. Learn how the Python runtime, Vercel Functions, streaming, middleware, and cron jobs work together.
- [Build with a FastAPI starter template](/kb/guide/build-with-a-fastapi-starter-template): Browse FastAPI starter templates for Vercel and deploy one in a few steps. Compare minimal, AI, agent, and full-stack FastAPI templates on the Python runtime.
- [Build a Weather API on Vercel: Express, FastAPI, and Nitro](/kb/guide/weather-api-with-fastapi): Build a weather API on Vercel with FastAPI, Express, or Nitro. Compare the three runtimes, add caching and Observability, then deploy the route.

## All FastAPI guides

- [Build an agentic app in FastAPI with OpenAI Agents API and Vercel Sandbox](/kb/guide/fastapi-openai-agents-api-vercel-sandbox): Learn how to build a repository Q\&A app using FastAPI, OpenAI Agents API, and Vercel Sandbox, with isolated code inspection, streamed progress, downloadable evidence, and deployment to Vercel.
- [Deploy Python apps on Vercel using Docker](/kb/guide/vercel-docker-python-apps): Deploy a Dockerized Python application that depends on native software, OCR engines, or small local models, plus a Next.js frontend, on Vercel Services.
- [Build Figma-style multiplayer cursors with WebSockets on Vercel](/kb/guide/real-time-board-nextjs-fastapi): Learn how to build Figma-style multiplayer cursors with Next.js and FastAPI, kept consistent across multiple Vercel Function instances using WebSockets and Redis.
- [Build with a FastAPI starter template](/kb/guide/build-with-a-fastapi-starter-template): Browse FastAPI starter templates for Vercel and deploy one in a few steps. Compare minimal, AI, agent, and full-stack FastAPI templates on the Python runtime.
- [How to ship a FastAPI app on Vercel](/kb/guide/ship-a-fastapi-app-on-vercel): Deploy a FastAPI app to Vercel with zero configuration. Learn how the Python runtime, Vercel Functions, streaming, middleware, and cron jobs work together.
- [Build a Weather API on Vercel: Express, FastAPI, and Nitro](/kb/guide/weather-api-with-fastapi): Build a weather API on Vercel with FastAPI, Express, or Nitro. Compare the three runtimes, add caching and Observability, then deploy the route.
- [Hosting your API on Vercel](/kb/guide/hosting-backend-apis): Learn how to build and scale performant APIs on Vercel.

## Explore other topics in the Vercel Knowledge Base

- [Jev from TypeSafe AI](/kb/jev-from-typesafe-ai): Jev is TypeSafe AI's System One model for fast, typed decisions. It evaluates supplied context and returns choices, scores, and probabilities that applications can use to classify requests, route tasks, and assess proposed actions without generating prose.
- [Vercel Sandbox](/kb/vercel-sandbox): The compute primitive designed to safely run untrusted or user-generated code on Vercel.
- [FDE Field Notes](/kb/fde): Insights from our work with customers. Explore the patterns, diagnostics, and recommendations Vercel’s Forward Deployed Engineers use in production.
- [Software Factory](/kb/software-factory): Software factories put an agent on every stage of your development loop: triage, planning against a live repo checkout, implementation verified with your own checks, and independent review. Work items become draft PRs while you keep the judgment calls.
