- Category: C. AI Engineering & LLM Ops
- English term: Model Cascade and Routing
- Related: Local-First (Local Pipeline) · Benchmark-Driven Model Selection · Token Quota and Cost Settlement · Asymmetric Tiered AI Architecture (Tier 1-3) · Fallback Chain (Cascading Fallback)
General Meaning
Assigning frontier, maximum-scale models to every task in an AI system leads to massive API bills and rapidly exhausts rate limits and quotas. Moreover, frontier models are overkill for routine classification or extraction tasks and introduce unnecessary inference latency.
Model cascading (staged routing) arranges multiple models in tiers according to task difficulty and resource constraints. Processing starts on a small, inexpensive model and escalates to the next tier only if confidence is low or verification fails, substantially reducing cost and latency while maintaining overall accuracy.
Why It Matters
- Preserving quotas and reducing cost: Handles routine extraction and drafting on free or inexpensive models, saving expensive frontier quotas for tasks that truly require them.
- Improving throughput and responsiveness: Lightweight models run faster, completing everyday operations with minimal waiting time.
- Fault tolerance and fallback: Continues operations automatically on an alternative tier even if a specific model or cloud API suffers an outage or quota exhaustion.
How the Site Factory Uses It
In the Site Factory, operational rule K104 (AI Usage Order Rule) strictly enforces a model cascade: local LLMs on home Macs first, then lightweight external AI models, and top-tier external models only after confirming earlier tiers are insufficient. Tier 1 runs Ollama on the three home Macs (Mac mini, Studio 1, Studio 2, selected via latest K100 benchmarks) for public page extraction, structured JSON generation, and audio transcription; Tier 2 runs Hermes A2A (qwen3.6:35b, gpt-oss:120b, etc.) on Studio 1 and Studio 2 for local collaborative coding, mutual review, and idea research.
Tier 3 lightweight external quotas (Cursor Auto, Gemini Flash low, Codex Luna, Claude Haiku) handle standard implementation and investigation, while Tier 3 top-tier quotas (Claude Opus high, Codex Sol high, Gemini Flash high) are reserved for new proposal adoption and operator_review final judgments. External dispatch follows the strict order of Local -> Cursor -> Antigravity -> Codex -> Claude, and any escalation must record prior attempt results, verification failure reasons, and the rationale for handoff.
Caveats & Operational Rules
- Never start with a top-tier model just because quota is available: Skipping the local pipeline or lightweight models simply because external quota remains unused is strictly prohibited.
- Forbid silent fallback to default models: If a specified lightweight model name cannot be resolved, never silently fall back to an expensive default model; put the task on hold and route it to another runner.
- Do not confuse connection errors with lack of capability: Never escalate to a higher tier due to CLI failures, network disconnects, quota exhaustion, or benchmark lock waits as if the lower model lacked intelligence.
Related Terms
- Local-First (Local Pipeline)
- Benchmark-Driven Model Selection
- Token Quota and Cost Settlement
- Asymmetric Tiered AI Architecture (Tier 1-3)
- Fallback Chain (Cascading Fallback)
References
- Reference: Lingjiao Chen, Matei Zaharia, James Zou, "FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performance" (Paper, 2023)
Verified: 2026-11-08