> ## Documentation Index
> Fetch the complete documentation index at: /llms.txt
> Use this file to discover all available pages before exploring further.

# Gateway guides

> Curated how-to guides, walkthroughs, and tutorials for running Livepeer gateways - covering off-chain AI setup, remote signers, BYOC, video transcoding, payments, and production operations.

A curated index of every how-to guide, walkthrough, and tutorial for running a Livepeer gateway. Covers off-chain AI gateways, remote signers, BYOC pipelines, video transcoding, payment mechanics, and production operations.

> [!NOTE]
>
> This index covers operator-side setup. If you are a developer looking to **use** a gateway via the API or SDK, see the [Developers tab](/v2/developers/portal.md).

## Getting started

> [card] [Official Gateway Setup Guide](https://docs.livepeer.org/gateways/run-a-gateway/gateway-setup)
>
> The canonical operator quickstart in these docs. Binary or Docker, gateway flags, verify the node is running. Start here.

> [card] [Livepeer Gateway Path](https://docs.livepeer.org/gateways/gateway-path)
>
> Decision matrix: video vs AI gateway, on-chain vs off-chain, hosted service vs self-hosted. Choose your entry point before touching any config.

> [card] [go-livepeer Releases (GitHub)](https://github.com/livepeer/go-livepeer/releases)
>
> Official binary releases for Linux (amd64 and arm64). Always download a tagged release for production use.

> [card] [Why Run a Gateway](https://docs.livepeer.org/gateways/guides/operator-considerations/business-case)
>
> Business case for self-hosting: cost savings at scale, full orchestrator control, lower latency, and inference fee capture.

## Off-chain AI gateway setup

These guides cover the **recommended path** for AI workloads: the off-chain gateway with a remote signer, introduced in Q4 2025 via PRs [#3791](https://github.com/livepeer/go-livepeer/pull/3791) and [#3822](https://github.com/livepeer/go-livepeer/pull/3822).

> [!NOTE]
>
> Off-chain mode removes all Ethereum dependencies from the gateway. No ETH, no Arbitrum RPC, no local signing key - all of that is handled by the remote signer. This is the correct starting point for all new AI gateway deployments.

> [card] [AI Gateway Quickstart (Off-chain)](https://docs.livepeer.org/gateways/quickstart/AI-prompt)
>
> Minimal command to run an off-chain AI gateway with Docker, pointed at a community remote signer and a local or public orchestrator.

> [card] [Remote Signers: Design and Setup](https://docs.livepeer.org/gateways/payments/remote-signers)
>
> Technical explanation of what a remote signer does, the signing protocol (getOrchInfoSig → signTicket), stateless design, and how to point your gateway at one.

> [card] [Elite Encoder Remote Signer (Community-hosted)](https://signer.eliteencoder.net/)
>
> Community-hosted remote signer with free ETH for testing. Confirmed operational by Elite Encoder in #local-gateways Discord.

> [card] [Orchestrator Discovery for Off-chain Gateways](https://github.com/j0sh/livepeer-python-gateway/tree/main/examples)
>
> Three discovery methods: explicit orchAddr list, discovery webhook URL, or the remote signer GetOrchestrators endpoint. Python gateway SDK examples included.

> [card] [Remote Signers Design Doc (PR #3822)](https://github.com/livepeer/go-livepeer/pull/3822)
>
> Canonical technical specification for remote signing by j0sh. PM bookkeeping, state design, alternatives considered, and security implications.

> [card] [AI Configuration Reference](https://docs.livepeer.org/gateways/setup/configure)
>
> AI-specific flags: `-aiWorker`, `-orchAddr`, `-remoteSignerAddr`, ports, and startup log verification.

## BYOC - Bring Your Own Container

BYOC lets you attach any Docker container as a compute pipeline on the Livepeer network. It is the primary path for running custom AI workloads - including CPU-only pipelines - without a GPU.

> [card] [BYOC Smoke-Test Tutorial: CPU Gateway + Orchestrator (Off-chain)](/v2/gateways/guides/tutorials/byoc-cpu-tutorial.md)
>
> Step-by-step: run a gateway and orchestrator on one machine using a CPU Docker container, test end-to-end with off-chain payments via the community remote signer, then take it to production on-chain.

> [card] [Creating a Custom Live Pipeline (ai-runner)](https://github.com/livepeer/ai-runner/blob/main/docs/custom-pipeline.md)
>
> Official guide: implement the Pipeline interface, define custom params, build a Docker image extending `livepeer/ai-runner:live-base`. Uses scope-runner as a reference.

> [card] [Scope Runner (Reference BYOC Implementation)](https://github.com/livepeer/scope-runner)
>
> Production reference implementation of a custom BYOC pipeline. Use as a template when building your own container.

> [card] [BYOC Payments (PR #3866)](https://github.com/livepeer/go-livepeer/pull/3866)
>
> BYOC remote signer payments PR by Elite Encoder. Token refresh, remote signer changes for external capabilities, and how BYOC discovery differs from LV2V (no gRPC for OrchestratorInfo).

> [card] [Python Gateway SDK with BYOC](https://github.com/j0sh/livepeer-python-gateway)
>
> livepeer-python-gateway supports BYOC session management, orchestrator discovery, and remote signer payments. The `examples/` folder is the best starting point.

> [card] [ComfyUI BYOC Integration (Elite Encoder)](https://github.com/eliteprox/livepeer-python-gateway/commit/e80e539ee4336afe36543e1fa5380dd0d6c7c0f9)
>
> BYOC implementation using livepeer-python-gateway as a ComfyUI node backend. Tested stable for multi-minute streams with LV2V payments and remote signer from main.

## Video gateway (on-chain transcoding)

> [card] [Run a Video Gateway](https://docs.livepeer.org/gateways/setup/guide)
>
> Full setup for a video transcoding gateway: RTMP input on port 1935, on-chain ETH key, Arbitrum RPC, and orchestrator connection.

> [card] [On-chain Requirements](https://docs.livepeer.org/gateways/run-a-gateway/requirements/on-chain)
>
> ETH deposit and reserve requirements, Arbitrum RPC setup, wallet management, and the `livepeer_cli` commands to deposit and activate.

> [card] [Video Configuration](https://docs.livepeer.org/gateways/setup/configure)
>
> Video-specific flags: `-broadcaster`, RTMP port, transcode profiles, segment size, and webhook auth config.

> [card] [Advanced Transcoding Config](https://docs.livepeer.org/gateways/setup/transcoding)
>
> Output profiles, per-capability pricing, and `setbroadcastconfig` CLI commands for production transcoding setups.

> [card] [Bridge LPT to Arbitrum](https://docs.livepeer.org/gateways/resources/technical/bridge-lpt-to-arbitrum)
>
> How to move LPT from Ethereum mainnet to Arbitrum One for on-chain registration and staking.

> [card] [Livepeer Explorer](https://explorer.livepeer.org)
>
> Monitor your gateway's activity, connected orchestrators, and payment ticket activity on-chain.

## Dual gateway (video and AI on the same node)

> [card] [Dual Configuration Guide](https://docs.livepeer.org/gateways/setup/configure)
>
> Run video transcoding and AI inference from the same go-livepeer instance. Port assignments, flag combinations, and pitfalls to avoid.

> [card] [Gateway Architecture Overview](https://docs.livepeer.org/gateways/about/architecture)
>
> System diagram covering on-chain gateway, off-chain gateway, and dual-mode operation. Updated for remote signers and the clearinghouse model.

## Payments and economics

> [card] [How Payments Work](https://docs.livepeer.org/gateways/payments/how-payments-work)
>
> PM mechanics: ticket face value, per-pixel pricing for AI inference, per-segment pricing for video, deposit/reserve lifecycle.

> [card] [Pricing Configuration](https://docs.livepeer.org/gateways/guides/payments-and-pricing/pricing-configuration)
>
> Set `-maxPricePerUnit` and `-maxPricePerCapability`, format the AI pricing JSON, and understand price negotiation between gateway and orchestrators.

> [card] [Payment Clearinghouse](https://docs.livepeer.org/gateways/payments/payment-clearinghouse)
>
> What a clearinghouse is: remote signer + user management + auth + accounting. Current status (active development) and NaaP dashboard as the reference implementation.

> [card] [NaaP Dashboard (JWT Auth Demo)](https://github.com/livepeer/naap)
>
> Network as a Platform dashboard. Implements JWT issuer service (SIWE → user-scoped JWT) and Developer API Keys. Reference for building user auth on top of a remote signer.

> [card] [Arbitrum Exchanges Reference](https://docs.livepeer.org/gateways/resources/technical/arbitrum-exchanges)
>
> Exchanges where you can acquire ETH on Arbitrum One for gateway PM deposits.

## Orchestrator discovery

> [card] [Connect with Orchestrator Offerings](https://docs.livepeer.org/gateways/setup/connect/connect-with-offerings)
>
> How an on-chain gateway discovers and selects orchestrators: stake-weighted for video, capability-based for AI.

> [card] [Discover Orchestrator Offerings](https://docs.livepeer.org/gateways/setup/connect/discover-offerings)
>
> Browsing available orchestrators by capability, model support, and pricing via the Livepeer Marketplace.

> [card] [select\_orchestrator.py Example (SDK)](https://github.com/j0sh/livepeer-python-gateway/blob/main/examples/select_orchestrator.py)
>
> Code example: discovery via the remote signer's GetOrchestrators endpoint, filtered by model ID and capability. First-response-wins selection strategy.

> [card] [Elite Encoder: Orch List Endpoint Proposal](https://github.com/eliteprox/go-livepeer/commit/bf6f151dde3508646439f993610899ac04ee3f42)
>
> A simple HTTP endpoint for off-chain gateways to retrieve a list of on-chain orchestrators without a full Ethereum dependency. Proposed by Elite Encoder in #local-gateways.

## Monitoring and operations

> [card] [Monitor and Optimise](https://docs.livepeer.org/gateways/guides/monitoring-and-tooling/monitoring-setup)
>
> Key metrics, ETH balance monitoring, ticket redemption rates, and log patterns indicating payment or session failures.

> [card] [Gateway Introspection with Loki](https://docs.livepeer.org/gateways/gateway-tools/gateway-introspection)
>
> Query gateway logs via the Loki API at `loki.livepeer.report`. Pre-built queries for session starts, payment failures, and orchestrator errors.

> [card] [Gateway Middleware](https://docs.livepeer.org/gateways/gateway-tools/gateway-middleware)
>
> Add auth, rate limiting, and request routing in front of your gateway. Patterns for the Gateway-as-a-Service provider persona using go-livepeer webhook auth hooks.

> [card] [Production Log Monitoring Guide (Forum)](https://forum.livepeer.org)
>
> Forum guide on structured logging, alerting, and pattern matching for production gateway nodes. Search "Production Log Monitoring" on the forum.

> [card] [tools.livepeer.cloud - Gateway Tools](https://tools.livepeer.cloud)
>
> Community tool suite for network operators: stream tester, orchestrator explorer, performance dashboards. Run by the Livepeer.Cloud SPE.

## Community SDKs and alternative gateway implementations

> [card] [livepeer-python-gateway (j0sh)](https://github.com/j0sh/livepeer-python-gateway)
>
> Reference Python gateway SDK. Implements LV2V payments, remote signer integration, BYOC support, orchestrator discovery, and session management. Actively maintained by j0sh (Livepeer).

> [card] [OrchestratorSession Class (Elite Encoder PR)](https://github.com/eliteprox/livepeer-python-gateway/tree/pr/pricing-session-orchestrator-info/examples)
>
> Combines discovery, selection, payment refresh, and stream management in a single SDK entry point. Spec documented in Elite Encoder's gist.

> [card] [j0sh Ecosystem Notes Gist](https://gist.github.com/j0sh/0ee58c48ac00739bd10babc44dc293da)
>
> j0sh's working notes on the gateway ecosystem: SDK design, clearinghouse thinking, discovery architecture, and open problems. Updated periodically.

> [card] [Elite Encoder OrchestratorSession Spec](https://gist.github.com/eliteprox/a018fc30ee3366220873469c496b8c75)
>
> Spec for the OrchestratorSession class tying payment refresh, publish, and subscription together as one managed session. The foundation of the BYOC SDK work.

## Gateway-as-a-Service (Provider persona)

> [card] [Operator Support & Programmes](https://docs.livepeer.org/gateways/guides/roadmap-and-funding/operator-support)
>
> Revenue models: inference fees, SPE grants, Foundation programmes, and the NaaP approach to building a gateway business on top of the Livepeer network.

> [card] [Livepeer.Cloud - How to Run a Gateway Node](https://livepeer.cloud/how-to-run-a-livepeer-gateway-node)
>
> Livepeer.Cloud SPE's own operator guide. Real-world operational detail from an active multi-region gateway provider.

> [card] [NaaP: Network as a Platform](https://github.com/livepeer/naap)
>
> Dashboard and tooling for Gateway-as-a-Service operators. API key management, JWT auth, Developer API Keys, and remote signer plugin integration.

> [card] [SPE Grants and Treasury Proposals](https://livepeer.org/grants)
>
> Foundation grants for gateway operators. Existing examples include the Cloud SPE and LLM SPE. Apply via the grants programme or governance forum.

## Blog posts and deep dives

> [card] [A Real-Time Update to the Livepeer Network Vision (Nov 2025)](https://blog.livepeer.org/a-real-time-update-to-the-livepeer-network-vision/)
>
> Clearest statement of the gateway's role: routing AI inference, 72% of fees from AI, the path to a diverse gateway ecosystem.

> [card] [Introducing Livepeer Cascade (Feb 2025)](https://blog.livepeer.org/introducing-livepeer-cascade-a-vision-for-livepeers-future-in-the-age-of-real-time-ai-video/)
>
> Strategic vision. Gateways are the distribution layer for real-time AI video. Contextualises the off-chain and remote signer investment.

> [card] [Building Real-Time AI Video Effects with ComfyStream (Feb 2025)](https://blog.livepeer.org/building-real-time-ai-video-effects-with-comfystream/)
>
> ComfyStream as a backend inference engine via a Livepeer gateway → orchestrator pipeline. Architecture, frame rates, and live demo.

> [card] [ComfyUI and Real-Time Video AI Processing (Jan 2025)](https://blog.livepeer.org/comfyui-and-real-time-video-ai-processing/)
>
> DAG architecture, pipeline design, and real-time use cases - from the gateway operator's perspective.

> [card] [Builder Story: StreamDiffusionTD + Daydream API (Sep 2025)](https://blog.livepeer.org/builder-story-dotsimulate-x-daydream/)
>
> Gateway + BYOC-style pipeline powering a live generative video performance using TouchDesigner + StreamDiffusion.

> [card] [Introducing Daydream Beta (Sep 2025)](https://blog.livepeer.org/introducing-daydream/)
>
> Daydream is a hosted gateway and API layer on top of the Livepeer network. Useful reading to understand what a hosted gateway provides before deciding whether to self-host.

## Video walkthroughs

> [card] [Livepeer Gateway Node Setup (YouTube - Titan Node)](https://www.youtube.com/results?search_query=livepeer+gateway+setup+titan+node)
>
> Community video walkthrough of the full gateway setup process. Covers binary install, flags, and on-chain registration.

> [card] [ComfyStream Live AI Demo](https://blog.livepeer.org/building-real-time-ai-video-effects-with-comfystream/)
>
> Video demo of ComfyStream processing live video via a gateway → orchestrator pipeline with real-time AI effects.

> [card] [Livepeer Dev Office Hours (bi-weekly)](https://www.livepeer.org/dev-hub)
>
> Bi-weekly video calls hosted by the Foundation. ComfyUI demos, coordinated gateway development, ecosystem priority updates. Calendar link in the Dev Hub.

> [!NOTE]
>
> Missing a guide? Open an issue at [github.com/livepeer/docs/issues](https://github.com/livepeer/docs/issues) or post in [#lounge on Discord](https://discord.gg/livepeer).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.