The Hallway Track
Engineering Insights

Route coding agent requests to the right model on Amazon Bedrock with NVIDIA NeMo Switchyard

AWS Machine Learning Blog · Nov 13, 2026 · Engineering Insights

NVIDIA NeMo Switchyard routes coding agent LLM calls by cost per solved task on Amazon Bedrock

“The price per token alone doesn't tell you what a whole task costs.”

NVIDIA's open-source NeMo Switchyard library enables intelligent routing of coding agent requests (like Claude Code or Codex CLI) between models on Amazon Bedrock, optimizing for cost per solved task rather than per-token price. The post introduces a deployable AWS CDK sample using LiteLLM as a gateway with Switchyard's stage routing (tool-activity-aware) and random routing strategies. This matters because it frames multi-model routing as an economic problem at the task level, not the token level—a subtle but important shift for teams running agentic workloads at scale.

routing coding-agents amazon-bedrock nvidia litellm cost-optimization

Watch / read the original source →