News
GitHub Tests HydraFusion, an AI Router That Combines Multiple Models for One Coding Task
GitHub has released HydraFusion, an experimental system in Copilot CLI that assigns a combination of models from different providers to a task instead of a single model, cutting costs by as much as 67 percent while matching quality close to Opus 5.
Contents
On September 4, 2026, GitHub launched a research preview of Project HydraFusion, a GitHub Copilot feature that doesn't pick a single AI model for a coding task but instead builds an entire execution plan involving several models at once. The company says it's a way to cut the cost of coding agents without losing the quality that, until now, only the most expensive frontier-class models could deliver.
How the model router works
HydraFusion relies on three execution patterns. The first, Single, routes a task to one model when speed is the priority. The second, Cascade, starts with a cheaper model, and a quality gate decides whether the output is good enough or needs to escalate to a stronger model. The third, Critique, has one model draft a solution, a second model independently review it, and the first model revise the code based on that review.
The system decides which pattern to use based on signals about the reasoning required, code generation, debugging, and tool use. In practice, this means a simple task might go to a single cheap model, while a complex refactor triggers a full cascade involving models from different providers.
Why GitHub is building this at all
The cost of running coding agents on the most expensive frontier-class models, such as Claude Opus 5, has become one of the industry's central topics this year. Companies using Copilot, Cursor, or Codex pay for the tokens consumed by agents executing multi-step tasks, and bills can grow faster than engineering budgets. HydraFusion is a response to that pressure: instead of sacrificing quality for cheaper models, GitHub is trying to achieve a similar effect by combining models on the fly.
We believe the next real leap in coding agent quality won't come from model intelligence alone, but from combining frontier intelligence with runtime orchestration - GitHub Copilot team
What the benchmarks show
GitHub tested HydraFusion on three agentic coding benchmarks, TerminalBench 2.1, DeepSWE, and CheckpointBench, comparing results against Claude Opus 5. On TerminalBench 2.1, the router outperformed Opus 5 alone while costing two-thirds less. On the other two tests, its score was marginally lower than Opus 5's, but the gap stayed within 1.5 points, with cost savings ranging from 65 to 36 percent.
These are GitHub's own internal tests, without independent verification by outside labs or researchers. The company itself acknowledges that the system currently works best on single-pass tasks carried out from one instruction, and that optimization for multi-step scenarios involving multiple rounds of revisions is still to come.
System safety principles
HydraFusion operates under five principles that GitHub describes as prerequisites for putting such a system into production: full cost accounting at every stage of the workflow, time-limited task execution, isolated review processes between models, a safeguard against deploying incomplete code changes, and upfront validation of the execution route before it runs.
Accessing the feature requires updating GitHub Copilot CLI with the /update command, enabling experimental mode with /experimental on, and then selecting HydraFusion (Research Preview) in the /model menu. Billing is token-based, at the standard rates of each model used, so using the router itself doesn't generate an extra subscription fee.
What this means for developers
For teams that already track coding-agent spending in tokens, HydraFusion is a potential way to lower bills without switching to a noticeably weaker model. It's also a signal that AI developer tooling is shifting away from the race for a single best model and toward orchestrating multiple models within one task, something some model-routing startups were already doing.
For now, the feature remains a research preview with no general availability or full rollout date, and GitHub is collecting developer feedback before further development. That means Polish teams using Copilot can already test the router on their own repositories, but without any guarantee that its current behavior will carry over to the final version.