Documentation Index
Fetch the complete documentation index at: https://na-36-handover-docs-v2-into-docs-v2-dev-20260518.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
When a gateway receives a job (a transcoding segment or an AI inference request), it selects an orchestrator from the active set to process the work. Selection combines three criteria: capability matching (does the orchestrator support the requested pipeline and model?), price filtering (is the orchestrator’s price within the gateway’s maximum?), and stake-weighted random selection among qualifying candidates.
Capability Matching
For AI inference jobs, the gateway matches against orchestrators registered in the AI Service Registry on Arbitrum One. The registry records which pipelines and model IDs each orchestrator advertises as warm. A gateway requestingtext-to-image with model ByteDance/SDXL-Lightning only considers orchestrators advertising that combination.
Capability data is read at session start; the gateway caches the active set and refreshes periodically. Cold capabilities (advertised but not currently loaded) are visible in the registry but may result in longer job latency as the orchestrator loads the model.
Price Filtering
Orchestrators advertise a price per unit. The gateway filters out any orchestrator whose price exceeds-maxPricePerUnit:
-maxPricePerUnit 0 disables price filtering: the gateway accepts orchestrators at any price.
Stake-Weighted Selection
Among orchestrators that pass capability and price filters, the gateway applies stake-weighted random selection. An orchestrator with twice the staked LPT of another has approximately twice the probability of being selected for a given job, holding other factors equal. The discovery ping time also influences selection: orchestrators that consistently fail to respond or return errors are removed from the active selection pool until they recover. This mechanism is stable for the duration of a stream: once a session is assigned to an orchestrator, the gateway continues routing that session’s segments to the same orchestrator unless it fails.Restricting to Specific Orchestrators
From go-livepeer PR #3634, gateway clients can include or exclude specific orchestrators byserviceAddr in their requests:
Viewing Active Orchestrators
The Livepeer Explorer atexplorer.livepeer.org shows the active orchestrator set with stake, price per pixel, and performance scores. The AI capability dashboard at tools.livepeer.cloud/ai/network-capabilities shows AI-specific warm capabilities.
Setting Prices as an Orchestrator
Orchestrators set pricing per pipeline type. For transcoding:aiModels.json per pipeline entry:
live-video-to-video, price_per_unit is in wei per second.
Competitive pricing relative to the gateway’s -maxPricePerUnit determines whether an orchestrator enters the selection pool at all. Orchestrators priced above the gateway’s maximum receive no work from that gateway regardless of stake.
Market Dynamics
The active set posts prices on-chain via the AI Service Registry and via the off-chainGetOrchestratorInfo RPC. Gateways negotiate directly during session establishment.
The Livepeer Explorer shows historical price data per orchestrator. The tools.livepeer.cloud/ai/network-capabilities dashboard shows current warm AI capabilities but does not expose per-orchestrator pricing.
Related Pages
Probabilistic Micropayments
How tickets are priced and the per-unit model used in selection.
ETH Escrow and Deposits
Funding the gateway deposit that backs PM tickets sent to orchestrators.
BYOC Overview
Registering custom capabilities that influence orchestrator selection.
Alt-Gateway Overview
Off-chain gateway clients and their orchestrator discovery patterns.