ANAlpesh Nakrani
SolutionsBlogBooksPraiseAboutWork with me
All books
Model Routing cover
Cover preview Page 1 of 174
Free PDF/Technical Deep Dives

Model Routing

Sending Each Request to the Cheapest Model That Can Still Answer Correctly

A book by Alpesh Nakrani

Subscribe to get the complete book. Your PDF downloads immediately.

Pages
174
Chapters
19
Format
PDF · 30.5 MB
01/Overview

What's in the book

One model for everything is the expensive default. Routing requests to the cheapest model that can actually answer them.

InferenceArchitecture
02/Inside the PDF

Table of contents

PDF page
  1. FMFront Matter: Model Routing
  2. INTIntroduction: The Tower18
  3. 01The Bill That Broke the One-Model Religion24
  4. 02The Frontier, Not the Flagship32
  5. 03Static, Dynamic, Cascade, Fallback, Ensemble: Five Words That Are Not Synonyms39
  6. 04Prompt Length Is a Liar47
  7. 05Reading Risk Before Reading Difficulty54
  8. 06Confidence, Self-Assessment, and Why Models Lie About Both61
  9. 07Difficulty From History: Slices, Embeddings, and Learned Routers68
  10. 08Rules, Intent, and Tiers76
  11. 09The Cascade Ladder83
  12. 10Failover, Local-vs-Cloud, and the Provider Mesh90
  13. 11Ensembles, Voting, and Rerank-and-Fuse97
  14. 12The Confusion Matrix Has Four Boxes, Not Two104
  15. 13Regret, Oracles, and Cost-Weighted Quality111
  16. 14Shadow Routing and Online Evaluation118
  17. 15The Cost Waterfall125
  18. 16The Latency Budget132
  19. 17Locked Doors: Residency, Permissions, and Abuse138
  20. 18The Control Room and the Fleet146
  21. 19Ten Playbooks153
  22. AAppendix A: Back Matter162

The full chapters, illustrations, and reference material are included in the downloadable PDF.

Read it at your own pace

Your next read, ready to download.

174 pages. The complete edition. Free with your subscription.

Download free PDF

Ask AI about Model Routing — Free PDF