Hierarchical LLM Collaboration: Cutting Costs by Separating Planning from Execution

    When building complex LLM-powered applications, many teams instinctively route every task to the most capable model available. That choice is fine for a prototype, but costs climb fast once the system reaches production scale. This article explains a layered collaboration approach that separates planning from execution and assigns each to models of the appropriate capability tier. It walks through two common patterns—the Advisor pattern and the Orchestrator pattern—explains why the approach lowers cost (favorable token distribution plus context caching), outlines which workloads benefit and which don't, and covers the engineering constraints and practical recommendations needed to adopt it successfully.

    1. Problem Background: Why “the most expensive model doing everything” doesn’t pay off

    When building complex applications on top of large language models, many teams’ first instinct is to call the most capable model everywhere. This is perfectly acceptable in a prototype phase, but once the system reaches production and task volume grows, the cost problem surfaces quickly. The vast majority of work in real business scenarios—format cleanup, information extraction, item-by-item comparison, routine code completion—does not require top-tier reasoning. What genuinely needs deep thinking is usually just the overall task decomposition, key decision points, and the final convergence and synthesis of results.

    The root of the problem is a mismatch between capability and cost. Handing simple, repetitive work to an expensive flagship model is like paying the highest rate to process the cheapest tokens. The common industry response is to “tier” the models: let high-capability models handle a small number of critical “thinking” steps, and let lightweight execution models handle the large volume of “doing” steps. The multi-agent division-of-labor architecture that grows out of this is the subject of this article.

    It’s worth emphasizing that this tiering does not depend on any single vendor’s proprietary features. It is a general engineering pattern: an upper layer handles planning and decision-making, while a lower layer handles execution at scale. Any platform that offers multiple capability tiers of models and batch inference can put this idea into practice.

    2. Core Idea: Separating Responsibilities and Tiering Capabilities

    The first principle of layered collaboration can be stated in a single sentence: separate “planning” from “execution,” and hand each to models of a different magnitude.

    • Planning (reasoning / planning): task decomposition, strategy selection, exception adjudication, result fusion. These steps are called infrequently but are highly sensitive to reasoning quality, so they suit high-capability models.
    • Execution (acting / execution): retrieving, comparing, rewriting, calling tools, and processing data according to a fixed set of steps. These steps are call-dense and token-heavy, so they suit lightweight, low-latency, low-unit-cost models.

    After this split, the system is no longer “using the most expensive model for everything” but “using the most appropriate model for each thing.” This yields two direct benefits: first, lower unit cost; second, because the execution layer can run in parallel, end-to-end latency also drops.

    3. Two Typical Collaboration Patterns

    3.1 Advisor Pattern: Execution-Led, with Decisions Escalated

    In the Advisor pattern, the lightweight execution model is the main loop, and it only “calls for support” from the high-capability model when it hits a judgment it isn’t sure about. The high-capability model plays a role similar to a senior consultant: it gives direction only at critical moments and does not personally get involved in repetitive work.

    Its typical flow can be abstracted into the following pseudocode:

    1. def advisor_solve(task):
    2. plan = decompose(task) # A lightweight model can do a rough split first
    3. for step in plan:
    4. draft = worker_model.run(step) # The lightweight model executes each step
    5. if worker_model.is_uncertain(draft):
    6. # Escalate only at low confidence, letting the high-capability model decide
    7. advice = flagship_model.advise(context=step, draft=draft)
    8. draft = merge(draft, advice)
    9. yield draft
    10. return finalize(draft)

    The key to this approach is controlling the escalation frequency. Ideally, the high-capability model is called only once or twice on average per task, and the vast majority of tokens are still billed at the execution-tier rate. The Advisor pattern is therefore well suited to tasks that are “not difficult overall but contain a few high-risk decision points,” such as code changes that require judging boundary conditions or data cleaning that requires disambiguating ambiguous cases.

    3.2 Orchestrator Pattern: Centralized Planning, Parallel Execution

    The Orchestrator pattern does the opposite: the high-capability model sits at the top as the commander-in-chief, responsible for splitting the task into several non-conflicting subtasks, dispatching them to multiple lightweight executors to process in parallel, and finally coordinating and synthesizing the answer. It only does the “decompose—dispatch—aggregate” work and barely participates in item-by-item execution.

    1. def orchestrator_solve(task):
    2. subtasks = flagship_model.decompose(task) # The high-capability model handles decomposition
    3. results = parallel_map(
    4. lambda st: worker_model.run(st), # Multiple workers get things done in parallel
    5. subtasks,
    6. concurrency=8
    7. )
    8. answer = flagship_model.synthesize(results) # The high-capability model converges and synthesizes
    9. return answer

    This pattern delivers its greatest gains in parallelizable scenarios: the more subtasks there are and the more independent they are, the higher the parallelism of the execution layer, and the more noticeably wall-clock time is compressed. It suits work that is inherently “sliceable,” such as batch retrieval and verification, large-scale document review, and log clustering analysis.

    The two patterns are not mutually exclusive. Complex systems commonly combine them in a nested form of “Orchestrator on top, Advisor within”: the top-level Orchestrator handles coarse-grained splitting, and each subtask escalates to an Advisor on demand as needed. However, be mindful of the layering constraints discussed later.

    4. Why This Significantly Reduces Cost: Token Distribution and Caching

    Many people’s first reaction is “adding more layers should make it more expensive.” In reality, the opposite is true, and the secret lies in the distribution of tokens.

    First, weight tilts toward the execution layer. Under a reasonable division of labor, roughly 84% to 98% of the input tokens in the combined solution fall on the execution-layer models and are billed at the lower rate; only a small fraction of high-value reasoning tokens go through the flagship rate. Because the total is “diluted” into the cheaper tier, the overall unit price naturally drops substantially. In illustrative tests on several public benchmarks, this kind of combination can often retain roughly 90% of the flagship model’s quality while pressing cost down to around 60%; on highly parallelizable retrieval tasks, the quality-retention ratio can be even higher while the cost share drops further.

    Second, prompt and context caching. An often-overlooked optimization is cache reuse. When each sub-agent maintains a relatively independent and stable context, repeated content such as system prompts, tool definitions, and reference material can hit the cache across multiple calls, rather than being billed in full as new tokens every time. The Orchestrator pattern benefits especially, because parallel workers often share a large amount of identical upfront context.

    Third, latency gains from parallelism. Cost and speed often improve in the same direction. After the Orchestrator slices and runs tasks in parallel, not only is the unit price lower, but total elapsed time also drops—something that directly shows up as faster responses in interactive products.

    5. Suitable and Unsuitable Scenarios

    The benefits of a layered multi-agent approach depend heavily on task shape and should not be applied blindly.

    Suitable scenarios—tasks with large token consumption that are decomposable or have clear decision points:

    • Web and reference retrieval with cross-validation;
    • Large-batch document review and compliance comparison;
    • Aggregate analysis of logs and monitoring data;
    • Pattern matching and small-scale batch changes across a large codebase.

    Less suitable scenarios:

    • Narrow questions and single-point Q&A: the orchestration and aggregation overhead of splitting may outweigh the benefits;
    • Tasks requiring long-chain deep reasoning where intermediate steps are tightly coupled: forced splitting fragments the context and actually increases communication cost;
    • Strongly sequential workflows that cannot be parallelized: once the parallelism dividend is lost, an extra layer of scheduling is pure overhead.

    A simple rule of thumb: when the proportion of “repetitive execution” is high and the proportion of “key decisions” is low, the layering benefits are greatest; otherwise, you should converge back to a single model.

    6. Engineering Constraints and Practical Recommendations

    Before adopting this architecture, be clear about its inherent constraints:

    1. Delegation depth is usually only one level. In most multi-agent orchestration frameworks, a coordinator can only delegate directly one level deep, and deep nesting (coordinator → coordinator → executor) is often not handled correctly. When designing, keep nesting to one level, or replace implicit nesting with explicit state management.
    2. There is a limit on the number of agents per session. A multi-agent session usually holds at most around twenty independent agents. When slicing work in parallel, the number of subtasks should be bounded accordingly, and processed in batches if necessary.
    3. Subtasks should be as orthogonal as possible. Decomposed subtasks should be mutually independent with clear boundaries, avoiding conflicts or duplicate work between executors; otherwise, the aggregation stage introduces extra alignment cost.

    Building on this, here are a few practical recommendations:

    • Do a capability triage first, then choose a pattern. For few decision points, choose the Advisor pattern; for sliceable tasks, choose the Orchestrator pattern; the two can be combined.
    • Set an escalation/delegation budget. Cap the number of calls or tokens for the high-capability model to prevent a few hard tasks from blowing up the overall cost.
    • Keep context stable to maximize cache hits. Keep shared system prompts and reference material as far up front and as unchanged as possible to improve cache reuse.
    • Establish cost attribution. Track call volume, token consumption, and hit rate separately for the execution layer and the flagship layer, so you can quantify optimization effects and locate bottlenecks.
    • Keep a fallback path. When the combined solution underperforms expectations, you should be able to fall back smoothly to a single high-capability model, avoiding sacrificing quality just to save money.

    7. Conclusion

    The essence of “strong models think, light models work” is to treat model capability as a resource that can be allocated on demand, rather than a one-size-fits-all most-expensive option. Through separating the responsibilities of planning and execution, flexibly combining the Advisor and Orchestrator patterns, and layering on token-distribution optimization and context caching, teams can significantly reduce cost while maintaining quality close to a flagship solution.

    If your system is still using the most expensive model to brute-force every step, this layered collaboration approach is worth serious evaluation: first map out the “thinking vs. doing” ratio of your tasks, choose the appropriate collaboration pattern, set a clear delegation budget, and then keep tuning with cost attribution. It is no silver bullet, but in token-intensive scenarios, it is often one of the highest-ROI directions for an architectural upgrade.