Skip to main content
Sshuhari.ai
  • Courses
    • Start here
    • Learning paths9 paths
    • Modules15 modules
    • Projects10 projects
    • Quizzes
    • Flashcards
    • Homework
    • Interview prep12 question banks
    • Cheat sheets15 sheets
    • Glossary292 terms
    • Code snippets
    • Ask the mentor
    • My notes
    • My progress
SearchStart here
Menu
  • Courses
    • Start here
    • Learning paths9 paths
    • Modules15 modules
    • Projects10 projects
    • Quizzes
    • Flashcards
    • Homework
    • Interview prep12 question banks
    • Cheat sheets15 sheets
    • Glossary292 terms
    • Code snippets
    • Ask the mentor
    • My notes
    • My progress
Part of the courseBack to Generative AI
  1. Reference
  2. Model routing

Glossary

Model routing

Sending easy requests to a small, cheap model and hard ones to a stronger one. It saves cost when most requests stay on the small model; check quality per query type.

Where it is explained

  • Cost and latency optimizationProduction: cost, serving and observability

See also

Terms explained in the same lessons.

  • Batch API
  • Percentile latency (p50, p95)
  • Semantic cache
  • Streaming
  • Prompt caching
  • Time to first token (TTFT)
Previous termModel mergingNext termModeration

All terms, A to Z

Sshuhari.ai

Learn the fundamentals. Break the limits. Build what's next.

  • Privacy
  • Search