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

# Orchestrator Capabilities

> What Orchestrators can execute, the workload types they support across video and AI, how Gateways select them, and the boundaries of the Orchestrator role.

> [!TIP]
>
> Orchestrators perform compute - they do not route or discover work. Gateways send jobs; Orchestrators execute them on GPU hardware and return results. Every capability an Orchestrator exposes must be declared on registration so Gateways can discover and select it.

Workload Types

## Workload Types

Orchestrators can execute four categories of compute workload. Which workloads a node accepts depends
on its hardware, the pipelines and models it has loaded, and how it is configured.

<table>
  <thead>
    <tr>
      Workload

      What the Orchestrator does

      Unit of work

      GPU required
    </tr>
  </thead>

  <tbody>
    <tr>
      **Video transcoding**

      Re-encode live video segments from RTMP ingest into multiple output profiles (resolution, bitrate, format)

      Per segment (typically 2 seconds of video)

      Yes (NVENC preferred; CPU possible)
    </tr>

    <tr>
      **Batch AI inference**

      Run single-request AI jobs: text-to-image, image-to-image, image-to-video, audio-to-text, upscale, segmentation

      Per request (pixel or millisecond-based)

      Yes (VRAM requirements vary by model)
    </tr>

    <tr>
      **Real-time AI (Cascade)**

      Apply continuous AI processing to a live video stream - style transfer, avatar rendering, real-time generative overlays

      Per interval during stream duration

      Yes (high VRAM; dedicated GPU strongly recommended)
    </tr>

    <tr>
      **BYOC containers**

      Execute application-defined Docker containers on Orchestrator hardware for custom ML workflows or novel compute tasks

      Per request or per interval (defined by pipeline)

      Depends on container
    </tr>
  </tbody>
</table>

> [!NOTE]
>
> An Orchestrator running both video transcoding and AI inference is described as operating in a
> **dual-workload configuration**. This is not a separate mode - it is the same Orchestrator process
> with both pipelines enabled. See [Orchestrator Architecture](/v2/orchestrators/concepts/architecture.md) for the pipeline internals.

AI Pipelines

## Supported AI Pipelines

Livepeer defines a standard set of AI pipelines that Orchestrators can advertise. Each pipeline maps
to a category of inference task and a compatible set of models.

<table>
  <thead>
    <tr>
      Pipeline

      Input

      Output

      Example models
    </tr>
  </thead>

  <tbody>
    <tr>
      **text-to-image**

      Text prompt

      Image

      `stabilityai/stable-diffusion-3-medium-diffusers`, `ByteDance/SDXL-Lightning`
    </tr>

    <tr>
      **image-to-image**

      Image + prompt

      Image

      `timbrooks/instruct-pix2pix`
    </tr>

    <tr>
      **image-to-video**

      Image + motion prompt

      Video clip

      `stabilityai/stable-video-diffusion-img2vid-xt-1-1`
    </tr>

    <tr>
      **audio-to-text**

      Audio file

      Transcript (JSON)

      `openai/whisper-large-v3`
    </tr>

    <tr>
      **upscale**

      Low-resolution image

      High-resolution image

      `stabilityai/stable-diffusion-x4-upscaler`
    </tr>

    <tr>
      **segment-anything-2**

      Image + prompt

      Segmentation mask

      `facebook/sam2-hiera-large`
    </tr>

    <tr>
      **live-video-to-video**

      Live video stream

      Transformed live stream

      Cascade pipeline models
    </tr>
  </tbody>
</table>

An Orchestrator can support any subset of pipelines and models. Each combination of pipeline and model
is independently priced and advertised. Gateways discover these via the AIServiceRegistry contract or
from the Orchestrator's capability response during session negotiation.

Capability Advertisement

## How Capabilities Are Advertised

When a Gateway wants to route a job, it must find an Orchestrator that can handle it. Orchestrators
make themselves discoverable through two mechanisms:

```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 TD
    A["Orchestrator starts"] --> B["Register on-chain\n(ServiceRegistry / AIServiceRegistry)"]
    B --> C["Advertise service URI\n(HTTPS endpoint)"]
    C --> D["Gateway queries registry"]
    D --> E["Gateway contacts Orchestrator\ndirectly (capability negotiation)"]
    E --> F["Orchestrator returns\ncapabilities + prices"]
    F --> G["Gateway selects, dispatches job"]

    classDef default fill:#1a1a1a,color:#fff,stroke:#2d9a67,stroke-width:2px
```

