Core Module · Four-Layer Full-Stack AI System
H2 AIDM Logo

H2 AIDM · AI Integrated Delivery Model

From GPU base to desktop,
four layers, as one.

Built across L0 H2GC → L1 H2MC → L2 H2HN → L3 H2CD: lifting RayWorld and Yingma internally, and deliverable whole or by individual layer for enterprise private deployment.

Supports above
Refined from above
Inside H2 AIDM · L0 → L1 → L2 → L3

Four sub-modules, tightly interlocked,
deliverable whole or by layer.

Select any layer to open its dedicated engineering page and whitepaper, or switch directly from the sticky H2 AIDM bar above.

L0 · H2GC · Compute Base

H2 GPU Combo

Fitted to the hardware you have: per-card profiling, operator fusion, paged VRAM pooling, heterogeneous scheduling and self-healing.

2× 4500 / stream · 4-GPU 2× 25 fps live
L1 · H2MC · Serving & Post-Training

H2 Model Combo

Unified all-modality serving, stateful cache + session affinity for long contexts, and architecture-level post-training.

~1 s first token · 96 streams on 4 GPUs
L2 · H2HN · Agent Runtime

H2 Harness

Server-side agent runtime architecture with 7 optimizations: division of labor, dual review, single-step redo and dual-scope memory.

100+ specialized agents · 1-day series
L3 · H2CD · Enterprise Desktop

H2 Code

General-purpose enterprise desktop agent built on the three layers below: documents, research, spreadsheets and private rebrandable deployment.

From 2 commodity servers · on-prem
Four-layer coordination

Cohesive inside,
lifting RayWorld and Yingma outside.

Select any layer to inspect what it solves inside H2 AIDM and how it coordinates with our other two core modules.

H2 AIDM · L1 Model layer (H2MC) × In-house RayWorld

All-modality serving that also lifts in-house RayWorld.

