Lesson 5 / 14
Frontier and Open-Weight Models
Compare hosted frontier models and open-weight alternatives using task evidence, cost, and deployment needs.
By the end of this lesson, you will be able to:
- Explain the difference between access through a hosted API and access to model weights.
- Select evaluation criteria based on a real workflow instead of a model ranking.
- Plan a small comparison with recorded failures, cost and privacy constraints.
1. What you actually receive
A model is a learned system that predicts or generates an output from an input. The application around it adds instructions, retrieval, tools, filters and a user interface. When someone says a model is 'best', ask whether they are judging the underlying model or a complete product with web search, memory and external tools. Those are different comparisons.
A hosted model is operated by a provider: you send requests to its interface and receive responses under that service's terms. With an open-weight model, weight files are made available under a specific license so someone can run or adapt them with suitable infrastructure. 'Open weights' says nothing by itself about whether training data, training code or commercial rights are open. Some hosted models also have downloadable weights, so the categories can overlap.
2. Measure the task, not the hype
Start with an observable task: classify a support request, extract three invoice fields or draft a sales-call summary. Define an output contract before choosing a model. For classification, the contract might allow only 'billing', 'technical' or 'other', plus a short reason and an 'uncertain' flag. For extraction, define what should happen when the source is missing a field. If the answer cannot be checked, it is difficult to tell whether a model is reliable.
Use examples resembling actual usage, including messy and ambiguous cases. Track correct outputs, avoidable errors, refusals, response time and total cost per completed task. Do not average away critical failures. If two systems both score 90%, but one confidently invents account details while the other requests clarification, they carry different operational risks.
3. Control and operating trade-offs
Hosted APIs remove most GPU operations but create dependencies on provider availability, policies, pricing and data-handling commitments. Operating weights yourself gives more control over deployment and potentially latency, but you own capacity planning, updates, logging, access controls, incident handling and model evaluation. An open-weight deployment is not automatically cheaper or more private; those outcomes depend on the configuration and workload.
A practical shortlist usually includes one strong hosted candidate, one lower-cost hosted candidate and, only when justified, one self-hosted candidate. Keep the prompts, retrieved context, tool permissions and evaluation dataset as equivalent as possible. Record exact model identifiers rather than product-family names, because provider defaults and versions can change.
4. Turn a comparison into a decision
Set minimum quality and safety thresholds first. Only then compare cost, speed and deployment flexibility among candidates that passed. Document what will trigger re-evaluation: a new model version, lower observed accuracy, changed data sensitivity or sustained volume growth. This makes model choice a repeatable operational decision rather than a one-time opinion.
Worked example
Worked example: sorting incoming customer requests
A small team receives requests about billing, bugs and general questions. It wants to route them without exposing personal details in test data.
- Prepare 30 anonymized messages with a human-verified correct category. Include short, multilingual and ambiguous messages.
- Ask each candidate for one of three categories plus an uncertainty flag. Use the same examples and system constraints.
- Compare misroutes, uncertain cases, median response time and cost per correctly routed message. Manually examine every high-impact error.
If the cheaper option meets the team's error threshold, it may be the better production choice even if it ranks lower on a general benchmark. The exact decision depends on measured results, not this hypothetical example.
Check your understanding
A model ranks first on a general benchmark. What can you conclude?
Apply what you learned
Make a shortlist
- Choose one real task and define an observable success criterion.
Discuss this lesson
Read discussions freely. A free account is needed only to post or reply.
Open forum →