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

# The Livepeer Stack and Mental Model

> A high-level introduction to the key concepts workings of the Livepeer open, on-demand AI & Media infrastructure substrate and the distributed crypto-primitive coordination system.

> [!NOTE]
>
> image would be good

# Livepeer Mental Model

Livepeer is a crypto‑economic coordination protocol that secures a global, on-demand GPU network optimized for low-latency video and AI, and exposed through developer‑friendly platforms and applications.

You can think of Livepeer as a decentralised serverless GPU fabric with a cryptoeconomic control plane, where services are exposed through a set of developer-friendly products and applications.

Livepeer is akin to how you would access and build on traditional cloud providers, for example, social media is powered by on an underlying infrastructure, which you access through a set of products and applications (e.g. Twitter, Instagram, Facebook).

Livepeer's crypto-economic primitives and decentralised compute mesh provide additional benefits to the system such as censorship resistance, economic security, and trustless coordination.

> [accordion] More on Crypto-Primitive Advantages
>
> The decentralisation and cryptoeconomic primitives of Livepeer add additional benefits to the system including
>
> * dynamic scaling & resilience (no single point of failure)
> * global payment rails (accessible by AI agents)
> * permissionless global participation & access (accelerates innovation and incentivises participation)
> * fairer creator economics (gives creators transparent, guaranteed revenue streams)
> * lower latency and data ownership (data stays local to the user)
> * lower costs without lock‑in (no middlemen)
> * incentives provide a runway to self‑sustaining, permissionless, global infrastructure without the need for venture capital (ramp to the tipping point)
> * network effects (as more participants join, the network becomes more valuable to all participants)
> * and more...

### Infra Layers

**Protocol**

A crypto‑economic protocol that secures and coordinates the network. (incentives, staking, governance, payments)

* the **protocol** provides trust, coordination and payment mechanisms

&#x20;Livepeer Protocol&#x20;

**Network**

A global GPU network that performs the actual compute work. (supply, routing, performance)

* the **network** supplies compute, routing, and verification

&#x20;Orchestrators   Gateways&#x20;

**Applications and Platforms**

A set of developer‑facing tools and applications (APIs, SDKs, apps) which expose the network's capabilities in a usable way.

* the **platforms** expose the network's capabilities in a usable way.

&#x20;Gateways   Platforms&#x20;

{/* where the **protocol** provides trust, coordination and payment mechanisms, the **network** supplies compute, routing, and verification, and **products** expose the network's capabilities in a usable way. */}

## Livepeer as an OSI-Like Stack

