Use three tasks and a runnable offline replay to design constraint-first LLM routing across quality thresholds, cost, TTFT, health, cache affinity, and fallback.
Trace authentication, model mapping, protocol translation, SSE streaming, retries, token billing, and observability to see what an LLM gateway adds beyond a conventional API gateway.