# Small vs Large Model: How Do You Choose?

> How to choose between a small and a large AI model: start small, test on your own tasks, and compare cost per finished task, explained simply for your AI interview.

**In short:** Start with the smallest model that passes tests on your own real tasks, then move up only where it fails. Compare cost per finished task, counting retries and human checks, since token price alone misleads.

AI and LLM interview question Q323, Inference, performance and cost. Intermediate, very common (our estimate). From Venkat R. Murty's free Interview Kit: https://designervenkat.online/interview/ai/small-vs-large-model

## Say it in 30 seconds

I start with the smallest model that passes tests on my own real tasks, then move up only where it fails. I compare cost per finished task, counting retries and human checks, since price per token hides the failures. For hard cases I use a cascade: the small model answers first, and a code check sends doubtful answers to the large one. When one task repeats enough, I can distill it into a small model.

## Say it in 2 minutes

I start with the smallest model that passes my own tests. A small model is cheaper and quicker, and a large one handles harder reasoning and messier inputs. I don't guess which one I need. I build an eval set first, a set of real tasks from the work, each with the answer we want, and I score every model on the same set.

Price per token misleads. A cheap model that fails one task in five still bills for the failed try, then the retry, then the person who fixes the mess. So I compare cost per completed task. I also price the hardest tenth of the work, because that is where the retries and fixes pile up.

For mixed work I use a cascade. The small model answers first, a code check looks for doubtful answers, and only those go up to the large model. A router picks the model before a request runs. Distillation trains a small model to perform similarly to a large one on one task, and it takes real effort to set up.

Every choice needs a check. For a cascade, I measure how often the code check lets a wrong answer through, because that is where the savings quietly disappear. I upgrade only where the eval set shows a gap.

## What is the small vs large model choice, in plain words?

A small model is cheaper and quicker to run. A large model costs more per request, but it copes better with hard reasoning, messy inputs and long instructions. Choosing between them means deciding how much quality you need and how much you will pay for it.

Think of a claims team at an insurer. Most files go to a junior adjuster, and only the hard ones go up to a senior. Sending every file to the senior would be ruinous, and sending every file to a junior would let the expensive mistakes through. An AI product has the same split. A support assistant that sorts tickets can run on the small model, while a legal team's contract review over 40,000 files may need the large one. The choice is made task by task.

- **Eval set:** A fixed set of real tasks, each with a good answer, used to score every model the same way.
- **First-try rate:** The share of tasks a model gets right without a retry or a person.
- **Cost per completed task:** Everything you pay to finish one task, counting failed tries, retries and human checks.
- **Cascade:** Try the small model first, and send only the doubtful tasks to the large one.

## Which model should you try first?

Start with the small one and measure. For many applications, Anthropic's guide suggests starting with a faster, more cost-effective model, testing it, and upgrading only where a specific gap shows.

1. **Build an eval set first:** Collect real tasks from your own work, each with the answer you want. Without it you are guessing.
2. **Start with the small model:** For many applications, a faster and more cost-effective model is the best place to begin.
3. **Score both on the same tasks:** Count how many come out right first time, and how many need a person to fix them.
4. **Move up only where it fails:** Upgrade for the specific task types where the small model keeps missing, and leave the rest on the small one.

- **Start small: Clear, repeatable work.** Most tasks with a clear right answer and a test set. Anthropic's guide suggests this first for many applications.
- **Start large: Hard or costly work.** Complex reasoning, or work where accuracy matters more than cost. Anthropic suggests the strongest model first there, then cheaper ones later.

Judge three things together: quality, cost and speed. Anthropic's guide lists speed beside capability and cost, and OpenAI's guide notes that a task you wait on may need a faster setting than one that runs overnight.

> **Tip:** Asked how you'd choose? Say you measure before you pay. A bigger model is a fix you buy only after the test shows a gap.

## How do you compare cost fairly?

Compare the cost of a finished task. Price per token alone hides the retries. A cheap model that fails often pays for its failed tries, its retries and the people who fix the output. Anthropic's cost guide puts the point plainly:

> "The bill is decided by the tasks the cheaper model fails, because a failed task still bills its tokens, then the retry, then whatever the failure costs downstream." (Anthropic)
>
> "If you can, experiment using the same inputs to compare results and keep the lightest setting that meets your quality bar." (OpenAI)

Here is a made-up claims triage agent. It reads each new claim, labels it and suggests a payout band. The numbers are invented: the small model costs 0.10 per attempt, the large model 0.20, and a clerk's review of one claim 3.00. Easy claims are 90% of the queue, and the small model gets 85% of them right first time. On the hard 10%, it gets 40% right first time.

```python
# Made-up numbers for a claims triage agent. Not real model prices.
SMALL, LARGE, HUMAN = 0.10, 0.20, 3.00   # cost per attempt; a clerk's review of one claim
LARGE_RIGHT = 0.98                       # share of claims the large model gets right first time
# (share of the queue, share the small model gets right first time)
QUEUE = [("easy", 0.90, 0.85), ("hard", 0.10, 0.40)]

def cost_per_claim(route):
    total = 0.0
    for _, share, small_right in QUEUE:
        large_path = LARGE + (1 - LARGE_RIGHT) * HUMAN  # large model, then a clerk if it fails
        if route == "small + clerk":
            cost = SMALL + (1 - small_right) * HUMAN
        elif route == "large only":
            cost = large_path
        else:  # cascade: small first, large only for the claims the code check flags
            cost = SMALL + (1 - small_right) * large_path
        total += share * cost
    return round(total, 3)

for route in ["small + clerk", "large only", "cascade"]:
    print(route.ljust(14), cost_per_claim(route))
large_total = LARGE + (1 - LARGE_RIGHT) * HUMAN
print("break-even first-try share", round(SMALL / large_total, 2))
```

