← Back to blogYouTube Video

November 11, 2026 • Updated November 25, 2026 • By

How to choose the cheapest LLM that still does the job

Can't play the video or having issues? Here's the direct link.

The short version

  • To pick a cost-effective LLM, score your prompt's outputs on your best model, then on cheaper and smaller models, and use the cheapest one whose average still clears your quality bar.
  • Run the prompt 5 to 10 times on each model and average the scores, because outputs vary from run to run and a model that scored 98 once can score 85 on the next run.
  • Set the minimum score per task before you test, for example 90 out of 100. When a model drops below it in most runs, go back up one tier.
  • Freeze the prompt before comparing models. Every model has to be scored on the same prompt and inputs, or the averages can't be compared.
  • Most business tasks, like summaries and pulling fields out of documents, run fine on small, cheap models. Keep frontier models for work that needs real reasoning.

To choose the cheapest LLM that still does a task well, run your prompt 5 to 10 times on your best model and score every output out of 100. Then run the same prompt the same number of times on cheaper and smaller models, and keep going down until the average score drops below the bar you need. The model you use is the cheapest one that still clears that bar.

Below is that process step by step, with the spreadsheet I track it in and the mistakes that make the scores lie. The video above covers the same thing.

Why most teams overpay for tokens

Companies are spending ridiculous amounts on LLM tokens without much to show for it. The Information got hold of an internal Meta leaderboard showing employees used more than 60 trillion tokens in 30 days. At Claude Opus list prices that's around $900 million. Meta's real bill isn't public, and cached tokens cost far less, but it gives you the scale. Uber's CTO said the company went through its whole 2026 budget for AI coding tools in about four months.

A lot of that comes from mandates. When a company tracks how many tokens each employee uses and pushes them to use more, people run frontier models on everything, including summarizing emails and drafting PRs. A small, cheap model like Gemma 4 handles those jobs fine.

There are other ways to cut AI costs, like better prompts and caching (I cover how prompt caching works in another video). This page is only about picking the model, which is the one most teams skip.

Step 1: pick one task and write the prompt

You need one task you're automating and the prompt that does it. That's the prompt you'd feed to the LLM or the agent in production.

Do this per task, not per company. "Summarize this support ticket" and "plan a database migration" need very different models, and a single company-wide default is how you end up paying frontier prices for ticket summaries.

Step 2: score your best model first

Take the prompt to the most capable model you have, whether that's from Anthropic, OpenAI or anyone else. Run it 5 to 10 times and score every output from 0 to 100. Then average the scores.

One run tells you nothing. LLM outputs vary from run to run, and a model that scored 98 once can score 85 the next time on the same input. The average over several runs is the number you compare.

This first round gives you the ceiling. If your best model averages 97, that's roughly the best this prompt can do, and it's what every cheaper model gets measured against.

You'll also find problems with the prompt while you do this. Repeated runs show you the edge cases the model trips on and the instructions you forgot to write down. Fix the prompt as you go, with more specific instructions and a couple of good examples for the edge cases. Once you're happy with it, freeze it and re-score the frontier model with the final version, because every model has to be tested on the same prompt or the comparison means nothing.

Step 3: move down to cheaper models

Now pick a cheaper, smaller model and do exactly the same thing. Same prompt, same inputs, 5 to 10 runs, every output scored out of 100, then the average.

Keep stepping down. At first the scores barely move. The frontier model might give you 97, 98, 99, and the next model down might give you 97, 95, 94. At some point you hit a model where the outputs get noticeably worse, and that's the point you're looking for.

Step 4: decide where to stop

Before you start, set the minimum score this task needs. For a lot of business tasks I'd say 90 out of 100. A model that averages below that is out, no matter how cheap it is.

When a model starts falling below your bar in most of its runs (scores like 85, 83, 82), go back up one tier to the slightly smarter model before it. That's the model for this task. If the cheapest model you've tried still clears the bar, try one that's cheaper still.

Leave yourself some margin. If a model averages 91 and its runs swing between 86 and 96, it will fail your bar in production on a bad day. I'd rather pick a model that clears the bar by more than its usual swing.

The spreadsheet

You don't need any tooling for this. I use a spreadsheet with one row per model:

TaskPromptModelScoresAverage
Summarize a support ticketv3Frontier model97, 95, 98, 99, 9797.2
Summarize a support ticketv3Mid-tier model96, 94, 95, 97, 9395.0
Summarize a support ticketv3Small model93, 91, 94, 90, 9292.0
Summarize a support ticketv3Smallest model85, 83, 88, 82, 8684.8

These numbers are made up to show the shape. In the video I score Claude Sonnet at 97, 95, 98, 99 and 97, the same as the first row. With a bar of 90, the small model wins here: it averages 92 and its worst run is 90. The smallest model is out.

Put the prompt version in its own column. When you change the prompt, the old scores no longer count, and you want to see that at a glance.

How to score without fooling yourself

