# Can Vercel run Python, Go or Docker? Yes, with these limits

Gregale · Updated 2026-12-03

Vercel runs FastAPI, Flask, Django, Go servers and, in beta, any Dockerfile. The limits they share, what a container costs on Hobby, and when to host elsewhere.

**Yes. Vercel runs Python, including FastAPI, Flask, Django and any other ASGI
or WSGI app, and Go servers as Vercel Functions. A root `Dockerfile` also
deploys, on the Container runtime, in beta on every plan.** Python is
generally available, while the Go and Container runtimes are in beta. All of
them share the function limits: on the free Hobby plan, 2 GB of memory and 300
seconds per request.

_Gregale publishes this page. Vercel’s runtimes, limits and quotas come from
its own docs, checked on December 3, 2026:
[runtimes](https://vercel.com/docs/functions/runtimes),
[Python](https://vercel.com/docs/functions/runtimes/python),
[Go](https://vercel.com/docs/functions/runtimes/go),
[Container runtime](https://vercel.com/docs/functions/runtimes/container),
[function limits](https://vercel.com/docs/functions/limitations),
[WebSockets](https://vercel.com/docs/functions/websockets),
[Daemons](https://vercel.com/docs/daemons) and the
[Hobby plan](https://vercel.com/docs/plans/hobby). Gregale’s come from its
[plans page](https://gregale.dev/docs/plans.md)._

## What each runtime runs

| You have                                        | Vercel runtime                          | Status | How it deploys                                                                                                                                                                                                |
| ----------------------------------------------- | --------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Flask, FastAPI, Django or another ASGI/WSGI app | Python 3.12 (the default), 3.13 or 3.14 | GA     | Vercel detects the framework from `requirements.txt`, `pyproject.toml` or `Pipfile` and loads `app` (`application` for Django) from an entrypoint such as `app.py`, `main.py` or `wsgi.py`                    |
| A Go `net/http` server, with chi or gin         | Go                                      | Beta   | A root `go.mod` and `main.go`, `cmd/api/main.go` or `cmd/server/main.go`. The server listens on `$PORT`. Files in `/api` that export an `http.HandlerFunc` become separate functions instead                  |
| Anything with a Dockerfile                      | Container                               | Beta   | A root `Dockerfile` or `Containerfile`, when no other framework is detected, or a `Dockerfile.vercel`. The image is pushed to Vercel Container Registry and must serve HTTP, on port 80 unless you set `PORT` |

Vercel also has Node.js, Bun, Ruby, Rust and WebAssembly runtimes. To run a Python or
Go backend next to a frontend in one project, Vercel’s Services routes paths
such as `/api/*` to the backend on the same domain.

## The limits that apply to all of them

Every runtime, containers included, runs as a Vercel Function on Fluid
compute:

|                            | Hobby (free)                                                         | Pro                                              |
| -------------------------- | -------------------------------------------------------------------- | ------------------------------------------------ |
| Memory and CPU             | 2 GB, 1 vCPU                                                         | 2 GB by default, up to 4 GB and 2 vCPUs          |
| Maximum time per request   | 300 seconds                                                          | 300 seconds by default, up to 800; 1,800 in beta |
| Bundle size (uncompressed) | 250 MB, or 500 MB for Python; up to 5 GB with large functions (beta) | The same                                         |
| Request body               | 4.5 MB                                                               | 4.5 MB; 20 MiB in beta with 4 GB of memory       |
| File system                | Read-only, with up to 500 MB of writable `/tmp`                      | The same                                         |
| Regions                    | One (`iad1` unless you change it)                                    | Several                                          |

Large functions cover the Node.js, Bun and Python runtimes, not containers.
What the limits mean in practice:

- **No local database file.** `/tmp` belongs to one instance and is gone when
  it stops, so SQLite, Django’s default, can’t keep your data. Vercel points
  you to a hosted database from its Marketplace.
- **Long jobs need another tool.** A request still running at its maximum
  duration ends with a 504, `FUNCTION_INVOCATION_TIMEOUT`. For longer work
  Vercel offers Workflows, Queues and Daemons: container processes that run
  all the time, in beta and in production deployments only.
- **WebSockets work, up to the maximum duration.** They’re on every plan. A
  connection stays on one function instance and closes when the function
  reaches its maximum duration, so clients must reconnect. Python apps can use
  python-socketio or Flask-SocketIO.

## What a container costs on the free plan

Hobby includes 4 hours of Active CPU, 360 GB-hours of provisioned memory and 1
million function invocations a month. In most cases, going over a Hobby limit
means waiting until 30 days have passed to use that feature again.

Active CPU counts only the time your code is running, not time spent waiting
on a database or an API. Provisioned memory counts the instance’s memory for
as long as the instance runs. A production container instance keeps running
until it has had no traffic for 5 minutes, or 30 seconds in previews.

On Hobby every instance has 2 GB, so 360 GB-hours is 180 instance-hours a
month: about a week of one instance running all the time. A daemon that sits
waiting for work still uses provisioned memory for every hour it runs.

## When Vercel is the right choice

- **Your frontend is already on Vercel** and the backend is a Python, Go or
  Node.js API: Services runs both in one project behind one domain.
- **Requests take minutes, not seconds.** Vercel allows 300 seconds per
  request on Hobby and up to 800 on Pro.
- **You need memory:** 2 GB per instance on the free plan, and 4 GB on Pro.

## Where Gregale fits

Gregale runs a whole app in its own microVM, from source or a Docker image:
Python, Node.js, Bun, Go, PHP or anything else in a container. Where it
differs from Vercel’s containers is when billing stops:

- **Idle.** An app parks after 1 minute idle on Free and Hobby. A parked app
  holds no memory and isn’t billed, and the next request restores it from a
  snapshot in 50 to 83 ms in [our measurements](https://gregale.dev/articles/cold-start-times-by-language).
- **One price with Postgres.** Hobby is $10 a month for 5 apps with 512 MB
  each, 200 GB-RAM-hours and a managed Postgres database with 1 GiB of storage
  and 25 CU-hours of compute. On Vercel a database comes from a Marketplace
  provider.
- **The free plan is smaller.** Gregale Free runs 1 app with 256 MB and 20
  GB-RAM-hours a month, and requests can take up to 30 seconds. It’s HTTP
  only; WebSockets, crons and Postgres need Hobby. Vercel Hobby includes far
  more memory-hours.

So the trade is plain. If a backend is busy for long stretches, needs more
than 512 MB or runs requests for minutes, Vercel’s limits are higher. If it
sits idle most of the day, Gregale stops billing a minute after the last
request instead of five. See [Vercel alternatives](https://gregale.dev/articles/vercel-alternatives),
[a FastAPI backend for a Next.js app on Vercel](https://gregale.dev/articles/deploy-fastapi-backend-nextjs-vercel)
or [Does Vercel have cold starts?](https://gregale.dev/articles/does-vercel-have-cold-starts)

## What we verified

Vercel’s runtimes, limits and quotas come from its docs on December 3, 2026.
That day the Go and Container runtimes and Daemons were in beta. We didn’t
deploy to Vercel for this page. Gregale’s plans and limits are from its plans
page on the same date, and its restore times from
[cold start times by language](https://gregale.dev/articles/cold-start-times-by-language).

## Questions

### Can Vercel run Python?

Yes. The Python runtime runs ASGI and WSGI apps such as FastAPI, Flask and Django as Vercel Functions, on Python 3.12 (the default), 3.13 or 3.14, with a 500 MB bundle limit.

### Does Vercel support Docker?

Yes, in beta on every plan. The Container runtime builds a root Dockerfile or Containerfile, pushes it to Vercel Container Registry and runs it as a Vercel Function with the same limits: on Hobby, 2 GB of memory and 300 seconds per request.

### Can Vercel run a Go backend?

Yes. The Go runtime, in beta, runs a net/http server, including chi or gin, that listens on $PORT, from a root go.mod and main.go.

### Does Vercel support WebSockets?

Yes, on every plan. A connection stays on one function instance and closes when the function reaches its maximum duration, so clients should reconnect.

Canonical URL: https://gregale.dev/articles/can-vercel-run-python-go-docker

