Pricing overview
Serverless API (ComfyUI) supports two billing plans:- Pay as You Go: standard hourly rates by machine tier
- Pro (subscription): 20%–30% discount on Pay as You Go rates
How billing works
Billing is usage-based and calculated per second:- Billing starts when an instance is signaled to wake up (cold start + initialization).
- Billing stops when the instance is fully shut down.
min_instances/max_instances(autoscaling bounds)keep_warm_duration_in_seconds(how long to keep idle instances warm)
Persistent instances
- Set
min_instances > 0to keep that many instances running. - You are billed for the full uptime (including idle time) until you scale down.
On-demand instances
- Additional instances spin up to handle demand above
min_instances(or all demand whenmin_instances = 0). - Instances scale down after the keep-warm period.
- You are billed for cold start, execution, and keep-warm time.
Instance cost breakdown
- Cold start: instance boots and loads models/assets. Duration depends on machine tier, workflow complexity, and model size.
- Execution time: workflows run. This is the main compute time.
- Keep-warm time: idle time before scale-down. This time is billed.
Note: You may also see Queue Time (waiting for resources or concurrency). Queue time is not billed.
Support
If you believe you’ve been incorrectly billed, contact us at hi@runcomfy.com with yourdeployment_id, the request_id (if applicable), and the approximate time of the issue.