Scoring out of 100 by feel works, but it drifts. After 30 outputs you'll grade the 31st differently from the first. Before you start, write down what a 100 looks like and what costs points. For a ticket summary that might be "names the customer's problem and includes the order number, in under 80 words".

Use the same set of inputs for every model, and pick inputs that look like real traffic, awkward ones included. If you can, hide the model name while you score. It's easy to give the expensive model the benefit of the doubt.

When the outputs are open-ended and there are a lot of them, you can have another LLM score them against your written criteria. That's usually called LLM-as-a-judge. It saves time, but the judge costs tokens too, and you should check a sample of its scores against your own before you trust it.

How to calculate cost per successful task

Compare models on what a finished task costs, because the per-token price leaves out two things: how many tokens each model writes, and how often its output fails your bar and has to be thrown away or re-run.

Cost per successful task is what you spent on all the runs divided by the number of runs that cleared your bar. You already have both numbers from the scoring. Take the real cost of each run from your provider's usage dashboard or the token counts in the API response, so a model that writes longer answers pays for them.

Say your bar is 90. A frontier model costs $0.03 a run and 10 of 10 runs clear it, so a successful task costs $0.03. A small model costs $0.004 a run but only 6 of 10 clear it, so you spent $0.04 for 6 good outputs, and a successful task costs about $0.0067. The small model is still about 4.5 times cheaper per useful output, even though it failed 4 times. Those failures cost more than tokens, though. Someone has to catch them, and a model that clears your bar only 60% of the time is out anyway under step 4.

These numbers are made up to show the maths. Use your own from the spreadsheet.

Which tasks can run on small models

When you do this for a while, you'll find that most business tasks run fine on small, cheap models. Summaries, first drafts of emails and PR descriptions, pulling fields out of a document, sorting messages into categories: none of these need a frontier model.

Save the expensive models for tasks that need real reasoning, like planning a system or debugging something that spans a whole codebase. Using a frontier model to summarize emails is like hiring a senior engineer to rename files.

Re-run the test when a new model comes out or prices change. A provider can also update a model you picked and make it worse at your task without telling you. Keep the spreadsheet and your test inputs, and re-scoring takes an afternoon.

Is it worth the manual work?

I'll be honest, this is so obvious that you might wonder why I made a video about it. The answer is that most companies don't do it. They pick one model, usually the smartest one, and run everything through it.

It's a lot of manual work, for sure. But it drives costs down hard, and you can keep using all these models without bankrupting your company, or your own wallet if you're paying for this yourself. If you'd rather have someone set this up for your workflows, that's the kind of thing I do in AI automation projects.

Read: what AI automation costs →How I quote projects, what makes them bigger or smaller, and the running costs to expect after launch.

Video transcript