### On-chain registration

Orchestrators register their service URI in the **ServiceRegistry** contract on Arbitrum. AI-capable
Orchestrators additionally register with the **AIServiceRegistry** contract (or use the `-aiServiceRegistry`
flag to connect to the AI subnet). This makes the Orchestrator discoverable to all Gateways that query
the registry.

### Capability negotiation

When a Gateway establishes a session with an Orchestrator, the Orchestrator returns a **capability
manifest** - the full list of pipelines it supports, the models it has loaded, and its price per unit
for each. The Gateway uses this to decide whether to proceed with the session.

Capabilities that are advertised but not actually available (e.g. models not yet loaded into VRAM) will
result in job failures. Keep declared capabilities in sync with loaded models.

Gateway Selection

## How Gateways Select Orchestrators

Understanding Gateway selection is essential for Orchestrators that want to attract work. Gateways do
not randomly assign jobs - they apply a multi-factor ranking algorithm to every session.

<table>
  <thead>
    <tr>
      Factor

      What the Gateway looks at

      Operator implication
    </tr>
  </thead>

  <tbody>
    <tr>
      **Capability match**

      Does the Orchestrator support the requested pipeline and model?

      Declare only what you can actually run
    </tr>

    <tr>
      **Price**

      Is your `-pricePerUnit` at or below the Gateway's `-maxPricePerUnit`?

      Price competitively; too high means no jobs
    </tr>

    <tr>
      **Latency**

      How fast did you respond to recent segments?

      Low-latency GPU access and reliable network connectivity are critical
    </tr>

    <tr>
      **Performance history**

      What is your success rate and error rate over recent sessions?

      Uptime and job reliability directly affect how much work you receive
    </tr>

    <tr>
      **Stake weight**

      How much LPT is bonded to your Orchestrator (self-stake + delegated)?

      Higher stake increases selection probability when other factors are equal
    </tr>
  </tbody>
</table>

A Gateway that sends a job and receives an error or timeout will deprioritise your Orchestrator for
subsequent sessions. Sustained availability and accurate capability declaration are the strongest
signals for consistent job flow.

See [Pricing Strategy](/v2/orchestrators/guides/payments-and-pricing/pricing-strategy) for how to configure competitive prices.

What Orchestrators Don't Do

## Capability Boundaries

Orchestrators handle compute and payment receipt. They do not handle job routing, application
integration, or business-layer concerns.

<table>
  <thead>
    <tr>
      Not part of the Orchestrator role

      Where it happens instead
    </tr>
  </thead>

  <tbody>
    <tr>
      Accepting RTMP streams from applications

      Gateway (RTMP ingest, port 1935)
    </tr>

    <tr>
      Routing jobs between multiple Orchestrators

      Gateway (orchestrator selection algorithm)
    </tr>

    <tr>
      Managing API keys or billing for end users

      Gateway or application layer
    </tr>

    <tr>
      Sending payment tickets to anyone

      Gateways send tickets; Orchestrators receive and redeem them
    </tr>

    <tr>
      Staking LPT for Delegators

      BondingManager contract (Delegators do this themselves)
    </tr>
  </tbody>
</table>

If you want to aggregate application demand and route work across multiple Orchestrators, that is
the Gateway role. See [Gateway Role](/v2/gateways/concepts/role.md) for that path.

## Related Pages

> [card] [Orchestrator Role](/v2/orchestrators/concepts/role.md)
>
> What Orchestrators are and how the role has evolved.

> [card] [Orchestrator Architecture](/v2/orchestrators/concepts/architecture.md)
>
> Internal components, request flow, and system interactions.

> [card] [Incentive Model](/v2/orchestrators/concepts/incentive-model.md)
>
> Revenue streams, cost structure, and earnings potential.

> [card] [Workloads and AI](/v2/orchestrators/guides/workloads-and-ai/job-types)
>
> Detailed setup guides for video, AI, and BYOC workloads.


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