Routing, Resilience, and Provider Abstraction
Feeds category D (multi-provider routing and spend optimization).
Starting state from the fast track: a personal API key with traffic history already exists; add a second provider from the model catalog as needed.
Grade each scenario Pass (2 points), Pass with gaps (1), or Fail (0) against the grading rubric, and carry the subtotal into the summary scorecard.
Scoresheet document
For your convenience, this page can be downloaded as PDF or printed directly. Site navigation is omitted, the scoring table keeps its rows intact with the header repeated on every page, and the Grade and Notes columns leave room for handwriting.
| ID | Scenario | Guide | Grade | Notes |
|---|---|---|---|---|
| 3.1 | Route requests across two or more providers from one endpoint. Verify: the same client code reaches both providers by model selection alone. | Route requests across providers | ||
| 3.2 | Configure a fallback chain and force a failure on the primary backend. Verify: the request succeeds via the fallback within the same call, and the failover event is logged. | Improve resilience with fallbacks | ||
| 3.3 | Split traffic between two backends by percentage. Verify: the observed distribution over a batch of requests approximates the configured split. | Reduce cost with traffic splitting | ||
| 3.4 | Apply an attribute-based routing rule (for example, a header that routes to a specific provider). Verify: tagged requests land on the intended backend. | Apply advanced routing rules | ||
| 3.5 | Bring Your Own Key (BYOK): register team-owned provider credentials in a routing chain alongside centrally managed ones. Verify: requests bill against the team-owned provider account. | Use your own provider credentials | ||
| 3.6 | Generate embeddings through the gateway. Verify: an embeddings response returns and is logged with token usage. | Generate embeddings | ||
| 3.7 | (optional) Run a batch or long-running job through the gateway. Verify: the job completes and its usage is attributed correctly. | Run batch and long-running jobs | ||
| Subtotal | /14 |