Documentation Index
Fetch the complete documentation index at: https://na-36-merge-docs-v2-dev-draft-into-docs-v2-clean-20260525.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
This is Tutorial 3 of 3.
- Tutorial 1:
- Tutorial 2:
This is Tutorial 3 of 3.
- ← Tutorial 1: Off-chain transcoding test
- ← Tutorial 2: BYOC CPU pipeline
Which upgrades do you need?
The three upgrades are independent. Choose based on your persona:| Your situation | Upgrade 1: On-chain | Upgrade 2: GPU | Upgrade 3: Network |
|---|---|---|---|
| AI app developer - self-hosting Gateway for cost savings, using remote signer | ✗ optional | ✓ yes | ✓ yes |
| Gateway-as-a-Service provider - public Gateway, inference fees, SPE grants | ✓ yes | ✓ yes | ✓ yes |
| SDK / alternative Gateway builder | ✗ remote signer | depends | ✓ yes |
| Video operator - transcoding, broadcast | ✓ required | ✗ Orchestrators have GPU | ✓ yes |
| Platform builder - clearinghouse / NaaP | ✗ clearinghouse | ✓ yes | ✓ yes |
Upgrade 1 - On-chain registration
What this gives you
On-chain registration connects your Gateway to the Livepeer Protocol’s payment system on Arbitrum One:- Your Gateway can send ETH probabilistic micropayment (PM) tickets to Orchestrators
- Orchestrators outside your explicit
-orchAddrlist can discover and serve your Gateway - For video Gateways: required for any production transcoding
- For AI Gateways: optional when using a remote signer, but enables full on-chain custody
1.1 - Acquire ETH on Arbitrum One
You need ETH on Arbitrum One (not Ethereum mainnet). The approximate requirement is:| Amount | Purpose | |
|---|---|---|
| PM deposit | ~0.065 ETH | Funds payment tickets sent to Orchestrators |
| PM reserve | ~0.03 ETH | Reserve for ticket redemption by Orchestrators |
| Gas buffer | ~0.01 ETH | Transaction fees on Arbitrum |
| Total | ~0.1 ETH | Safe starting amount |
- Bridge from Ethereum mainnet: bridge.Arbitrum.io - official bridge, ~15 minutes
- Buy directly on Arbitrum: Coinbase, Binance, and OKX all support direct withdrawal to Arbitrum One
- Base → Arbitrum: if you have ETH on Base, use the Base bridge then Across Protocol
1.2 - Create a dedicated wallet for your Gateway
Never use a personal wallet for Gateway operations. Create a dedicated keystore:cast (from Foundry) for a clean key generation:
1.3 - Deposit PM funds on-chain
Send ETH to your Gateway address, then deposit usinglivepeer_cli:
-
Select “Deposit broadcasting funds (ETH)”
Enter approximately
0.065- this becomes your PM deposit (funds the tickets you send to Orchestrators) -
Select “Fund reserve for PM” (if shown separately)
Enter approximately
0.03- this is the reserve Orchestrators can claim from if your deposit runs out
1.4 - Start your Gateway on-chain
Replace-network offchain with your Arbitrum RPC:
Upgrade 2 - GPU pipelines
What this gives you
GPU acceleration enables real-time AI inference that is not possible at production throughput on CPU. The Orchestrator uses NVIDIA GPUs for:- Standard ai-runner pipelines: text-to-image, image-to-video, LLM, upscale, etc.
- BYOC containers with GPU-accelerated models (swap the base image)
- Video transcoding via NVENC/NVDEC (faster than CPU libx264)
2.1 - GPU requirements by pipeline type
| Pipeline | Minimum VRAM | Recommended |
|---|---|---|
| text-to-image (SD-turbo) | 4 GB | 8 GB |
| image-to-image (SDXL) | 8 GB | 12 GB |
| image-to-video (SVD) | 16 GB | 24 GB |
| live-video-to-video (StreamDiffusion) | 8 GB | 16 GB |
| LLM (Llama-3.2-3B) | 6 GB | 12 GB |
| Video transcoding (NVENC) | Any CUDA | - |
2.2 - Enable GPU on the Orchestrator
Add-nvidia to your Orchestrator startup command:
2.3 - Run your GPU BYOC container (BYOC operators only)
If you built a BYOC container in Tutorial 2, swap the base image to use CUDA:Upgrade 3 - Network connect
What this gives you
Removing-orchAddr localhost and switching to network discovery means your Gateway:
- Routes to the full public Orchestrator network (hundreds of Orchestrators globally)
- Automatically selects Orchestrators by price, capability, and past performance
- Can handle demand spikes without running your own hardware
- Participates in the Livepeer Network’s economic system
3.1 - On-chain Gateway: automatic discovery
If you completed Upgrade 1, network discovery works automatically. Remove-orchAddr entirely:
3.2 - Off-chain Gateway: Orchestrator list or remote signer discovery
Off-chain Gateways cannot use the Arbitrum registry. You have three options: Option A - Explicit Orchestrator list (simplest):signer.eliteencoder.net provides a GetOrchestrators endpoint that returns on-chain Orchestrator data, parameterised by capability and model ID. This removes the need to manually manage Orchestrator lists:
3.3 - Set pricing
Before routing to public Orchestrators, set your max price to avoid over-paying: For video transcoding:ai-pricing.json:
3.4 - Verify public Orchestrator routing
Once connected to the network, verify jobs are routing to public Orchestrators:tools.livepeer.cloud for a richer view of Orchestrator performance, pricing, and availability before locking in your Orchestrator selection strategy.
Putting it together - full production command
Here is a complete production Gateway command incorporating all three upgrades (on-chain, GPU Orchestrator nearby, public network):Monitoring your production Gateway
Once live, set up monitoring before you need it:Troubleshooting
Cannot find Orchestrators after removing -orchAddr
Cannot find Orchestrators after removing -orchAddr
On-chain mode: confirm the Arbitrum RPC is working (
curl -X POST YOUR_RPC -d '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}') and the Gateway has a funded PM deposit. Orchestrators only respond to Gateways with valid deposits.Off-chain mode: an -orchAddr or -remoteSignerAddr with discovery support must be provided. There is no automatic discovery in off-chain mode.Orchestrators reject job requests
Orchestrators reject job requests
Most common causes:
- PM deposit is zero or very low - fund it via
livepeer_cli -maxPricePerUnitis lower than any available Orchestrator’s price - raise it temporarily to diagnose- The connected Orchestrators do not support the required capability/model - check the Explorer for Orchestrators advertising the needed capability
GPU not detected (-nvidia 0 error)
GPU not detected (-nvidia 0 error)
Check:If
GPU Check
nvidia-smi works but the Orchestrator fails, check that the NVIDIA Container Toolkit is installed: nvidia-ctk --version.On-chain transaction fails or times out
On-chain transaction fails or times out
Arbitrum transactions are cheap (fractions of a cent) but require a small ETH gas balance. Ensure the Gateway wallet has at least 0.005 ETH above the intended deposit amount for gas. If using a public RPC endpoint, try a different provider - Alchemy and Infura are generally reliable.
PM deposit drains faster than expected
PM deposit drains faster than expected
Either job volume is higher than anticipated, or the Orchestrators are pricing above budget. Check the AI Dune Dashboard for current network pricing and compare against
-maxPricePerUnit / -maxPricePerCapability settings.Related Pages
With a working production Gateway, these guides cover each operational area in depth:Payments and pricing
Understand the full PM fee flow: ticket face value, per-pixel AI pricing, deposit lifecycle, and how to set a pricing strategy that balances cost and Orchestrator availability.
Monitor and optimise
Production observability: Prometheus metrics, Loki log queries, ETH balance alerts, and the key metrics that predict problems before they become incidents.
Remote signers
Run your own remote signer for production off-chain AI workloads. Stateless design, redundancy, JWT auth integration, and NaaP clearinghouse patterns.
Gateway operator opportunities
Inference fees, SPE grants, the NaaP model, and Foundation programmes for Gateway operators building public infrastructure.