Right-Sizing Models for the Task
This lesson explains how to right-size models, since smaller models are faster, cheaper and often good enough for focused tasks, and introduces model cascading.
Learning outcomes
After completing this lesson, you will be able to:
- Match model size to task complexity.
- Use smaller pre-trained and distilled models.
- Escalate requests with API-based model cascading.
Matching model size to task complexity
Tasks differ widely in difficulty. Classification, routing, extraction of clearly labelled fields, short summaries and reformatting are handled well by small models. Multi-step reasoning, complex instructions, long-document synthesis and agent planning benefit from larger models. A deployment that uses one large model for every step pays large-model prices and latency for easy work.
Decomposing a workflow reveals which steps need which capability. In a support workflow, a small model can classify intent and extract the order number, a mid-sized model can draft the reply from retrieved policy, and a large model is used only for complex complaints. Each choice is validated with the evaluation set for that step.
The following diagram shows a model size chosen for each step of a support workflow.

Small model or large model?
Smaller pre-trained and distilled models
The largest models are rarely necessary for every task. Smaller pre-trained models in the same family, such as the Micro or Lite tiers of a model family, often keep most of the quality on narrow, well-defined tasks such as classification, extraction or short summaries, while responding faster and costing a fraction as much per token.
Some tasks are better served by task-specific models than by any general model. An embedding model measures similarity between texts, and a reranker orders retrieved passages by relevance; both are far cheaper and faster than asking a general model to perform the same work through a prompt. When a small model is not good enough on its own, distillation trains it on the outputs of a large model for one task, transferring much of the large model's skill on that task, and Amazon Bedrock Model Distillation automates this. Fine-tuning a small model on high-quality examples can similarly match a much larger general model on a narrow task. In each case, evaluation on the task's own dataset confirms whether the smaller model meets the quality bar.
API-based model cascading
Model cascading sends a request to a small model first and escalates to a larger model only if needed: when the small model indicates low confidence, when its output fails a validation check, or when a classifier marks the request as complex. Exposed behind one API, the cascade is invisible to clients, and most routine queries are answered cheaply. Amazon Bedrock Intelligent Prompt Routing offers a managed variant within a model family. The module "Model Routing and Cascading" describes routing designs in detail. The following table compares the right-sizing techniques.
| Technique | How it saves | Watch out for |
|---|---|---|
| Smaller model per step | Lower price and latency for easy steps | Validate each step's quality |
| Task-specific models | Embeddings and rerankers replace general prompts | Integration of several models |
| Distilled model | Large-model quality on one task, small-model cost | Training data and maintenance |
| Cascading | Large model only for hard requests | Escalation logic and added latency on escalation |
The following diagram shows a validation-based model cascade for email triage.

When to escalate
Cutting cost without losing quality
An email triage system sends every email to a large model to classify it into 12 categories and extract a customer ID. Costs are high, and accuracy is 97%.
Evaluation shows a small model reaches 96% on the same set and returns valid output 99.5% of the time. The right-sized design uses the small model and cascades to the large model only when the small model's output fails validation or its category is "other". Cost drops sharply while overall accuracy stays at 97%.
Is a general-purpose prompt the cheapest way to find similar documents?
Show answer
No. An embedding model is much cheaper and better suited to similarity; rerankers and classifiers are likewise cheaper for their own tasks.
Exam Tips
Remember for the exam
- Use the smallest model that meets each step's quality bar.
- Embeddings, rerankers and classifiers are cheaper than general prompts for their tasks.
- Cascade: small model first, escalate on low confidence or failed validation.