Errors by HTTP status code
Cold model timeouts
A model is “cold” when no Orchestrator on the network has it loaded in GPU memory. The first request triggers a model load, which takes 30 seconds to 5 minutes depending on model size and GPU. A cold model returns a503 or a long pending response. This is not an error in your code.
Mitigation: use warm models for latency-sensitive applications. The following models are kept warm across the network:
Implement retry with exponential backoff for any request that may target a cold model:
Diagnosing a non-responsive job
When a request hangs with no response, check in this order:-
Network connectivity to the Gateway:
-
Request construction using curl to isolate from SDK behaviour:
- Model availability: use a known warm model to confirm the integration works, then switch to your target model.
-
Gateway availability: if using a self-hosted or third-party Gateway, confirm the Gateway process is running and the HTTP port is reachable. For self-hosted Gateways, check
livepeer_cli -statusand the TicketBroker deposit balance. -
Orchestrator availability: check
tools.livepeer.cloud/ai/network-capabilitiesto confirm Orchestrators are advertising the pipeline and model you need.
422 validation errors
A422 response includes a body that identifies the failing field:
model_idis missing (required on all pipelines)model_idformat is wrong: must be a Hugging Face model ID string, e.g.SG161222/RealVisXL_V4.0_Lightning- Image input sent as JSON instead of
multipart/form-data(image-to-image, upscale, segment-anything-2) - Dimension values are not integers (use
1024, not"1024")
Video transcoding and streaming failures
Video jobs fail for different reasons than AI jobs:Getting help
If the above steps do not resolve the issue:- Discord:
#loungeand#ai-researchchannels in the Livepeer Discord. Include your request body (redact API keys), the response status, and the response body. - Forum: forum.livepeer.org for in-depth debugging questions.
- GitHub: File an issue against Livepeer/ai-runner for AI failures or livepeer/go-livepeer for video and node issues.