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

# Gateways Vs. Orchestrators: What’s the Difference?

> Livepeer uses two core node types, Gateways and Orchestrators, that work together to provide real-time AI video compute at scale. Although closely connected, they serve entirely different purposes in the decentralised compute marketplace.

***

## Overview

In brief:

&#x20;**Gateways coordinate.**

&#x20;**Orchestrators compute.**

Together, they form the backbone of the Livepeer AI video pipeline.

```mermaid theme={null}
sequenceDiagram
    participant App as Application
    participant GW as Gateway
    participant ORC as Orchestrator

    App->>GW: Submit job (model, parameters, video frames)
    GW->>ORC: Route job to best GPU
    ORC->>GW: Return processed frames/output
    GW->>App: Send results back to user
```

| Role | Function | Performs GPU Work? | External-Facing? |
| - | - | - | - |
| **Gateway** | Job intake, pricing, routing, capability match | ❌ No | ✅ Yes |
| **Orchestrator** | GPU compute, inference, transcoding, BYOC | ✅ Yes | ❌ No |

## Gateway Responsibilities

Gateways act as the front door to the network:

* Receive jobs from applications
* Determine required model, pipeline, or GPU
* Select the best orchestrator based on performance and pricing
* Route the workload with low latency
* Return results to the client
* Publish marketplace offerings (models, pipelines, cost per frame, etc.)

Gateways provide *service intelligence*, not compute.

***

## Orchestrator Responsibilities

Orchestrators are GPU operators who run:

* Real-time AI inference
* Daydream / ComfyStream pipelines
* BYOC containers
* Traditional transcoding

They provide:

* GPU horsepower
* Model execution
* Deterministic and verifiable output
* Performance guarantees

They do not expose external APIs directly-Gateways handle that.


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