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

# Gateway Operators Guide

> Connect Applications with Video & AI services by running your own Gateway! This page gives an overview of the steps to run a Gateway node.

> [card] [Go-Livepeer](https://github.com/livepeer/go-livepeer)

> Gateways are essential infrastructure in the Livepeer network. They
> provide the service coordination layer (routing & verification) that connects applications
> to the decentralized GPU compute layer (DePIN). This guide explains the requirements,
> setup steps, and best practices for running a Gateway node.

## Deployment

A **deployment** is the complete configuration of a Livepeer gateway, defined by three independent choices: operational mode, setup type, and node type.

This guide will walk through deployment of a gateway using `go-livepeer` and cover both on-chain and off-chain modes using Docker, Windows & Linux OS environments with node configurations for video, AI, and dual workloads.

> [accordion] Setup Type:

[go-livepeer](https://github.com/livepeer/go-livepeer)

> ## Setup Type: `go-livepeer`
>
> The setup type determines what software you run and how you install it.
> The reference setup type is running the `go-livepeer` gateway software, whichcan be installed via source binary or Docker and is the recommended setup for most users as it provides the most features, stability, and compatibility with the Livepeer network.
>
> For alternative setup types see the [Gateway Setup Options](/v2/gateways/guides/deployment-details/setup-options.md) page, which covers using the Livepeer SDK, running a gateway with a GWID, and using hosted gateway services.

> [accordion] Operating System:  Docker,  Linux,  Windows
>
> ## Operating System: Docker, Linux, Windows
>
> You can run a Livepeer gateway on either Linux or Windows, but Linux is recommended for production deployments due to better performance, stability, and compatibility with GPU drivers and containerization tools. Windows is suitable for development and testing.
>
> <table>
>   <thead>
>     Operating SystemProsCons
>   </thead>
>
>   <tbody>
>     **Linux**- Better performance and stability\
>     \- Native support for NVIDIA drivers and Docker\
>     \- More widely used in production environments- Steeper learning curve for users familiar with Windows\
>     \- Requires command-line interaction for setup and management
>
>     **Windows**- Easier setup for users familiar with Windows\
>     \- Suitable for development and testing- Potential performance issues with GPU workloads\
>     \- Limited support for containerization tools like Docker\
>     \- Not recommended for production deployments
>   </tbody>
> </table>

> [accordion] Operational Modes:  **On-chain**,  **Off-chain**
>
> ## Operational Modes
>
> The operational mode determines how your gateway integrates with the Livepeer protocol.
> You can run a gateway both independently:  **Off-chain** or connected to the blockchain-based Livepeer network:  **On-chain**.
>
> &#x20;Off-chain
>
> * Run a gateway that operates independently of the blockchain. This is ideal for testing, development, and private deployments. Off-chain gateways do not interact with the blockchain for orchestrator discovery or payment settlement - they rely on manual configuration and external payment mechanisms.
>
> &#x20;On-chain
>
> * Run a gateway that is fully connected to the blockchain-based Livepeer network (on Arbitrum). On-chain gateways interact with the blockchain for orchestrator discovery, payment settlement, and ETH management.

> [accordion] Node Types: Video AI Dual
>
> ## Node Types
>
> The node type determines the workloads your gateway can route.
> You can run a Gateway in the following node configurations:
>
> * &#x20;Video Only  -> traditional transcoding services
> * &#x20;AI Only  -> AI inference services
> * &#x20;Dual: AI & Video  -> both video transcoding and AI
>   inference services

## Gateway Operator Journey

### 1. Check Requirements

Check hardware, network, and software requirements. \\

[Requirements](/v2/gateways/setup/prepare.md)

### 1. Install Gateway

Install the Livepeer Gateway software. \\

[Installation Guide](/v2/gateways/setup/install.md)

### 1. Configure Gateway

Configure transcoding options, models, pipelines & pricing \\

[Configuration Guide](/v2/gateways/setup/configure.md)

### 1. Test Gatway

Price & publish offerings to the Marketplace. \\

[Testing Guide](./test)

### 1. Connect Gatway

Connect with Orchestrators, price & route offerings in the Marketplace. \\

[Connect to the Livepeer Network](/v2/gateways/setup/connect.md)

### 1. Monitor & Optimise

Monitor performance, optimise routing & service quality. \\

[Monitor & Optimise your Gateway](/v2/gateways/setup/monitor.md)

## Gateway Architecture

Dual Gateway Architecture: Video & AI Pipelines

```mermaid theme={null}
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#1a1a1a', 'primaryTextColor': '#fff', 'primaryBorderColor': '#2d9a67', 'lineColor': '#2d9a67', 'secondaryColor': '#0d0d0d', 'tertiaryColor': '#1a1a1a', 'background': '#0d0d0d', 'fontFamily': 'system-ui' }}}%%
flowchart LR
    subgraph INPUT["Input Sources"]
        CAM["Camera / RTMP / WebRTC"]
        VID["Video File"]
        AIIN["AI Prompt / Model Request"]
    end

    GATEWAY["Gateway Node<br/>• Ingest (RTMP/HTTP/WebRTC)<br/>• Segment video<br/>• Queue + order jobs<br/>• AI pipeline routing<br/>• Orchestrator selection<br/>• Verification & receipts"]

    CAM -->|"Live stream"| GATEWAY
    VID -->|"VOD upload"| GATEWAY
    AIIN -->|"AI job request"| GATEWAY

    subgraph JOBS["Workflows"]
        VJ["Video Transcoding Job"]
        AIJ["AI Inference Job<br/>(Daydream / ComfyStream / BYOC)"]
    end

    GATEWAY --> VJ
    GATEWAY --> AIJ

    subgraph ORCH["Orchestrator Network (GPU Operators)"]
        O1["Orchestrator A<br/>GPU Pool"]
        O2["Orchestrator B<br/>GPU Pool"]
        O3["Orchestrator C<br/>GPU Pool"]
    end

    VJ -->|"Transcode segments"| O1
    VJ --> O2
    AIJ -->|"Run model / inference"| O1
    AIJ --> O3

    subgraph OUTPUTS["Outputs"]
        HLS["Adaptive Bitrate Video (HLS/LL-HLS)"]
        AIOUT["AI Frames / Stylized Video"]
    end

    O1 --> GATEWAY
    O2 --> GATEWAY
    O3 --> GATEWAY

    GATEWAY --> HLS
    GATEWAY --> AIOUT

    ETH[("Arbitrum Blockchain<br/>Payments • Tickets • Rewards")]
    GATEWAY --> ETH
    O1 --> ETH
    O2 --> ETH
    O3 --> ETH

    classDef default fill:#1a1a1a,color:#fff,stroke:#2d9a67,stroke-width:2px
    style INPUT fill:#0d0d0d,stroke:#2d9a67,stroke-width:1px
    style JOBS fill:#0d0d0d,stroke:#2d9a67,stroke-width:1px
    style ORCH fill:#0d0d0d,stroke:#2d9a67,stroke-width:1px
    style OUTPUTS fill:#0d0d0d,stroke:#2d9a67,stroke-width:1px

```

## Related Pages

> [card] [Setup Options](/v2/gateways/guides/deployment-details/setup-options.md)
>
> Alternative setup options for running a gateway using the Livepeer SDK, GWID, or hosted services.
>
> [Explore Gateway Setup Options](/v2/gateways/guides/deployment-details/setup-options.md)

> [card] [Gateway Tutorials](../guides/tutorials/tutorials-resources)
>
> Looking for hands-on walkthroughs to run your first gateway and test it end to end?
>
> [Browse Gateway Tutorials](../guides/tutorials/tutorials-resources)

> [card] [Gateway Economics](/v2/gateways/concepts/business-model.md)
>
> Looking for information on how gateways earn fees for services?
>
> [Read the 'Gateway Economics' section](/v2/gateways/concepts/business-model.md)

> [card] [AI Pipelines](/v2/gateways/guides/node-pipelines/ai-pipelines.md)
>
> Want to learn more about running AI workloads on Livepeer Gateways?
>
> [Learn about AI Pipelines](/v2/gateways/guides/node-pipelines/ai-pipelines.md)


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