{"resourceId":"aws-nvidia-nemo-switchyard-litellm-bedrock-coding-agent-routing-20261113","versions":[{"version":"external-25d0477d57f9c36a2ee802c818a4389f46d527c3bf095729b16042a2d728fb51","resource":{"id":"aws-nvidia-nemo-switchyard-litellm-bedrock-coding-agent-routing-20261113","title":"AWS and NVIDIA sample routes coding-agent requests across Bedrock models through a locked-down LiteLLM gateway and measures cost per solved task","organization":"Amazon Web Services and NVIDIA","sector":"Cross-SLED IT: developer tooling and AI cost control for agencies, universities and districts","geography":"Global (tested in US East N. Virginia; no GovCloud guidance)","publishedAt":"2026-11-13","publicationDate":"2026-11-13","eventDate":"2026-11-13","sourceName":"AWS Artificial Intelligence Blog","sourceLabel":"Route coding agent requests to the right model on Amazon Bedrock with NVIDIA NeMo Switchyard","sourceUrl":"https://aws.amazon.com/blogs/machine-learning/route-coding-agent-requests-to-the-right-model-on-amazon-bedrock-with-nvidia-nemo-switchyard/","evidenceClass":"vendor-claim","outcomeClass":"emerging","topics":["developers-agents","infrastructure","data-security"],"finding":"AWS's November 13, 2026 post deploys LiteLLM with NVIDIA's open-source NeMo Switchyard routing plugin on ECS Fargate to route coding-agent requests between Claude Opus 5.5 and Nemotron 3 Super on Bedrock, and argues routing should be judged by cost per solved task, not price per token. The sample is hardened: WAF, a required /32 allowed CIDR (world-open ranges refused), HTTPS, and a path allowlist that keeps the LiteLLM admin UI and key-management routes unreachable. It pins LiteLLM v1.102.0 and passes the gateway key through the environment. AWS labels it non-production sample code, says a few benchmark runs are not enough for conclusions, and warns the runners execute model-written code without a sandbox.","sledRelevance":"Agencies and universities buying coding-agent seats want cost control. This is AWS's second LLM-gateway pattern in two days, and unlike the November 12 self-service guide it closes the admin interface that Amazon's November 13 ARTEX report says attackers hunt. It also gives a measurement method (cost per solved task, Fisher's exact test) that IT shops can apply before claiming savings. It reports no public-sector results.","evidence":"Vendor technical how-to with sample code. No measured results are published; AWS states small runs are illustrative. No independent evaluation.","architectureImplications":"ECS Fargate in private subnets behind an ALB and WAF; Bedrock Converse via a VPC interface endpoint with the task IAM role; Secrets Manager generates the gateway key; CloudWatch logging for 30 days. Global cross-Region inference profiles may process requests in commercial Regions worldwide; AWS advises geographic or in-Region IDs when location matters. Stage routing needs full conversation history and exactly two candidates.","governanceImplications":"Routing decisions change which model processes code and prompts, so model approval lists and data-location rules must cover every candidate. AWS tells readers to involve security and legal teams before deployment.","securityPrivacyImplications":"Hardening addresses gateway exposure (admin paths closed, CIDR-restricted, WAF rate limits), but the gateway key is still read from the process environment, which LiteLLM's October advisory recommends against as defense in depth (that advisory's leak affected only Enterprise-licensed proxies, and the post does not indicate a license), and plain-HTTP test mode sends the key in clear text. Benchmark runners can read local files and reach the network; result folders hold prompts, code and model output.","caveats":"Vendor sample, explicitly non-production; switchyard-server 0.3.0 is a demo component; pinned LiteLLM image predates later patch releases. No GovCloud testing; Nemotron availability by Region varies. No public-sector deployment.","streamIds":["aws"],"roles":{"sales":"Interpretation: lead with measurement discipline. The customer problem is that IT leaders cannot tell whether cheaper models actually lower the cost of coding-agent work, because failed tasks still cost money. Stakeholders are the CIO, application development managers, finance and the CISO. Offer a bounded benchmark on the customer's own code. The post publishes no results, so do not promise savings or quote routing gains.","engineering":"Interpretation: fit is any shop running Claude Code, Codex or similar against Bedrock through a gateway. Reuse the hardening (private subnets, path allowlist, CIDR restriction, WAF) even without routing. Constraints: non-production sample, demo-grade Switchyard, commercial-Region testing only, and global inference profiles that may move data across Regions. Validate with repeated runs on representative tasks and check that the admin UI is unreachable externally.","delivery":"Interpretation: deliver as a time-boxed evaluation in a non-production account. Dependencies are Bedrock model access, representative coding tasks, a price table and a disposable test environment. Ownership sits with the platform engineering lead. Governance checkpoints are model approval, data-location review and security sign-off before any production use. Proposed acceptance criteria are statistically compared solve rates and cost per solved task. Risks include untrusted generated code and leaked transcripts."},"roleDetails":{"sales":{"customerProblem":"IT teams need to know whether model routing lowers the real cost of coding-agent work without lowering success, while keeping the gateway secure.","stakeholders":["CIO","Application development manager","Platform engineering lead","CISO","Finance or budget office"],"discoveryQuestions":["Which coding agents and models are in use and through what gateway?","Do you measure cost per completed task or only token spend?","Is the gateway admin interface reachable from the internet?","Do data-location rules allow global cross-Region inference?"],"valueHypothesis":"A controlled benchmark can show whether routing helps on the customer's own tasks; it may also show it does not.","potentialEngagement":"A bounded cost-per-solved-task benchmark and gateway hardening review in a non-production account.","unsupportedClaims":["Any specific savings percentage","Production readiness of the sample","GovCloud suitability","Public-sector results"]},"engineering":{"fit":"Good fit for agencies or campuses running coding agents against Bedrock that already use or plan an LLM gateway.","architectureIntegration":"Deploy LiteLLM on Fargate in private subnets behind ALB and WAF, call Bedrock through a VPC endpoint with task-role credentials, restrict ingress by CIDR and allowlisted paths.","prerequisites":["Bedrock access to candidate models","Non-production AWS account","Representative coding tasks","Current Bedrock price table"],"constraints":["Non-production sample code","Switchyard 0.3.0 is demo-grade","Tested in US East only","Global inference profiles may process data outside the US Region"],"security":"Close admin routes, require HTTPS, move the master key out of the process environment where possible, sandbox benchmark runners and protect result folders.","proofOfValue":["External scan confirms admin UI unreachable","Repeated benchmark with Fisher's exact test on solve rates","Data-location check of inference profiles","Key rotation test"]},"delivery":{"work":"Stand up the sample in a test account, run repeated benchmarks on local tasks and report cost per solved task by model group.","dependencies":["Model access approvals","Task set from local code","Security review"],"ownership":"Platform engineering lead with the security office","skillsAdoption":"Developers and analysts need to run and interpret controlled benchmarks; platform staff need gateway operations skills.","governanceCheckpoints":["Model approval","Data-location review","Security sign-off before production"],"acceptanceCriteria":["Proposed: at least 30 runs per model group per task set","Proposed: cost per solved task reported with confidence intervals","Proposed: zero externally reachable admin routes"],"risks":["Model-written code executing without a sandbox","Transcripts containing secrets","Over-reading small samples"]}},"retrievedAt":"2026-11-15T04:19:03Z","enrichedAt":"2026-11-15T04:27:45Z","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"No accessibility content. Workforce: teams need to run controlled benchmarks and interpret solve rates before changing developer tools.","procurementImplications":"Buyers should ask AI coding vendors and integrators for cost per solved task on their own code, not per-token prices, and for evidence of gateway hardening.","operatingModelImplications":"Requires an owner for the gateway, key rotation, price-table maintenance and repeat measurement whenever models or prompts change.","sourceVerification":{"openedUrl":"https://aws.amazon.com/blogs/machine-learning/route-coding-agent-requests-to-the-right-model-on-amazon-bedrock-with-nvidia-nemo-switchyard/","referenceExcerpt":"The path allowlist keeps the LiteLLM admin UI, API docs, and key management routes unreachable.","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}