The Pareto Frontier: Finding the Cheapest Model That Solves Your Task

Choosing the smartest model or the cheapest one usually loses on a real task. This video shows how to run one eval sweep, plot accuracy against cost, and read the Pareto frontier to pick the model that fits your threshold.

2:15 video3 min readWatch on YouTube

Opus, Sonnet and Haiku can all do the same task, at three different prices and three different accuracies, and testing all three on real traffic before deciding is expensive. The video argues that the smartest model is not automatically the right pick, and neither is the cheapest. The right pick is the cheapest model that still clears your bar, and it shows how to find it with a sweep.

Why both extremes usually lose

The natural instinct is to grab one extreme: Opus for the accuracy, or Haiku for the price. Either feels like the safe choice. The video uses a customer-support classification task to show why that instinct fails. On that task, Opus's extra accuracy costs double what Sonnet charges for the same job, while Haiku saves only three cents per call but gives up eight points of accuracy. Neither end of the range is clearly the best deal.

The idea: the Pareto frontier

The video asks viewers to hold on to one shape. The Pareto frontier is the curve of models where you cannot buy more accuracy without paying more, and cannot cut cost without losing accuracy. A model belongs on the frontier only if no other model beats it on one axis without losing on the other. Any model that is both more expensive and less accurate than another option is off the frontier and can be dropped.

How to run the sweep

Finding the frontier takes a sweep. You run every candidate model on the same eval suite and record two numbers for each: accuracy and cost per call. Then you plot accuracy against cost and look at which points are not beaten on both axes. The video stresses that this is a general method, and that the sweep is the only reliable way to find the answer for your own task.

A worked example

The video gives plain numbers for its illustrative case. Per million tokens in and out, Opus costs $15 and $75, Sonnet $3 and $15, and Haiku a quarter and $1.25. Quality comes out at 98, 90 and 82 percent. In per-call terms, Haiku is about 1 cent at 82 percent, Sonnet about 4 cents at 90 percent, and Opus about 8 cents at 98 percent. In this example Sonnet sits on the frontier and saves $4,000 per 100,000 calls compared with Opus. The video flags clearly that these are illustrative figures and tells viewers to check current pricing before deciding, because prices move.

The frontier depends on your threshold

The same chart gives different answers depending on how much accuracy the task needs. If you need 95 percent or higher, only one point on the frontier clears it, which is Opus, and the extra cost is simply the price of accuracy you actually need. If 82 percent is enough, Haiku is the frontier point, and Sonnet's extra accuracy is money you did not need to spend. The frontier is task-specific, so the answer changes when the requirement changes.

Key takeaways

  • The smartest model is not always the right pick; the right pick is the cheapest model that clears your bar.
  • Grabbing either extreme, Opus for accuracy or Haiku for price, often loses on a real task.
  • The Pareto frontier is the set of models where you cannot gain accuracy without paying more or cut cost without losing accuracy.
  • Run every model on the same eval suite and record accuracy and cost per call for each.
  • A model is on the frontier only if no other model beats it on one axis without losing on the other.
  • The cost and quality figures in the video are illustrative, so check current pricing before you build.
  • Your accuracy threshold decides which frontier point wins: a high bar can force Opus, a low bar can make Haiku the better buy.

Try it yourself

The video ends with a prompt you can use today: ask Claude to sweep your task across Opus, Sonnet and Haiku, plot cost against accuracy, and tell you which model sits on the Pareto frontier for you. Run it against your own task and your own eval, and set your accuracy threshold before you look at the results.

Chapters

  1. 0:00The naive framing: "just pick the smartest model?"
  2. 0:11Stakes: three models, one task, expensive to try all three
  3. 0:19The wrong guess: grab an extreme (accuracy or price)
  4. 0:26The anchor: the pareto frontier, abstract
  5. 0:34Broken, with a case: both extremes lose on a real task
  6. 0:46Mechanism: the sweep — same suite, two numbers per model
  7. 0:54Mechanism: non-dominated — the frontier rule
  8. 1:03The one flag: illustrative cost/quality numbers
  9. 1:18The anchor returns: real dots on the frontier
  10. 1:30Both directions (A): high threshold, Opus only
  11. 1:39Both directions (B): low threshold, Haiku wins
  12. 1:47Carry-out
  13. 1:56Your turn
  14. 2:07Outro
Full transcript(auto-generated, with timestamps)

The naive framing: "just pick the smartest model?"

[0:00]A newcomer might think the smartest model is always the right pick. It's not the smartest, it's the frontier. The cheapest model that still clears your bar. So, which model actually belongs there?

Stakes: three models, one task, expensive to try all three

[0:11]Three Claude models can do your task, Opus, Sonnet, Haiku, and trying all three on real traffic before you decide is expensive. The natural read, grab

The wrong guess: grab an extreme (accuracy or price)

[0:20]Opus for the accuracy or grab Haiku for the price. Either extreme feels like the safe choice. Hold on to one shape, the

The anchor: the pareto frontier, abstract

[0:27]Pareto frontier, the curve of models where you can't buy more accuracy without paying more or cut cost without losing it.

Broken, with a case: both extremes lose on a real task

[0:34]Test a real task, customer support classification, and both extremes lose. Opus's extra accuracy costs double Sonnet's price for the same job. Haiku saves 3 cents but drops eight points.

Mechanism: the sweep — same suite, two numbers per model

[0:46]Finding the frontier takes a sweep. Run every model on the same eval suite and record two numbers per model, accuracy and cost per call.

Mechanism: non-dominated — the frontier rule

[0:54]Plot accuracy against cost. A model sits on the frontier only if no other model beats it on one axis without losing on the other.

The one flag: illustrative cost/quality numbers

[1:03]The plain numbers for this example, Opus runs $15 in 75 out per million tokens. Sonnet three and 15. Haiku a quarter and a $1.25. Quality 98, 90, 82%. Check current pricing before you decide, these numbers move.

The anchor returns: real dots on the frontier

[1:18]Same shape, real dots. Haiku 1 cent, 82%. Sonnet 4 cents, 90% on the frontier. Opus 8 cents, 98. Sonnet saves $4,000 per 100,000 calls.

Both directions (A): high threshold, Opus only

[1:30]Need 95% or higher? The frontier only has one point that clears it, Opus. There the extra cost is the price of the accuracy you actually need. 82% is

Both directions (B): low threshold, Haiku wins

[1:40]Enough for your task, then Haiku is the frontier point and Sonnet's extra accuracy is money you didn't need to spend.

Carry-out

[1:47]The right model isn't the smartest one or the cheapest one. It's whichever one sits on the frontier for your task, and a sweep is the only way to find it. Your

Your turn

[1:56]Turn. Here's the prompt, read it with me. Sweep my task across Opus, Sonnet, and Haiku. Plot cost versus accuracy and tell me which model sits on the Pareto frontier for me. Lay 'em in for bare.

Outro

[2:07]The Pareto frontier, finding the cheapest model that solves your task. Lay 'em in for bare.

More from Claude Basics

Humanitarians AI Lyrical Literacy Project