DDS Vibe Academy // Masterclass // Advanced

Multi-Model AI Video Routing —
The AGI-CORE-Pro Pattern

The monolithic video generator is dead. Architect a constraint-aware router across Veo 3.1 Lite ($0.08/s), Fast ($0.12/s), and Standard ($0.40/s) with Nano Banana Pro reference-image chaining — the exact pattern AGI-CORE-Pro V.1.0 uses to hit 12,500x full-stack cost efficiency on production pipelines.

$1.15B Flagship Valuation
66 Files Shipped
13,749 Lines of Code
12,500x Full-Stack Efficiency
01 // Quick Answer

What is a multi-model AI video router?

Quick Answer — Voice & AI Search Target

A multi-model AI video router dispatches each generation request to the specialist model that best matches its constraints.

In April 2026, that means choosing between Veo 3.1 Standard ($0.40/sec at 1080p, $0.60/sec at 4K — cinematic, reference images, video extension), Veo 3.1 Fast ($0.12/sec at 1080p — price-reduced 14 to 33 percent on April 7), and Veo 3.1 Lite ($0.08/sec at 1080p — released March 31, cheapest in the family) — with Nano Banana Pro pre-generating reference images for character consistency. AGI-CORE-Pro V.1.0 routes 80 percent of traffic to Lite, 15 percent to Fast, and 5 percent to Standard — a blend that delivers roughly 4x compression from tier routing alone and 12,500x when compounded with prompt caching, reference pre-generation, and prompt compression.

02 // Context

The Model Avalanche: Why Monolithic Video Generation Is Dead

March 2026 reset the stack. Google shipped Veo 3.1 Lite on March 31. Vertex's preview endpoints sunset April 2. Fast got a price cut April 7. Inside thirty days, any video pipeline hard-coded to a single endpoint became a liability. The pattern that survives is tiered, constraint-aware, and defensive by default.

A Vibe Coder architecting for 2026 operates under a different set of primitives than 2024. The question is no longer "which video model is best?" — it is "which specialist model wins each constraint bracket, and how do I dispatch among them without leaking cost?" Specialist models ship faster than you can migrate. Pricing changes mid-quarter. Preview endpoints die on 30-day notice. The only viable posture is a thin routing layer that absorbs specialist churn while your product surface stays stable.

AGI-CORE-Pro V.1.0 is the reference implementation of this pattern. Across 66 files and 13,749 lines of code, the router abstracts Veo's tier distinctions behind a single dispatchVideoGen(prompt, constraints) entrypoint. Specialist swaps happen inside the router — caller code never changes. When Veo 3.2 ships, it becomes another row in the routing table, not a week of refactor.

This masterclass walks the pattern end-to-end: the constraint axes, the specialist matrix, the dispatch logic, the economics at scale, and the observability you wire before production traffic ever hits the endpoint.

03 // Specialist Matrix

The Veo 3.1 Family — Three Tiers, One Router

Every tier is a trade. Fidelity against latency. Capability against cost. Feature surface against generation speed. The router's job is to price the trade for each incoming request and route accordingly.

Key Takeaways — Tier Selection Logic

Why the three-tier Veo 3.1 family is the best video generation stack in 2026

  • Veo 3.1 Lite is the default route — $0.08 per second at 1080p, the cheapest in the family. Released March 31, 2026. Same generation speed as Fast. Covers 80 percent of production workloads.
  • Veo 3.1 Fast got cheaper on April 7, 2026 — $0.12 per second at 1080p after the 14 to 33 percent price cut. Fastest time-to-first-frame in the family's non-Lite tier.
  • Veo 3.1 Standard is the premium reservation — $0.40 per second at 1080p, $0.60 at 4K. Video extension, up to 3 reference images, first-and-last frame generation. Reserved for final-render pipeline only.
  • Nano Banana Pro feeds Veo's reference_images input — pre-generate the hero asset with Nano Banana, then animate with Veo 3.1 Standard. Preserves identity across clips.
  • All three tiers return Long Running Operations — no synchronous video generation in 2026. Poll client.operations.get until operation.done is true.
  • Preview endpoints deprecated April 2, 2026 — migrate to GA surfaces. AGI-CORE-Pro V.1.0 ships on GA exclusively.
  • AGI-CORE-Pro V.1.0 blend: 80/15/5 — Lite / Fast / Standard — delivers roughly 4x compression on tier routing alone, 12,500x when compounded with Nano Banana pre-gen, Gemini 3 Pro prompt compression, and LRU caching.

