0:00Intro: MOFUSA Tech Academy
Welcome to MOFUSA Tech Academy. Beyond learning, towards mastery.
0:09Which model should Brightcart use?
Last episode, we built Brightcart's scorecard. Now we put it to work: which model should the assistant actually use? And should Brightcart pay for access through an API, or run an open model on its own servers? The trick is not to start with leaderboards. Start with what's non-negotiable, narrow the field quickly, and only then spend effort testing a few candidates properly on your own data. Today: a four-step selection process, the real trade-offs of buying versus running your own, and how to read a benchmark without being fooled.
Season Four, Module Sixteen, stop two: choosing a model.
0:55A four-step model-selection workflow
Here's the workflow. Step one: hard filters. Remove every model that fails a non-negotiable requirement. Step two: shortlist. Use public benchmarks, leaderboards and model cards to choose a handful of promising candidates. Step three: run your own evaluation on that shortlist, with the scorecard from last episode, gates first. Step four: keep monitoring in production, and re-run the evaluation whenever a new model, a new version or a new price appears. Most of the effort goes into step three, on just two to four candidates.
That's what keeps the process manageable.
1:35Hard filters: data, licence, context
Brightcart's hard filters come straight from its brief. Customer data must be handled under an acceptable agreement and in an acceptable region, or stay on Brightcart's own servers. The licence must allow commercial use. The model must support structured output, tool calling and streaming, and ideally image input, for those damage photos. And it must fit the context Brightcart needs. Let's estimate it: about six hundred tokens of instructions, fifteen hundred of retrieved policy text, about thirteen hundred of conversation history: roughly three thousand four hundred tokens going in, plus about three hundred for the reply, and some headroom.
Any model that fails one of these requirements is out, however impressive it looks.
2:23Shortlisting candidates
With the field narrowed, use public information to pick a few promising candidates: model cards, published evaluations on relevant skills like instruction-following, multilingual ability and safety, plus each provider's reliability record, prices and speed. Brightcart shortlists three: a large model available through an API, a mid-size open-weight model it could run itself, and a small, inexpensive API model. Then it's time for the real test. Keep in mind that details like these change fast. They were correct when this video was published, so treat them as a snapshot, not a permanent fact.
3:06API vs self-hosting
Now the big strategic choice: buy access through an API, or run an open model yourself. An API means no infrastructure, quick setup and often the most capable models, and it scales automatically. But customer data leaves Brightcart's systems, protected by contract. Costs grow with every token. And the provider controls the model: they may update it, change its behaviour, or retire it. Self-hosting keeps data in-house, gives full control over versions and fine-tuning, and can become cheaper at high volume. But Brightcart would need graphics cards, engineers, monitoring, security and someone on call when it breaks at two in the morning.
Those hidden costs, engineering time, idle hardware, maintenance, are easy to underestimate.
4:00Break-even thinking
A simple way to compare costs: an API's monthly cost rises steadily with usage, at the price per token. Self-hosting starts with a large fixed cost, hardware and people, but each additional token is cheap. The two lines cross at a break-even volume: roughly the fixed cost divided by the API price per token, when self-hosting's own cost per token is small. Below that volume, the API is cheaper; above it, self-hosting may win. Brightcart's production volume is about a hundred and eighty-five million tokens a month. Where that sits relative to break-even depends on today's prices, which we'll fill in from current sources.
Remember the caveats: input and output tokens are priced differently, you can only buy graphics cards in whole units, a weaker self-hosted model might need longer prompts or retries, and at small scale, the cost of people often dominates everything else.
5:03How to read AI benchmarks
When you do look at public benchmarks, read them like a careful shopper reads a label. What exactly does it measure: trivia, maths, coding, instruction-following? Is that relevant to support replies? How is it scored: exact answers, multiple choice, or an AI judge with its own biases? Might the test questions have leaked into training data? Is it saturated, with top models all scoring near a hundred percent? Is it an average across many tests, hiding weaknesses? Are the differences within the margin of error? And who ran it, with what prompts and settings?
Small changes in prompt format can shift scores noticeably. Benchmarks are a useful filter. They're not a verdict.
5:50The decision, and keeping it fresh
Finally, Brightcart runs its scorecard on the three candidates. Gates first: any candidate that fails a must-pass check is out. Then quality, with error bars, then speed and cost per conversation. A typical outcome might be that a mid-size model, used through an API, passes every gate and is statistically tied with the large model on quality, at lower cost. So it becomes the main model, with the larger model reserved for complex escalations, the hybrid we sketched in episode fifty-one. Self-hosting is revisited if traffic ever approaches the break-even point.
And the decision is never final. A new model, a new version, a price change, a new policy, or drifting metrics in production are all reasons to run the evaluation again.
6:43Re-estimating tokens and cost
Remember the project brief's estimate: eight hundred tokens in and two hundred out per request? That was for a simple prototype. The production design adds retrieved policy text and conversation history, so each request now sends about three thousand four hundred tokens and gets about three hundred back. At fifty thousand requests a month, that's a hundred and seventy million input tokens instead of forty million. At our illustrative prices, the bill rises from eighty dollars to about two hundred and thirty. Estimates should be redone whenever the design changes.
7:22Try it yourself: when does self-hosting pay?
At just under half a cent per request through an API, when would self-hosting at a fixed fifteen hundred dollars a month become cheaper? Pause and divide. Fifteen hundred divided by zero point zero zero four six: about three hundred and twenty-six thousand requests a month, roughly six and a half times Brightcart's current traffic. And that's generous to self-hosting, because it ignores the engineers needed to run it. For now, the API is clearly cheaper. The calculation is worth repeating as traffic grows.
8:03Which filter rules a model out?
Brightcart has three hard requirements: customer data must be processed in a specific region, the model must produce reliable structured output, and it must accept images for damage claims. Model P only handles text. Model Q has no regional option. Model R meets all three. Which survive to the shortlist? Pause.
Only R, which joins the shortlist as candidate B. Hard filters are yes or no. It doesn't matter how brilliant model Q is at writing replies: if it can't meet the data-residency requirement, it's out. Apply the hard filters first, and you'll waste no time evaluating models you could never use.
8:56Is a one-point benchmark lead real?
On a public benchmark of five hundred questions, model Y scores eighty-one percent and model X scores eighty. Is Y really better? Pause and recall the error bars from episode fifty-seven. With five hundred questions, each score has an error bar of about plus or minus three and a half points. A one-point lead is well inside the noise. And even a real difference on a public benchmark might not carry over to Brightcart's tickets. Benchmarks help you build a shortlist; your own evaluation makes the decision.
9:37The bake-off
Now the bake-off. The three shortlisted models each answer Brightcart's two hundred and fifty golden tickets. The automatic checks, the gates and the validated judge score every reply, and latency and cost are measured too. Model C fails the privacy gate and is out. A and B are close on quality, within the error bars, so B, the cheaper and faster one, wins, with A kept for complex escalations. The decision comes from a scorecard, written down, not from a feeling about which model seemed smarter.
10:14The full cost of self-hosting
The GPU bill is only the tip of the iceberg. Self-hosting also means engineers' time, people on call when something breaks at night, monitoring, security patches, upgrading to newer models, spare capacity for traffic peaks, and backups for outages. It can still be the right choice, when you need strict control over data, have very high volume, run custom fine-tuned models, or must work offline. Just make sure the whole iceberg is in the calculation.
10:45What triggers a re-evaluation?
Which of these events should trigger a fresh evaluation? A major new model is released. Your provider updates the model you use. Prices change significantly. A new product line changes what customers ask. A teammate says another model felt better. Pause.
The first four, yes: each can change the right answer. The anecdote is different. Add the teammate's example to the golden set, so it's measured from now on, but never switch models because of one story. Because Brightcart's pipeline is automated, a re-evaluation takes an afternoon, not a project.
11:29Is the context window big enough?
Our budget assumed about thirteen hundred tokens of conversation history. But some chats run long: forty turns of about a hundred tokens each. How big does the prompt get? Pause. Six hundred for instructions, fifteen hundred for policies, four thousand for history, and three hundred for the reply: six thousand four hundred tokens. A model with a four-thousand-token window simply can't handle that conversation. So plan for the long tail, not the typical case, and have a strategy for long chats, like summarising older turns, which we'll build in Season Five.
12:13Writing down the decision
Finally, Brightcart writes the decision down on a single page. The context: what the assistant does, the hard requirements, the traffic and the token budget. The options considered. The evidence: the scorecard, with error bars, cost and latency. The decision itself, with the pinned model version. The consequences, including the vendor dependency and how they'd switch if needed. And when it will be reviewed. Six months from now, when someone asks "why this model?", the answer will be there, with the evidence attached.
12:50Myth vs Fact
Myth: running your own open model is always cheaper than paying for an API. Fact: at low volume, once you count engineers and idle hardware, an API is often cheaper. At high volume, self-hosting can win. Do the maths for your own volume, and include the hidden costs.
13:11Recap
Let's recap. Choose models in four steps: filter on hard requirements, shortlist with public information, evaluate the shortlist on your own scorecard, and keep monitoring. APIs are easy but their costs grow with use, while self-hosting gives control at a fixed cost and real engineering effort, so compare them at your own volume. Read public benchmarks critically: relevance, contamination, saturation and noise. And re-evaluate whenever anything changes. One sentence to remember: filter on must-haves, test on your data, and re-test when anything changes.
13:52Next: the evaluation pipeline
Mission complete. Brightcart has a repeatable way to choose models, and a likely hybrid setup, with clear triggers for re-testing. Next, the final piece of evaluation: turning all of this into an automatic pipeline that runs every time a prompt, model or document changes, so nothing ships without being measured. Designing an evaluation pipeline, next. See you on the map.