Show
It's no secret that LLM tokens are extremely expensive. Companies are spending like hundreds of millions of dollars, billions of dollars on these tokens and not really seeing a good return out of them. And all they're really doing is just burning their money away, right? Meta, the company behind Facebook and Instagram, huge addiction of mine, is spending hundreds of millions of dollars every year. I have actually read an actual, like, news article which claims that they've spent $900 million in just Claude tokens, just paying $900 million to Anthropic, no questions asked. Uber, I made an entire video on Uber, which reportedly just ran through its entire, like, $3.4 billion of budget for the entire year of 2026 in just four months, spending the entire budget on AI tokens. And unless Gemini hallucinated all of this data and basically ruined my entire video, the fact is most companies are spending a really large amount of money on AI tokens and they're using it very inefficiently, right? Now, there are different ways to improve your usage of AI, like, you know, writing better prompts, providing good context and all that. We're not going to talk about all those things. They are important, but they are not the topic of discussion for this video, because in this video, I want to talk about how to choose a cost-effective model for your use cases, right? The problem with a lot of companies is they're using really expensive, really frontier models, and they're using it for really basic things. Like I actually covered this in my Uber video as well. You can check that out on my channel. Because these companies are mandating AI usage so much, every employee has to, like, use, like, a certain amount of LLM tokens. And if they don't use it, they basically get penalized for it. So you know what these employees are doing to, you know, drive up their LLM token use? Yeah, they're using these frontier models that are basically AGI to summarize emails and draft PRs and shit. Stuff like that, which can easily be done by a very small, very cheap model, like even something like Gemma 4 by Google, honestly, or like a Qwen 27B, something like that, right? Anyway, point is, a lot of you folks are using models that are really intelligent, but you're not using them for intelligent tasks. And so what I want to do in this video is give you a very, very simple approach to picking cost-effective models. You're going to look at this approach and you're going to think, "What the fuck? This is so fucking obvious. Why is this kid teaching me something that I could have done on my own?" Yeah, if you could have done it on your own, you would not be watching this video. So yeah. Now, without further ado, let's get into it. So this is the entire process, and you need to follow this for every single task that you're automating with some sort of an LLM. Here's what we're going to do. We're going to pick a pencil so I can draw and explain things as we go along. The very first thing you need to do is you need to obviously have a task to automate, right? You should have a task in mind, and you should have some sort of a prompt that automates that task for you, right? The prompt that you're going to feed into the LLM or the AI agent or whatever. What you're going to do is take that prompt, take it to the most frontier, intelligent model that you have in your stack, no matter what models you're using, whether that's from OpenAI or Anthropic or some combination of them, whatever, right? Feed that prompt and that task into the most intelligent model you have in your stack and score the outputs you get from it, right? Literally just take a score from, like, let's say, zero to a hundred and just score the model based on that, right? Run that same prompt, like, I don't know, 5, 10, 15 times. See the outputs that you get. And by the way, as you keep doing this more and more, you'll also be able to find ways to improve the prompt that you're using. Make it more specific, give the AI better high-quality examples, explain any edge cases that it may encounter. Just give it better instructions and a better, more refined prompt so that the outputs improve as a result of that as well. But yeah, you want to run this like 10 or 15 times. You want to score every single output you get. And then what you want to do is you want to go over to a cheaper model. So remember, we started off with a frontier model, right? Now we move to a cheaper model, a smaller model than that, and we do the exact same thing. We run the prompt, the same prompt, the same task on a much cheaper model. We run this like 10 or 15 times, and we score this out of 100 as well. And then what we're going to do is we're going to analyze the output quality. We're going to see where the output quality starts to degrade, right? So as you keep repeating this process, because you will need to repeat this like a couple times at least, what's going to end up happening is, since you're using cheaper and cheaper, smaller and smaller, smaller models at every single iteration, at some point the output quality is going to start to, like, drop, right? When you're using a frontier model in the very first step, the output quality might be like 98, 97, 99, 100 out of 100, right? That's really good. But this is a very intelligent frontier model, right? When you move to a cheaper model than that, right, the output quality might, you know, stay at 97, 98. Maybe it'll drop to, like, 94, 95, 93. You basically just keep moving down and down to cheaper and smaller models until the output quality degrades to a point that is unacceptable to you, right? Let's say you're looking for 90 reliability or something, or, like, output scores that are 90 or above, right? As soon as a cheaper model starts to fall below that in most of the, you know, iterations that you run it on, and it's giving you scores like, I don't know, 85, 83, 82, that is much lower than what we started with, right? And so the output quality is degrading a lot. And so at that point, you basically want to switch to a more intelligent model, just slightly more intelligent than what we started with. And that will be the model that we will use for this particular task, right? And if the output quality is good enough, then we just keep using the cheaper model. Or we can go one step further and try using an even cheaper model than that and see if that one works for our tasks and it produces good outputs as well. And what ends up happening in the very end is we end up selecting the best model for our use cases, one that can actually produce really high-quality outputs as well, because we test that with our scores on every single iteration, and has the cheapest cost as well, because we keep using cheaper and cheaper models until we find the one that continues to produce high-quality output, while still being as cheap as humanly possible, right? Humanly possible, that makes no sense. So yeah, that is the entire process. Pick a task you want to automate, write the prompt, score the outputs with a frontier model, run it like five or 10 times, get the average score. Then try a cheaper model, run the exact same process, run it five or 10 times, take the average score, then keep going down and down to cheaper and smaller models until you find a point where the output quality falls below your requirement for this particular task. Once you get to that point, either select that cheap model or switch to a slightly more intelligent model and use that model. Otherwise, just keep trying cheaper models until you find one that produces high-quality output as per your requirements and is still extremely cheap to use. And if you just do this, you'll find that most business tasks can be automated by really small, cheap models as well. And you can save the frontier expensive models for your highest reasoning required tasks, right? So yeah, hope that helps. Let's end this before it gets way too long. By the way, I guess I should probably show you some sort of an example of this whole thing as well. Okay, so this is literally all you need to do. And I guess I should have explained this in the beginning of the video. But yeah, this is all you do. Like, you literally just create a spreadsheet like this, that is supposed to be score, not whatever I wrote. You put the task over here that you're trying to do, like, I don't know, make a $1 million business with no mistakes. You put the prompt that you're using. I'm just going to put some example stuff over here. And let's say I'm using Claude Sonnet. And we will literally run this like five or 10 times. And, you know, let's say we get scores like 97, 95, 98, 99, 97 again, right? We just take their average. And that is the score that we get for this particular task with this particular prompt with this particular model. Then we just move over to a cheaper model and a cheaper model and a cheaper model until we find the one that produces really good output scores, but is also really cheap for us to use. So yeah, that is the entire process. Hope that helps. Follow this. It's a lot of manual work for sure, but it'll drive costs down by a lot. And you can continue to use all these models without necessarily bankrupting your company. Or if you're using this personally, bankrupting your own wallet, right? Yeah, hope that helps. See ya.

Share this article

Hassan Aziz pointing up

Dude, you’re at the bottom of my landing page.

Just book a call already if you’re that interested.

You scrolled all the way here.

Book a free call on Calendly