Routing coding-agent requests across models on Amazon Bedrock with NVIDIA NeMo Switchyard
AWS shows how to route requests from coding agents like Claude Code and Codex CLI across models using NVIDIA's open-source NeMo Switchyard with LiteLLM on Amazon Bedrock. Switchyard's stage router picks between two models based on recent tool activity, and a…
Why it matters
Cost per solved task, not price per token, is the right metric for coding-agent spend, and this gives a way to measure it.
What happened
1 min readAWS shows how to route requests from coding agents like Claude Code and Codex CLI across models using NVIDIA's open-source NeMo Switchyard with LiteLLM on Amazon Bedrock. Switchyard's stage router picks between two models based on recent tool activity, and a CDK sample plus benchmark runners measure cost per solved task.
Our analysis
The framing, accounting for turns, replayed history and failed attempts, is more valuable than the tool itself. Routing can hurt quality, and the excerpt doesn't show actual results. LiteLLM now ships the Switchyard router natively, so you don't need AWS to try it.