CloudIQ AI Engineering Series — Part 5
Most teams picked a model and called it a day. The teams shipping faster and spending less are learning that model selection is only one part of the equation. In a multi-agent pipeline, orchestration design can matter just as much — and is often overlooked.
There's a bill arriving on engineering teams that nobody budgeted for.
It's not the AI subscription. It's not the API costs on simple queries. It's the tab that runs up when you chain agents together — when one agent spawns another, coordinates with a third, and the orchestration layer starts consuming tokens just to keep track of itself.
One of our engineers ran a parallel analysis last month. Two workstreams, two agents, both running concurrently against a large pull request and an OpenSearch configuration. The analysis came back fast. Faster than sequential prompting by a significant margin. The results were better — the agents had cross-referenced each other's findings before producing a consolidated output.
Then she looked at the token count.
"In multi-agent systems, orchestration can become the hidden cost multiplier."
This is the conversation most teams aren't having yet. They've adopted AI. They've seen productivity gains. They're running agents. But they haven't started treating agent architecture as an engineering and cost decision — because nobody told them it needed to be one.
It does. And the teams that figure this out early will outdeliver the ones that don't, at lower cost, for the foreseeable future.
The Orchestration Tax Is Real
When you run a single agent on a task, the token cost is the token cost. Prompt in, response out. You can measure it, optimise it, cut it down.
When you run multiple agents that need to coordinate, something else happens. A coordination layer emerges — a "Team Lead" agent that spawns and manages the others, maintains awareness of their state, and synthesises their outputs. That layer consumes tokens. Not tokens doing analysis. Tokens doing administration. The overhead comes from repeated context, coordination prompts, inter-agent communication, synthesis, retries, and validation. As the number of agents and interactions grows, these costs can compound quickly.
The tradeoff our engineer observed was direct: Agent Teams (where agents maintain full context awareness of each other's work) ran faster but consumed roughly twice the tokens of the sub-agent approach in this particular workload. That isn't a universal multiplier — the overhead varies with context size, agent count, communication frequency, and orchestration design. The speed gain was real. So was the cost.
Neither approach is wrong. But choosing between them without understanding the tradeoff is how engineering teams end up with token bills that surprise their finance partners. And optimising purely for minimum tokens can lead to the wrong architecture — latency and output quality are equally part of the equation. The objective isn't to spend the least. It's to get the best engineering outcome per dollar spent.
When to Use Agent Teams. When to Use Sub-Agents. When to Use Neither.
This isn't a theoretical question. Here's the practical decision framework our teams have landed on:
Use sub-agents when the tasks are parallelisable but don't need to actively inform each other mid-run. Each agent works independently, summarises its findings, and passes only that summary to the main thread. Token-efficient. Sufficient for most parallel workloads.
Use Agent Teams when the parallel workstreams genuinely need to influence each other before converging. When a PR analysis should affect how you approach an OpenSearch configuration review — because they're interdependent — you need agents that can talk to each other, not just report upward. The token overhead is the coordination cost. If the interdependence is real, it's worth paying.
The mistake is using Agent Teams for tasks that are actually independent, because it looks more sophisticated. It isn't. It's just more expensive. There's a third pattern worth adding to the framework: sequential or staged agents. When one task genuinely depends on the output of another — analysis then implementation then validation, for example — a staged pipeline provides clearer context boundaries and more predictable cost than allowing every agent to communicate with every other. The decision framework becomes: independent parallel work goes to sub-agents, interdependent parallel work goes to Agent Teams, and output-dependent work goes to sequential staged agents.

Figure 1: Three orchestration patterns — when to use each based on task dependency type
Model Selection Is a Cost and Quality Decision, Not a Default Setting
In the same session, a senior developer on our team shared something that stopped the room: he'd started thinking about model selection the way you'd think about staffing a project.
Different phases of a pipeline have different requirements. Analysis — reading a large codebase, mapping dependencies, building a picture of what exists — rewards breadth and pattern recognition. That's where a larger, more capable model earns its cost. Code generation rewards precision and instruction-following over raw intelligence. Validation and verification reward consistency and attention to specific criteria.
Running your most expensive model through every phase isn't thoroughness. It's waste.
His team had built a phase-based routing approach: Opus for analysis, Sonnet for implementation. But the more interesting evolution was the approach he'd moved toward — policy-based adaptive routing. Rather than hard-coding model assignments, the approach sets a default model appropriate to the task, defines escalation criteria (complexity thresholds, quality gates, specific task types), enforces budget guardrails, and provides a fallback path. Something like: "Use Sonnet for this coding task. If you encounter a step requiring deep analysis of cross-cutting dependencies, escalate to Opus — but only for that step."
"Knowing how to optimise tokens is a critical engineering skill. It will become more important, not less."
Constraint-guided autonomy can provide a better balance than rigid model assignment when appropriate guardrails are in place.

Figure 2: Policy-based adaptive routing — how model selection escalates through a pipeline phase
You Can't Optimise What You Can't Observe
Token optimisation starts with observability. Teams should be able to see token consumption, model usage, latency, retries, tool calls, escalation events, and quality outcomes at each stage of an agent workflow. The useful metric isn't cost per model call. It's cost per successful engineering outcome — balancing token spend against latency, output quality, and reliability. Without that visibility, teams are guessing. And in multi-agent pipelines, guessing gets expensive fast.

Figure 3: The observability framework — what to measure at each stage, feeding into cost per successful outcome
What the Engineer Actually Owns Now
There's a harder question sitting underneath the architecture discussion.
When agents handle analysis, code generation, parallel execution, and synthesis — what does the engineer own? One of our most experienced developers raised this directly in a recent session, and it wasn't rhetorical. "Coding has a different way of thinking," he said. "If you stop doing it, you lose that practice. After a year, you wouldn't have it."
Gergely Orosz made almost the same observation recently in The Pragmatic Engineer: AI doesn't make the work easier if you're doing it right. It forces you to think just as hard, or harder, about what you're asking for and why. The engineers who use AI as a mech suit — they know exactly what they want, they stay locked in, they don't drift — see the productivity gains. The ones who hand over thinking along with the task lose something they may not notice until they need it.
In an orchestrated pipeline, the engineer owns the architecture of the pipeline itself. The model selection logic and routing policies. The task decomposition and context boundaries. The tool permissions granted to each agent. The quality gates and failure handling. The observability layer that makes cost and performance visible. The cost controls that prevent a runaway pipeline from becoming a runaway bill. These are not simple decisions. They require the same kind of structural thinking that writing good code requires — and then some.
The engineers who will thrive in the agent era won't be the best prompters. They'll be the ones who understand what's happening inside the coordination layer, design for observability and cost control from the start, and optimise for what actually matters — cost per successful engineering outcome across quality, latency, and reliability. That's the metric. Everything else is noise.
Next in this series: Your AI Agent Worked for 3 Hours. Then the Laptop Slept. Then It Forgot Everything.
CloudIQ Technologies helps enterprise teams build structured AI delivery pipelines. Contact us at cloudiqtech.com.

































































































































































































































































































































































































