Output:

```text
small + clerk  0.685
large only     0.26
cascade        0.151
break-even first-try share 0.38
```

The small model with a clerk on every miss costs 0.685 per claim. The large model alone costs 0.26. The cascade costs 0.151, because most claims stop at the cheap model and the code check. If the small model got the same share of claims right first time on every claim, the cascade would beat the large model alone once that share passed about 38%. In the example the blended share is about 80%.

> **Tip:** That maths only holds if the code check catches the small model's mistakes. A check that misses wrong answers is the real risk, so measure it on the eval set before you trust the saving.

## How do you combine a small and a large model?

Anthropic's guide describes pairing a lower-cost model with the most capable one, so most tokens bill at the lower rate. Three patterns cover most cases.

- **Cascade: Small first, check, then large.** A code check sends doubtful answers up. FrugalGPT, a 2023 paper, studied this idea of an LLM cascade.
- **Routing: Pick the model before it runs.** A router chooses a stronger or weaker model per request. RouteLLM, a 2024 paper, trains such routers.
- **Distillation: Teach a small model one task.** A small model learns from a large model's outputs on one task. OpenAI says a small model can be trained to perform similarly to a costlier one on a specific task.

*Diagram, Cheap first, large only when flagged: Most claims stop at the cheap model and the code check. Only the flagged ones pay for the large model, so the average cost per finished claim falls.*
1. The claim goes to the small model first.
2. Its answer goes to the code check.
3. A clean answer ends here, at the low cost.
4. A flagged claim goes up to the large model.

Distillation has a long history. Hinton and co-authors posted a 2015 paper (arXiv, March 2015), building on Caruana's earlier work, on compressing a group of models into one that is much easier to deploy. Small models also run on your own hardware, which helps when the data must stay inside your network.

## What does the interviewer want to hear?

**A strong answer covers**

- [ ] Start with a small model and an eval set of real tasks.
- [ ] Compare cost per completed task, counting retries and human checks.
- [ ] Price the hard tail as well as the average.
- [ ] Name the cascade or routing pattern, and what checks it.
- [ ] Say that distillation trades set-up effort for a cheaper model on one task.
- [ ] Say when a large model is the right first choice.

**Common traps**

- Trap: "Always pick the biggest model to be safe." Better: A bigger model fails less on hard work, but bills more on every task. Measure the tail before paying for all of it.
- Trap: "Compare the price per million tokens." Better: Token price ignores retries, failed tries and review time. Count the cost of a finished task instead.
- Trap: "The small model is always cheaper." Better: Its failures still bill tokens, then the retry, then the fix. Price the whole path, including every retry.

## Can you spot the fair comparison?

**Spot the fair comparison:** Which evidence would you trust before choosing a model for claims triage?

A. Price per token for each model, from the pricing page.
B. Each model's score on a public leaderboard.
C. Both models run on 300 past claims, with retries and clerk time counted per finished claim.
D. A demo where the team picks the best reply by eye.

**Answer:** C. Only the third one measures the work you pay for, on claims like yours, including the failures. A leaderboard misses your hard tail, and token price misses the retries.

**Quick check:** A small model gets one hard claim in five wrong. What is the best next step?

A. Switch every claim to the large model.
B. Add a code check, send only the flagged claims up, and measure the cost per finished claim.
C. Ask the clerks to re-check every claim by hand.
D. Choose the model with the highest public benchmark score.

**Answer:** B. A cascade keeps most claims cheap and sends only the doubtful ones up. Then measure it, because a check that lets wrong answers through quietly erases the saving.

## Can you answer these from memory?

**Flash cards**

- **Small or large model: where do you start?** The small model, tested on your own real tasks, then upgrade only where it fails.
- **What is an eval set?** A fixed set of real tasks with good answers, used to score each model the same way.
- **What should you compare?** Cost per completed task, with retries, failures and human checks included.
- **What is a cascade?** Small model first, a code check, and only the flagged tasks sent to the large model.
- **What is distillation?** Training a small model on a large model's outputs, for one task.
- **Why price the tail?** The hardest tasks often carry most of the retries and fixes.

## Likely follow-up questions

- Q322 What is model routing (cascades)? https://designervenkat.online/interview/ai/what-is-model-routing
- Q324 How do you estimate token cost for a feature? https://designervenkat.online/interview/ai/how-to-estimate-token-cost
- Q316 TTFT vs tokens/sec vs total latency? https://designervenkat.online/interview/ai/ttft-vs-tokens-per-second-vs-latency
- Q317 The latency vs throughput trade-off? (full answer coming)

## Learn it in depth

- [Choosing the Right Model](https://designervenkat.online/learn/ai-engineering/choosing-the-right-model)
