Route local coding agents between Nemotron and DeepSeek with Switchyard
Tim set up NVIDIA Switchyard Stage routing so his coding agent mostly used Nemotron, keeping ~88% of decisions on the fast model.
- Used for
- Side business
- Skill needed
- Requires coding
- Shown in video
- Partial demo
- Summary based on
- Transcript
I Made My Local AI Pick Its Own Model
Published Oct 5, 202614:2946,773 views626 likes
What they made
Run 5 completed the unit-test task with 334 tests across 20 files and all checks passing; ~88% of routing decisions stayed on Nemotron, though his anti-gaming detector wrongly failed the run.
1,173 Nemotron vs 165 DeepSeek routing decisions (~88%)
10:39How they did it
- Human1:54
Removed --enforce-eager from the vLLM config after Nemotron ran at only 44 tokens/s, reaching ~198 tokens/s.
Stated in video · vLLM - Human4:07
Configured Switchyard with Nemotron as efficient model and DeepSeek as capable model using Stage routing, confidence 0.5, recent turn window 3, classifier off.
Stated in video · NVIDIA Switchyard - Human5:43
Diagnosed timeouts via telemetry: Nemotron's 32K context caused 16 of 22 DeepSeek requests to be context fallbacks, then raised context to 128K.
Stated in video · NVIDIA Switchyard - Human8:30
Built an outer agent harness that launches a coding agent, watches the run, collects data, and can intervene, on a test-stripped copy of LittleLink Server.
Stated in video - AI10:39
Coding agent via GitHub Copilot with local models wrote 334 tests across 20 files covering every source file in Run 5.
Stated in video · GitHub Copilot - AI11:14
Switchyard Stage routing sent 1,173 decisions to Nemotron and 165 to DeepSeek with zero context or backend fallbacks.
Stated in video · NVIDIA Switchyard
What you can reuse
- Check context window size before blaming routing: 32K caused silent fallbacks to the capable model.
- Stage routing kept ~88% of decisions on the fast local model while still completing the coding task.
- Verify benchmark detectors; a buggy anti-gaming check failed an otherwise successful run.
Trade-offs
- Run 6 stalled and was counted as a failure; coverage dropped from ~74% to ~50%.
- Run 5 was marked failed by a buggy anti-gaming detector despite the agent not gaming tests.
- Once on DeepSeek there is no further model to escalate to.
- The outer agent harness is described as crude and not fully detailed.
AI-generated case summaries can contain mistakes. Report an error