One of the traditional ways to map infrastructure architectures is with the [OSI model](https://en.wikipedia.org/wiki/OSI_model).

While this model doesn't map perfectly to decentralised systems - and is also being rapidly transformed by AI, the framework is still useful for understanding the different layers and how they interact.

Livepeer can be roughly pictured as an OSI stack where the “cloud control plane” is replaced by a cryptoeconomic protocol, and persistent storage is optional, external, and secondary to real-time streamed compute.

### Network & Protocol Stack

*Think of this as the global decentralized open compute substrate.*

> [accordion] Layer 1: Physical Compute & Resource Layer
>
> OSI: Physical

Orchestrators

> > *"Raw atoms"*
>
> **What it is:**
>
> * GPUs, CPUs, memory, bandwidth
> * Heterogeneous hardware (consumer → data‑center grade)
> * Power, latency, geographic placement
>
> **Livepeer Context:**
>
> * Hardware is contributed and owned by independent operators
> * Capacity is surfaced to the network via orchestrator infrastructure
>
> **Not Livepeer‑specific:**
>
> * NVIDIA, AMD, bare metal, cloud VMs
>
> **Who provides it:**
>
> * Orchestrators (GPU operators)
>
> * Gateways (in some cases - depending on deployment)
>
> > [!TIP]
> >
> > Livepeer does not own infrastructure. It indexes and incentivizes it.

> [accordion] Layer 2: Transport & Media Substrate
>
> OSI: Data Link / Transport

Gateways

> > *"Bits move"*
>
> **What it is:**
>
> * Video transport, chunking, codecs, streaming primitives
> * Frame-level + segment-level delivery
> * Peer discovery, routing, and delivery paths
>
> **Livepeer context:**
>
> * Segment-based processing and delivery patterns
> * Low-latency media delivery is a core competence ("video DNA")
> * Gateway-mediated delivery patterns (client/server hybrid)
>
> **Who provides it:**
>
> * Gateways (as the primary network-facing media/API surface)
>
> * Orchestrators (as the execution endpoints)
>
> * Underlying Internet transport (TCP/UDP/HTTP/WebRTC etc.)
>
> > [!TIP]
> >
> > Key Idea: \
> > This is where Livepeer differs from generic GPU clouds: it is built around media-native transport patterns.

> [accordion] Layer 3: Distributed Execution Network
>
> OSI: Network

Orchestrators

> > *"Who Actually does the work?"*
>
> **What it is:**
>
> * Distributed job routing + load balancing
> * Service discovery and selection
> * Capacity-aware and performance-aware execution selection
>
> **Livepeer context:**
>
> * Orchestrator selection and routing mechanisms
> * Segment/task model: work can be broken into independently computable units
> * Execution endpoints expose pricing/fees and performance characteristics
>
> **Who provides it:**
>
> * Orchestrators (provide execution + advertise capability)
>
> * Gateways / clients (initiate and route work via protocol/network rules)
>
> > [!TIP]
> >
> > Key Idea: \
> > The network decides who executes; the protocol incentivizes honest participation.

> [accordion] Layer 4: Crypto-Economic Coordination Layer
>
> OSI: Session / Control Plane (conceptual)

Protocol

> > *"Coordination, Trust, Provenance"*
>
> **What it is:**
>
> * On‑chain logic that secures and coordinates the network
> * Cryptoeconomic primitives that align incentives
> * Work/role coordination, reputation signals, and network rules enforcement
>
> **Livepeer Context:**
>
> * On-chain protocol + off-chain coordination patterns that:
>   * allow permissionless participation
>   * coordinate stake-weighted influence and selection
>   * align behavior with network goals
>
> **Who provides it:**
>
> * Ethereum smart contracts (on Arbitrum L2)
>
> * Blockchain network (Arbitrum L2)
>
> * Network participants (orchestrators, delegators, gateways) operating under protocol rules
>
> > [!TIP]
> >
> > Key Idea: \
> > This is the “brain” that replaces a centralized cloud control plane. It incentivizes correct behavior, but does not run jobs.

> [accordion] Layer 5: Economic & Security Layer
>
> OSI: No direct equivalent
>
> > *"Why anyone behaves" (incentives alignment, game theory)*
>
> **What it is:**
>
> * Cryptoeconomic primitives that align incentives
> * Game‑theoretic mechanisms that ensure correct behavior
> * Incentives for participation and penalties for misbehavior
>
> **Livepeer Context:**
>
> * LPT staking + delegation
> * Inflation-based rewards (protocol issuance)
> * Fee capture and distribution (usage-based)
> * Slashing (where enabled) to penalize malicious/incorrect behavior
> * Governance processes (LIPs, voting, treasury stewardship)
>
> **Who provides it:**
>
> * Protocol participants:
>   * Delegators (stake delegation / security backing)
>
>   * Orchestrators (service provision under stake)
>
>   * Governance participants (proposal + voting + stewardship)
>
> > [!TIP]
> >
> > Key Idea: \
> > Security is achieved via economic incentives + cryptographic verification, not trust in a single operator.

> [accordion] Layer 6: Data & State Layer
>
> OSI: Presentation /Data (conceptual)
>
> > *"What persists"*
>
> **What it is:**
>
> * The data plane around jobs: segments, manifests, logs, receipts
> * Temporary + derived artifacts needed for execution and verification
>
> **Livepeer Context:**
>
> * Livepeer is intentionally light on storage
> * Video segments and state are often ephemeral and pipeline-driven
> * Long-term storage is typically external (object stores, CDNs, decentralized storage)
>
> **What persists:**
>
> * Video segments (temporary)
> * Manifests, logs, receipts
> * Verification metadata
>
> **Who provides it:**
>
> * Broadcasters / application operators (sometimes own long-term storage)
>
> * External storage providers (S3, GCS, IPFS, Arweave, etc.)
>
> * Not the Livepeer chain
>
> > [!TIP]
> >
> > Key Idea: \
> > Livepeer coordinates compute over data, not long-term data custody.

### Platform and Application Stack

> [accordion] Layer 7: Platform Services
>
> OSI: Application Services (conceptual)
>
> > *"Batteries included"*
>
> **What it is:**
>
> * Managed services that abstract protocol/network complexity and make it easy to build on Livepeer
> * Operational tooling: dashboards, analytics, key management, billing abstraction
> * Provides features such as stream management, analytics, key management, billing abstraction
>
> **Livepeer Context:**
>
> * Hosted/managed gateway experiences
> * Templates, pipelines, and reference apps
> * Ecosystem-led products that package the network into a usable platform
>
> **Who provides it:**
>
> * Livepeer ecosystem teams (Inc, Foundation-funded projects, community teams)
>
> * Gateway operators offering service layers on top
>
> > [!TIP]
> >
> > Key Idea: \
> > This is where the network meets user needs. Products are opinions about access-they are not the protocol and not the network.
>
> **Examples:**
>
> * Livepeer Studio
> * Streamplace
> * Daydream
> * and anyone who builds on top of the Livepeer protocol and network
>
> [See More Products & Platforms](../solutions/portal)

> [accordion] Layer 8: Developer Interfaces
>
> OSI: Presentation (developer-facing)
>
> > *"How builders integrate"*
>
> **What it is:**
>
> * APIs, SDKs, client libraries, docs, example repos
>
> **Livepeer Context:**
>
> * Gateway APIs
> * SDKs (JS, Python, etc.)
> * BYOC-style integrations (containerized apps connecting to the stack)
>
> **Who provides it:**
>
> * Product teams and open-source contributors
>
> * Gateway implementations exposing consistent interfaces
>
> > [!TIP]
> >
> > Key Idea: \
> > This layer collapses network/protocol complexity into stable developer primitives.
>
> [See the Showcase](/v2/home/solutions/showcase.md)

> [accordion] Layer 9: Developer Applications
>
> OSI: Application
>
> > *"What builders ship"*
>
> **What it is:**
>
> * End-user applications and services built on top of Livepeer
> * The final layer is where the end-user applications and services are built.
> * This is where the magic happens and is what most users will interact with.
>
> **Who provides it:**
>
> * Independent developers, studios, ecosystem teams
> * Anyone who builds end-user applications on top of Livepeer or Livepeer Platform services
>
> **Examples:**
> Decentralized Twitch alternatives, AI video apps, surveillance/vision pipelines, Metaverse/XR video. \*/}
>
> > [!TIP]
> >
> > Key Idea: \
> > This is where the end-user applications and services are built. Applications are plural and replaceable; the network remains the substrate.
>
> [See the Showcase](/v2/home/solutions/showcase.md)

> [accordion] Layer 10: End User
>
> OSI: Application
>
> > “Humans and (increasingly) AI Agents”
>
> **What it is:**
>
> * Viewers, creators, AI consumers.
>
> **Livepeer Context:**
>
> * Users typically never see
>   * orchestrators,
>   * staking/delegation,
>   * protocol mechanics.
>
> **Who provides it:**
>
> * The applications and experiences (Layer 9)
>
> > [!TIP]
> >
> > Key Idea: \
> > End users are the ultimate beneficiaries of the network, but they don't need to know or care about the underlying technology. Success means protocol mechanics disappear behind great UX.
>
> > [!NOTE]
> >
> > End users never see orchestrators, stakes, or protocol mechanics.

## Middleware & Integrations

> [!NOTE]
>
> Livepeer replaces persistent storage coupling with streamed, ephemeral compute coordination.

**The "joining layer" is:**

Protocol-level orchestration, segment-based streaming, economic guarantees.

> [!NOTE]
>
> Not Kafka. Not Airflow. Not Kubernetes. But conceptually: **A decentralized serverless GPU fabric with a cryptoeconomic control plane.**


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