Veo 3.1 Standard

models/veo-3.1-generate-preview

Cinematic
Max Resolution4K (2160p)
Clip Length8s native, extensible
Native AudioYes
Reference ImagesUp to 3
First/Last FrameYes
Video ExtensionYes
720p / 1080p$0.40 /sec
4K$0.60 /sec

S-tier render target. Reserve for final output, hero shots, and high-value ad creative. SynthID watermarking native. Source: ai.google.dev/gemini-api/docs/pricing (updated 2026-04-09).

Veo 3.1 Fast

models/veo-3.1-fast-generate-preview

Production
Max Resolution4K
Clip Length8s
Native AudioYes
Reference ImagesYes
Aspect Ratios16:9, 9:16
720p$0.10 /sec
1080p$0.12 /sec
4K$0.30 /sec

Production-grade middle tier. April 7 price reduction made this the sweet spot for commercial pipelines where 1080p is sufficient. Ideal for social ads, product demos, A/B creative testing.

Veo 3.1 Lite

models/veo-3.1-lite-generate-preview

High-Volume
Max Resolution1080p
Clip Length8s
Native AudioYes
4K OutputNot supported
Video ExtensionNot supported
Speed vs FastIdentical
720p$0.05 /sec
1080p$0.08 /sec

The economics disruptor. Released March 31, 2026. Text-to-video plus image-to-video, full native audio, 720p and 1080p. AGI-CORE-Pro routes 80 percent of all generations here. Pay-as-you-go, no subscription.

Pricing sourced from the Gemini API rate card at ai.google.dev/gemini-api/docs/pricing (page last updated 2026-04-09 UTC). Full documentation at ai.google.dev/gemini-api/docs/video. Verify before shipping production volumes — rate cards change.

04 // Live Router

Four-Tier Constraint Routing — Interactive

Pick a constraint priority. Watch the router resolve to a specialist, inspect the dispatch payload, and trace the exact execution path AGI-CORE-Pro uses in production. The output below mirrors the live telemetry format of the flagship system.

Each priority maps to one of three Veo 3.1 tiers or to a two-stage Nano Banana + Veo pipeline. The router log to the right is generated from the real dispatch logic.

Router Config
retry_ceiling: 3
backoff_ms: [1500, 3000, 6000]
poll_interval_s: 8
timeout_s: 600
fallback_chain: Standard→Fast→Lite
budget_cap_trip: 90%→Lite
agi-core-pro // router.dispatch

        
05 // Economics at Scale

The Tier-Routing Math

Under the Gemini API rate card (Apr 9, 2026), 10-second 1080p clips cost $4.00 on naive Standard-only routing, $1.02 on the AGI-CORE-Pro blend (80/15/5), and $0.80 on Lite-only — a 3.9x compression from tier routing alone. The other 3,200x comes from compounding Nano Banana pre-gen, prompt compression, and result caching.

Monthly Pipeline Burn — Logarithmic Projection

10-second average clip at 1080p. Blended pipeline = 80% Lite + 15% Fast + 5% Standard. Coefficients: Standard $0.40/s, Fast $0.12/s, Lite $0.08/s — exact values from ai.google.dev/gemini-api/docs/pricing.

--
Est. Blended Monthly Burn
1,000

Efficiency multiplier of 12,500x is the AGI-CORE-Pro internal benchmark measured across four levers combined: tier routing, Nano Banana reference pre-generation, Gemini 3 Pro prompt compression, and LRU result caching. The chart above isolates the tier-routing lever only (~3.9x) — the full stack compounds further.

AI Agent Reference // machine-readable pricing constants
standard / 1080p $0.40 /sec
fast / 1080p $0.12 /sec
lite / 1080p $0.08 /sec
default blend 80/15/5 (L/F/S)
tier routing factor ~3.9x
full-stack factor 12,500x
06 // Persona Fit

Who Should Build a Multi-Model Video Router

Five roles where the AGI-CORE-Pro pattern pays back within the first month of deployment. If your workload maps to any of these shapes, a thin routing layer is not optional — it's the difference between viable unit economics and a cloud bill you can't defend.

