Skip to main content

Run background tasks with Celery on Vercel

By Steven Van ·

Celery, an asynchronous distributed task queue for Python, is now supported natively on Vercel.

Vercel now natively supports Celery, the asynchronous distributed task queue for Python. Celery tasks run as Vercel Functions and scale automatically with traffic.

  • Workers are declared as subscribers in pyproject.toml, and Vercel automatically installs the vercel:// broker and sets it as the default broker_url, using Vercel Queues underneath.
  • Task results are stored in Runtime Cache by default, which suits small data sizes and relatively short workflow runtimes. A durable result backend can be configured for stronger persistence, more storage, or longer retention.
  • Celery workloads use Fluid compute with Active CPU pricing by default, so workers scale up and down with traffic and are billed only for what they use.
Vercel
Vercel
The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.
View Vercel →

Read the original announcement →

Read Run background tasks with Celery on Vercel on Creators Toolbox