Sample code for two-tier LLM inference (cascading) on Amazon Bedrock, using a single Bedrock Converse API surface. NVIDIA Nemotron Nano handles routine support-ticket classification on every request; Anthropic Claude Sonnet handles cases the routing logic flags as harder. Includes a bake-off harness, sample data, and tests. Next.js + TypeScript.
typescript workshop nextjs mit-0 anthropic-claude amazon-bedrock aws-samples nvidia-nemotron model-routing llm-cost-optimization llm-cascade bedrock-converse-api two-tier-inference
-
Updated
Sep 7, 2026 - TypeScript