Custom Model Routers are now available experimentally in @code 1.147.
The idea is pretty simple, but quite powerful: instead of manually switching models depending on what you're doing, define your own routing rules in plain English.
Quick lookup? Send it to Haiku.
Everyday coding? GPT-6 Luna.
Multi-step refactoring or complex planning? Opus.
And you don't even have to write the YAML yourself. Just run /model-router in @GitHubCopilot Chat, describe your preferences, and let the agent generate the configuration.
A few neat things in it:
It's intent-based routing. You describe the kind of work each model should handle using natural language, not a bunch of regex rules or token thresholds.
Model families are supported. You can target opus or gpt-6-luna instead of pinning a specific version. New model releases can flow into your routing strategy without rewriting everything.
Mix Copilot and BYOK. Your routes can include Copilot models and external provider endpoints, with fallback models when something isn't available.
Multiple routers. Keep different profiles for your daily driver, heavy engineering work, audits, etc. Pin them in the model picker and switch when needed.
You can actually see what's happening. Each turn shows which model was selected, and the router details expose the configured routes and context limits.
Under the hood, a decision model (gpt-6-luna-decisions) evaluates your prompt against your routing descriptions and picks the matching model for that turn.
A small but important distinction between the modes:
Auto = GitHub decides which model to use.
Which turned lately into:
Fusion = GitHub manages multi-model orchestration.
Which now progressed into:
Model Routers = You define the strategy and decide which models handle which types of work.
They're separate options in the model picker(Fusion and Routes, auto is gone now i favor of Fusion). And you don't need Fusion to use custom routers. Separate things.
I like this direction - not picking models but defining how we want models to work together across our workflows.
I don't want to spend my day playing musical chairs with model pickers, and from stats I see that when taking the annoyance of model decision from developers the throughput actually goes higher.
To try it:
Enable chat.copilot.modelRouter.enabled in settings.
Open a Copilot Chat or Agents window session.
Run /model-router and describe your routing strategy.
I'm starting to think how far should we take this? Per-task routing is a good start.
But what about routing based on cost, context consumption, latency, or even the quality of previous results? too micro management?