Skip to content

Study guide

Picking the right model for the job: routing, cheap vs strong, and fallbacks

The main points of the lesson, for review.

Read the lesson Take the quiz

Key ideas

  • Models come in sizes: small (Haiku class) for sorting and tagging, middle (Sonnet class) for most work, large (Opus and Fable class) for costly judgment
  • Compare cost per task, not cost per token
  • A wrong answer is often missing context, not a model too small

The ten-example test

  • Ten real inputs with no client information
  • Write the pass standard first, run small and middle models, score, pick the cheapest that passes
  • Rerun when new models come out

Fallback rules

  • Move on after any per-model error; only a missing key stops the chain
  • At least one model from another company; end on a high-limit model with a name that is hard to retire
  • A deadline for the whole chain; treat a spend-cap error as unavailable until the month resets
  • Routers: you pay for the model that answered; one more company sees prompts; no HIPAA coverage

Sources

Back to the lesson