> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-chore-sync-comfy-api-v2-spec.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploying ComfyUI

> Scale ComfyUI to millions of generations

While you can run ComfyUI on individual machines, teams in production will typically host ComfyUI on a cluster of GPUs to maximize production scale. ComfyUI offers two deployment methods: the [Developer Platform](https://platform.comfy.org) gives you a fast, managed setup on infrastructure managed by ComfyUI, and self-hosted ComfyUI lets you run ComfyUI on your own machine or infrastructure. [Comfy Cloud](/development/deploy/cloud) also has an API that you can use with minimal setup.

<CardGroup cols={2}>
  <Card title="Serverless API" icon="cloud-arrow-up" href="/development/serverless/overview">
    Deploy a versioned ComfyUI environment as a managed endpoint with on-demand GPU capacity.
  </Card>

  <Card title="Self-Host" icon="server" href="/development/deploy/self-hosting">
    Run ComfyUI on your own hardware, a rented GPU, or a container. Full control.
  </Card>
</CardGroup>

## Which deployment should I use?

### Developer Platform (Serverless API)

The Developer Platform is the managed option. Choose it when you want to:

* Start fast with minimal setup
* Reduce infrastructure and maintenance work
* Still have deep control over which custom nodes, models, and Python dependencies are deployed
* Configure how you want to scale, from 0 to 1000s of GPUs
* Use management tools such as log visibility and configuration tools

<Card title="Serverless API" icon="cloud-arrow-up" href="/development/serverless/overview">
  Build a versioned ComfyUI environment and deploy it as a managed endpoint.
</Card>

### Self-Hosted ComfyUI

Self-hosting gives you control over how ComfyUI runs and how you manage your environment. Choose it when you want to:

* Run ComfyUI on your own infrastructure
* Finely control upgrades, configuration, and security
* Design for custom scaling or platform requirements

<Card title="Self-Hosting Options" icon="server" href="/development/deploy/self-hosting">
  Run ComfyUI on your own hardware, a GPU cloud, or a container.
</Card>

Both methods run the same workflows. A workflow you build and test on a self-hosted instance can move to the Developer Platform without changes, because every surface accepts the same [API format](/development/api-development/workflow-api-format).

## Next step: run workflows against it

Once a deployment is live, see [Running Workflows](/development/run-workflows/overview) to call it from your application. The [Comfy SDKs](/development/api-development/sdks) work against every deployment target; self-hosted instances additionally need the [API Proxy](/development/comfyui-server/api-proxy) during the v2 beta.
