Three AI models, one coding task, and one answer that looks as if a single mind wrote it.
The routing decision happens in milliseconds, invisible to the developer typing the prompt. Some tasks get a cheap, fast model and nothing more. Others get a second model assigned to tear the first one’s work apart.
The question is how the system decides which path each job deserves.
How a runtime router chooses a workflow instead of just a model
HydraFusion is a runtime orchestration system inside GitHub Copilot that dynamically selects among three execution patterns per task: Single, where one model solves it directly; Cascade, where an efficient model drafts and escalates to a stronger model if it fails a quality gate; or Critique, where a model drafts, a different model critiques in a read-only context, and the drafter revises once.
The system does not ask the developer to choose. Instead, HydraFusion creates an execution plan at runtime and can route work across models from multiple providers. GitHub positions this as a step beyond earlier auto model selection because the decision is no longer only which model to use, but also which sequence of model calls should solve the task.
Standard model routing maps a prompt to one model based on price or context length. HydraFusion maps a prompt to a workflow, and the workflow can change shape mid-task.
In the Critique approach, one model develops a draft and sends it to an independent reviewer from a different model family for a read-only critique. The reviewer cannot alter the draft, just comment on it. The cross-family constraint is deliberate: a model reviewing its own output tends to repeat its own blind spots.
What the three paths actually look like inside a live coding session
Picture a developer asking Copilot to write a database migration script. The Single pattern routes it to one model selected by the routing logic, the simplest path used when no escalation or review is needed. The Cascade pattern chains models: an efficient lower-cost model drafts first, and a quality gate decides whether to accept or escalate to a more capable model.
The Critique pattern adds an independent review step, where a second model from a different model family evaluates the first model’s output before delivery, catching errors the drafting model introduced.
So the migration script might sail through on a Single if it is routine, get kicked up on a Cascade if the first draft fails a test, or have a cross-family reviewer comb through it for subtle logic errors. Internally the runtime logs role, outcome, cost, latency, and diagnostics per leg. Externally the developer sees one coherent response. Three patterns working in sequence produce what looks, to the person at the keyboard, like a single confident answer.
The benchmark numbers that convinced the team to ship it
In offline evaluations across TerminalBench 2.1, DeepSWE, and CheckpointBench, HydraFusion matched or nearly matched Claude Opus 5 quality while cutting estimated cost by 36 to 67 percent. Those benchmarks test agentic coding under realistic conditions, including multi-step terminal tasks and patches on real repositories.
On TerminalBench 2.1, HydraFusion improved verified task quality by 4.9 percentage points at 67 percent lower estimated cost. On DeepSWE it came within 1.5 points of Opus 5 at 36 percent lower cost, and on CheckpointBench within 0.1 points at 65 percent lower cost, all at the same medium reasoning level.
The routing logic was refined against real-world Copilot coding-session trajectories and grounded in observed usage patterns rather than synthetic prompts, as GitHub detailed in its Project HydraFusion announcement. That is why the savings show up on tasks developers actually run.
Where multi-model routing hits its limits today
Multi-model workflows add execution legs, tool calls, and failure points. GitHub built HydraFusion around five controls: complete cost accounting across every leg; bounded execution with explicit timeout and cancellation per leg; isolated review where critics run in tool-less contexts; fail-safe application, applying no patch when a workflow is cancelled or fails validation; and validated routing, which confirms the chosen plan before any model runs.
Even so, Cascade and Critique paths do cost more tokens when they fire fully. The 67 percent saving is a weighted benchmark result, not a guarantee on every call. Tasks that repeatedly fail the quality gate and escalate can still consume more inference than a direct frontier-model call.
The system is designed to adapt as new models become available, meaning routing weights will shift every time a cheaper or more capable model joins the pool. The wider compute demand that HydraFusion is trying to work around is visible in GCN’s look at how Texas is racing toward the top of the data center map as model inference load climbs.
What developers can expect as the system matures
GitHub added HydraFusion to Visual Studio Code and the GitHub Copilot app on September 30, 2026, expanding beyond Copilot CLI. The updated interface now surfaces which pattern fired, giving developers visibility that earlier previews withheld. Clearer status updates and progress signals are part of the same release.
GitHub’s approach resembles how developers already work manually: ask one model to write a patch, use another to inspect it, then return feedback to the first. HydraFusion moves those choices into the runtime, the way good compilers made manual register allocation unnecessary.
HydraFusion is available to Copilot Pro, Pro+, Business, and Enterprise plan holders through the model picker, though administrators must enable preview features for Business and Enterprise accounts. It remains a research preview, meaning quality-gate thresholds are still being tuned on live traffic. If the calibration holds at scale, frontier-level output on complex tasks and cheaper-model costs on simple ones arrive with no developer effort spent deciding which is which.