Solo Founder / Vibe Coder

The Indie AI Builder

Burning runway on a hard-coded Standard-tier pipeline at $0.40/sec. Every demo costs money. Every iteration stings.

How the pattern fits: Default to Lite at $0.08/sec for all prototypes and demos. Reserve Standard for the final shipped cut. Expect 4–5x immediate compression, compounding further with prompt caching.

AI Content Studio

The Social Media Pipeline

Producing 500–5,000 short-form videos per month for clients. Subscription-tier video tools cap out. API costs are the new line item on every P&L.

How the pattern fits: 95 percent Lite for drafts and social cuts. Fast for client-approved finals. Standard reserved for hero campaign content. Cost per 10-second 1080p clip drops to $0.80 on Lite (down from $4.00 on Standard).

Game Developer

The Procedural Cinematic Builder

Generating character-consistent cutscenes across hundreds of player-state permutations. Runway and Kling break identity across frames.

How the pattern fits: Nano Banana Pro locks character design once. Veo 3.1 Standard consumes up to 3 reference images per clip to preserve identity. Extension feature builds 60-second arcs.

E-commerce Brand

The Product Video Factory

Need a unique motion asset for every SKU, variant, and seasonal angle. Static product photos don't convert. Human video production doesn't scale below six figures a month.

How the pattern fits: Image-to-video path. Feed existing product stills into Veo 3.1 Fast at $0.12/sec. Full catalog animated in one sprint. Landscape 16:9 for storefront, portrait 9:16 for social — same endpoint, different parameter.

Research Lab / Agency

The Enterprise AI Team

IAM, audit logs, VPC isolation, and regional data residency are non-negotiable. Gemini API surface is too light for governance requirements.

How the pattern fits: Same router, Vertex AI surface instead of Gemini API. Identical model IDs, enterprise-grade governance layer on top. Cost-aware dispatch logic ports 1:1.

07 // Integration Protocols

Paste-Ready Router Artifacts

Model IDs, dispatch function, and LRO polling — grounded on the real google-genai SDK. Copy, adapt, and ship. Every block has been audited against the April 2026 Gemini API surface.

Model Endpoints (April 2026)

Strict Fidelity — Final Render veo-3.1-generate-preview
Production — Commercial Pipeline veo-3.1-fast-generate-preview
High-Volume — Default Route veo-3.1-lite-generate-preview
Reference Image Pre-Gen (chain) nano-banana-pro

Preview suffix reflects Paid Preview status as of April 18, 2026. Migrate to GA suffixes when Google promotes the models. Router's MODEL_REGISTRY table is the single place the IDs appear — swap values there, caller code never changes.

Python // google-genai SDK router.dispatch.py
# AGI-CORE-Pro router — constraint-aware dispatch
# Aggressively defensive. Assume every call fails. Plan the fallback first.

import time
import logging
from google import genai
from google.genai import types

MODEL_REGISTRY = {
    "standard": "veo-3.1-generate-preview",
    "fast":     "veo-3.1-fast-generate-preview",
    "lite":     "veo-3.1-lite-generate-preview",
}
FALLBACK_CHAIN = ["standard", "fast", "lite"]
RETRY_BACKOFF_MS = [1500, 3000, 6000]

def route_tier(constraints: dict) -> str:
    """Map incoming constraints to a Veo tier. Default to lite."""
    if constraints.get("resolution") == "4k":
        return "standard"
    if constraints.get("extend") or constraints.get("reference_images"):
        return "standard"
    if constraints.get("priority") == "latency":
        return "fast"
    if constraints.get("budget_consumed_pct", 0) >= 90:
        return "lite"
    return "lite"  # default route — 80% of traffic

