Skip to main content
This guide adds AI inference to an orchestrator that is already running and activated for transcoding. By the end, your node accepts AI jobs alongside video work.
Setting up from scratch? Do Run your first orchestrator first, then come back here. AI pipelines require Linux.

1. Check your available VRAM

AI inference runs in a separate Docker container. If it shares a GPU with transcoding, VRAM is split between them. Check what’s free:
Pick a pipeline you can actually fit:
If the GPU lacks free VRAM for both transcoding and your chosen pipeline, AI runner containers fail to start. Pick a lower-VRAM pipeline, dedicate a second GPU to AI, or stop transcoding on that GPU.
See the hardware reference for the full VRAM-by-workload table.

2. Pull the AI runner image

3. Configure aiModels.json

This file tells your node which pipelines and models to serve, what to charge, and what to keep warm in VRAM. Create ~/.lpData/aiModels.json with at least one entry:
Don’t use DEEPCACHE with Lightning/Turbo models — they’re already optimized and quality drops. SFAST and DEEPCACHE can’t be combined. Changes to aiModels.json are not hot-reloaded — restart the node after editing.

4. Enable the AI worker

Add three flags to your startup command:
Running in Docker? Mount the Docker socket so the node can spawn AI runner containers, and use port 8936 to avoid clashing with the transcoding orchestrator on 8935:
With Docker-out-of-Docker, -aiModelsDir must be a path on the host machine, not inside the container — the node passes it directly to the runner containers it spawns.

5. Verify AI is active

Within seconds of startup you should see a managed-container log line for each warm model:
Then send a test request to the runner:
A successful response contains an images array. Finally, confirm your pipelines appear externally at tools.livepeer.cloud/ai/network-capabilities (search your orchestrator address; allow 2–5 minutes). If jobs still don’t arrive, check aiModels.json is valid, the model_id matches a verified model, and the runner is reachable — see the AI troubleshooting entries in the FAQ.

Next

Set pricing

Price each pipeline and model competitively.

Hardware reference

VRAM planning and GPU selection for AI.