H2MC is H2 AIDM's L1 engine for model serving, inference optimization and post-training; Haohong's in-house RayWorld (R1 + Live) runs directly on top of it.

    Why all four layers must be built together

    The longer the task,
    the slower, costlier and more fragile it gets.

    Chat is one question and one answer. An agent runs dozens of steps in a row — reading, calling tools, writing — while context keeps growing.

    Chat vs Agent Illustrative
    ChatOne turn
    Short context, ends right away
    AgentOne task · Step 1 / 30
    Reading sources
    Context length2Ktokens

    Grows at every step, up to hundreds of thousands or a million.Industry observation

    Cumulative compute1× one chat

    One agent task consumes 5–30× the tokens of a chat; without caching, history is recomputed at every step.Industry observation

    Odds of 0 errors100%

    At 95% per step, 30 steps in a row all going right is only about 21%.Illustrative

    Illustrative animation: red shows history recomputed at the current step; blue shows newly added tokens.

    Costlier

    History is recomputed again and again, multiplying token consumption.

    Slower

    Every step must re-read the entire history before generating the first token.

    More fragile

    One bad step derails everything downstream, forcing a full restart.

    Why four layers together

    Compute holds the cache, Models compute only what's new, Agents redo only the failed step, Applications turn it into finished work.

    How one request crosses all four layers

    Follow one task,
    see what each layer does.

    From a single sentence to a finished deliverable takes seven steps — down through routing and inference, then back up for review and billing.

    Seven steps of one request Illustrative
    Task Turn Chapter 3 of the novel into a 2-minute short drama episode
    L3Apps
    ①
    L2Agents
    ②⑥
    PlatformGateway
    ③⑦
    L1Models
    ⑤
    L0Compute
    ④
    1. ①Submit · L3 Applications
      The user states the goal in one sentence.
    2. ②Decompose · L2 Agents
      Split into stages and assigned to specialized agents.
    3. ③Gateway · Platform
      Authenticate, meter and reserve budget.
    4. ④Route · L0 Compute
      Pin the session to the lane holding its cached history.
    5. ⑤Infer · L1 Models
      Hit the cached history and compute only what is new.
    6. ⑥Review · L2 Agents
      Failed checks redo only that single step.
    7. ⑦Settle · Platform
      Bill only on success and return the deliverable.
    Why the four layers are co-designed

    Miss routing in ④ and the cache in ⑤ is wasted; skip review in ⑥ and long tasks fall apart. No single layer in isolation can carry this request.

    What is built in-house

    Clear on what we built
    and whose open source we use.

    Module / LayerBuilt by HaohongOpen-source technology used
    L0 · H2 GPU ComboLow-level GPU operator fusion, heterogeneous coordination, session-affinity routing and per-card schedulingPaged VRAM inspired by open-source inference ideas such as PagedAttention
    L1 · H2 Model ComboUnified all-modality serving, stateful cache, session affinity and architecture-level post-trainingOpen-source models such as DeepSeek; open-source speculative decoding
    L2 · H2 HarnessH2 Harness server-side agent runtime architecture (7 engineering optimizations)Connects to in-house, open-source and commercial models via capability slots
    L3 · H2 CodeH2 Code general-purpose enterprise desktop agent (private & rebrandable)—
    Peer Modules (RayWorld / Yingma)Structural modifications & weights for RayWorld (R1 + Live); Yingma creation & live platformOpen-source video foundation model
    Enterprise delivery · Two business lines

    One H2 AIDM stack,
    two ways to deliver it to enterprises.

    Business line 1

    AI transformation technical services

    For companies that want to become AI technology companies, listed companies above all: they have capital and GPUs, but card utilization is low and they lack proprietary model capability or AI product revenue.

    • Model deployment (L1 H2MC) — unified all-modality serving, accepted on availability and concurrency
    • Inference optimization (L1 H2MC) — accepted on long-context first token, speed and capability retention
    • Post-training (L1 H2MC) — architecture-level post-training; added weights belong to the customer
    • Low-level GPU optimization (L0 H2GC) — fitted to existing cards, accepted on streams and users per card
    Business line 2

    Custom enterprise agent services

    For any company with repetitive knowledge work. Built on H2 Harness (L2) and H2 Code (L3), tailored to your workflow and deployed on-premises so data stays inside your environment.

    • Workflow breakdown → multi-agent architecture → enterprise system integration
    • On-premises deployment (from 2 commodity servers) → knowledge onboarding → launch
    • Permissions, audit trails and human approval checkpoints designed in together
    • Production proof: Yingma runs 100+ specialized agents on the exact same runtime

    Customers who want both receive the complete H2 AIDM (L0 H2GC → L1 H2MC → L2 H2HN → L3 H2CD) stack; teams with existing infrastructure can also adopt any individual layer.

    The math Business estimate

    Same 8 cards, sold differently:
    different output and valuation.

    The monthly output of one 8-GPU H200 server. Rent the cards out and you sell GPU-hours; deploy models and you sell inference; build agents and you sell finished work.

    Rent out GPU-hours onlySells compute · billed per GPU-hour
    About ¥150,0001×
    Deploy DeepSeekSells model inference · billed per token
    About ¥500,000about 3.3×
    Build an agent serviceSells finished work · by seat and task
    About ¥1,000,000about 6.7×
    Valuation logic A

    Compute rental

    An asset-heavy business. Revenue follows card count and rental rate; the market values it on compute assets and rental yield.

    Valuation logic B

    AI products and services

    Revenue grows with users and task volume; what goes into the financial report is AI product revenue, valued on revenue scale and growth.

    Monthly output is a business estimate based on one 8-GPU H200 server; actual operating data prevails. What separates A from B is H2 AIDM's four layers: L0 keeps cards loaded, L1 makes inference fast and cheap, L2 finishes long tasks, and L3 turns capability into products.

    Hardware & Delivery Configurator

    Match H2 AIDM layers to the GPUs you already have.

    FULL-STACK BENCHMARKMeasured
    96 long-context streams on 4 GPUs

    ~1 s to first token on long contexts and 200–300 tokens/s per stream for multi-step agent tool execution.

    CAPACITY & OUTPUTBusiness estimate
    ~2,000 users · ¥150K → ¥1M/mo

    Planned to serve ~2,000 registered users per 8×H200 server, upgrading GPU-hour rental into AI agent revenue.

    BEST FIT FORVerified
    Listed Firms & Compute Centers

    Turn under-utilized compute clusters into reportable AI model services and enterprise agent products.

    Recommended stack: Full H2 AIDM (L0 H2GC → L1 H2MC → L2 H2HN → L3 H2CD)
    Module film

    Understand H2 AIDM in 2 min 51 s.

    ← Previous Core ModuleYingma · AIGC Creation & Live Streaming