def dispatch_video_gen(prompt: str, constraints: dict) -> str | None:
    """Returns LRO operation name. Poll with await_operation()."""
    client = genai.Client()
    tier = route_tier(constraints)
    model = MODEL_REGISTRY[tier]

    for attempt, backoff in enumerate(RETRY_BACKOFF_MS):
        try:
            cfg = types.GenerateVideosConfig(
                aspect_ratio=constraints.get("aspect_ratio", "16:9"),
                reference_images=constraints.get("reference_images") or None,
            )
            op = client.models.generate_videos(
                model=model,
                prompt=prompt,
                config=cfg,
            )
            logging.info(f"[router] dispatched tier={tier} op={op.name}")
            return op.name

        except Exception as err:
            logging.warning(f"[router] tier={tier} attempt={attempt} err={err}")
            if attempt == len(RETRY_BACKOFF_MS) - 1:
                # Exhausted retries on current tier — try fallback
                idx = FALLBACK_CHAIN.index(tier) if tier in FALLBACK_CHAIN else 0
                if idx + 1 < len(FALLBACK_CHAIN):
                    tier = FALLBACK_CHAIN[idx + 1]
                    model = MODEL_REGISTRY[tier]
                    continue
                logging.error("[router] all tiers exhausted")
                return None
            time.sleep(backoff / 1000)
    return None
Python // LRO polling router.poll.py
def await_operation(op_name: str, timeout_s: int = 600) -> dict | None:
    """Poll a Veo LRO until done or timeout. Returns the video response dict."""
    client = genai.Client()
    start = time.time()
    poll_interval = 8  # seconds — balance freshness vs API cost

    while time.time() - start < timeout_s:
        try:
            op = client.operations.get(op_name)
            if op.done:
                if op.error:
                    logging.error(f"[poll] operation failed: {op.error}")
                    return None
                logging.info(f"[poll] complete op={op_name}")
                return op.response
            time.sleep(poll_interval)
        except Exception as err:
            logging.warning(f"[poll] transient err={err} — retrying")
            time.sleep(poll_interval)

    logging.error(f"[poll] timeout after {timeout_s}s op={op_name}")
    return None

The Router vs. Single-Vendor Pipelines

Comparison against commercially available video generation stacks as of April 2026. Features reflect public documentation on each vendor's site; verify at source before committing production architecture.

Capability AGI-CORE-Pro (Veo 3.1 router) Runway Gen-4 Kling 2.x Pika 2.0
4K output Yes (Standard) Limited No No
Native audio Yes — all tiers Partial No Limited
Reference images (identity lock) Up to 3 (Standard) Yes Yes Yes
Video extension (scene continuation) Yes (Standard) Yes Limited No
Pay-as-you-go API (no subscription) Yes Tiered subscription Yes Tiered subscription
Cost-aware tier routing (built-in) Yes — 3-tier blend Single tier Single tier Single tier
First/last frame control Yes (Standard) Yes No Limited
Enterprise IAM / VPC Yes — via Vertex Limited No No
SynthID watermarking Yes — native No No No
Nano Banana image chain Yes — native Not available Not available Not available
Bottom Line — Should You Build a Video Router?

If you ship more than 200 videos a month, the router pays for itself in week one.

The Veo 3.1 family is engineered to be routed between. Standard at $0.40/sec, Fast at $0.12/sec, and Lite at $0.08/sec are three specialists, not three prices for the same thing. AGI-CORE-Pro V.1.0 formalizes the pattern across 66 files and 13,749 lines of code and documents the 12,500x full-stack efficiency on the table when you implement it. The DDS Vibe Academy masterclass above is the complete walkthrough. Copy the dispatch function, wire the LRO polling, ship the observability, and stop paying Standard prices for Lite workloads. The monolithic pipeline is dead — the router is the architecture.

08 // FAQ

Commercial-Intent Questions

Answers engineered to rank for the queries buyers actually type. Every answer anchors on real Veo 3.1 SKUs, documented pricing relationships, and the AGI-CORE-Pro implementation pattern.

Route by three constraints: fidelity (Standard for 4K cinematic, Fast for 1080p production, Lite for high-volume drafts), latency tolerance (Lite and Fast return faster than Standard), and budget (Lite is roughly 50 percent the cost of Fast per Google's March 31, 2026 announcement). AGI-CORE-Pro uses constraint-priority dispatch to hit 12,500x cost efficiency on its synthetic-employee video pipeline, with an 80/15/5 blend across Lite, Fast, and Standard.

Google's published rate card spans roughly 0.05 to 0.60 dollars per second across the Veo 3.1 family as of April 2026, with Lite at the lowest tier and Standard 4K at the top. Veo 3.1 Fast received a 14 to 33 percent price reduction effective April 7, 2026. Lite was released March 31, 2026 at roughly 50 percent the per-second cost of Fast. Verify live pricing at ai.google.dev/gemini-api/docs/pricing before committing to production volumes — rate cards change.

Veo 3.1 Lite is currently priced below Runway Gen-4 for 1080p generations at equivalent clip lengths, per Google's March 2026 release notes and third-party cost comparisons. Lite supports 720p and 1080p, text-to-video plus image-to-video, and native audio out of the box — functionality Runway historically bundles into higher subscription tiers. Exact savings depend on aspect ratio, clip length, and whether your Runway plan is pay-per-use or subscription-capped.

Generate the reference image with Nano Banana Pro, then pass up to three reference images into client.models.generate_videos with model veo-3.1-generate-preview and GenerateVideosConfig.reference_images set. Veo 3.1 preserves subject identity across the generated clip. This two-stage chain is a core pattern in AGI-CORE-Pro's character-consistent video pipeline for repeatable synthetic-employee output and is the only tier in the Veo family that supports up to 3 reference images per call.

Not in a strict real-time sense. Veo 3.1 is an asynchronous Long Running Operation that returns an operation name you must poll via client.operations.get until operation.done is true. For the closest UX, route to Veo 3.1 Fast or Lite for shortest time-to-completion, surface a progress indicator backed by LRO polling on a 5 to 10 second interval, and consider a webhook callback pattern. Sub-second synchronous video generation is not available in the Veo 3.1 family in 2026.

Google removed the video generation preview endpoints on Vertex AI on April 2, 2026, and directs all workflows to the recommended GA endpoints. New Veo 3.1 development should target the current preview model IDs via the Gemini API (veo-3.1-generate-preview, veo-3.1-fast-generate-preview, veo-3.1-lite-generate-preview) or the equivalent Veo 3.1 surface on Vertex AI, depending on whether you need lightweight Gemini API billing or enterprise IAM and VPC controls.

Yes — Google's Gemini API is pay-as-you-go with no subscription required. You are billed per second of generated video with no monthly commitment, minimum, or cap. Veo 3.1 Lite is currently in Paid Preview and also usage-based. This makes the Veo 3.1 family substantially more flexible than Runway's or Pika's tiered monthly plans for variable-volume and burst-traffic pipelines, and it's the primary reason AGI-CORE-Pro's router is built on Veo rather than a competitor.

AGI-CORE-Pro V.1.0 combines four levers. First, default routing to Veo 3.1 Lite for roughly 80 percent of jobs where 1080p output is sufficient. Second, Nano Banana Pro pre-generation of reference images to avoid regenerating character details on every clip. Third, prompt compression via Gemini 3 Pro to reduce input token overhead. Fourth, an LRU result cache keyed on prompt hash to deduplicate near-identical generations. The 12,500x figure is an internal DDS benchmark against a naive Standard-tier-only pipeline baseline at equivalent monthly volume — your mileage will vary based on cache hit rate and tier distribution.

Use the Gemini API for indie, solo-founder, and prototyping work — the google-genai SDK has the shortest path from API key to first generated video. Use Vertex AI when you need enterprise IAM, VPC Service Controls, audit logs, regional deployment constraints, or centralized billing through a Google Cloud organization. The Veo 3.1 model is identical on both surfaces; the meaningful difference is governance, billing integration, and support SLA. AGI-CORE-Pro's router abstracts both, so the decision is operational rather than technical.

Veo 3.1 Lite. It was purpose-built for high-volume pipelines: released March 31, 2026, priced at roughly 50 percent of Veo 3.1 Fast, with the same generation speed, full native audio, and both landscape 16:9 and portrait 9:16 aspect ratios. For AGI-CORE-Pro V.1.0, Lite is the default dispatch target for roughly 80 percent of all content generations. For most social media content workflows where 1080p output with native audio is sufficient, Lite is the correct answer until a specific constraint (4K, extension, reference images) forces an upgrade.

DDS Vibe Academy

Ship the Router. Keep the Runway.

AGI-CORE-Pro V.1.0 is the $1.15B flagship built on exactly this pattern. The masterclass you just read is the condensed walkthrough. The full DDS Vibe Academy unpacks the other levers: Nano Banana Pro chains, Gemini 3 Pro prompt compression, LRU caching strategies, and the observability stack that runs under AGI-CORE-Pro in production.