Open-Weight vs Frontier
After this lesson you choose which model to use on purpose, knowing what each choice costs in money, privacy, and offline access.
Learning Objectives
By the end of this lesson, you can:
- Define open-weight and frontier models in one sentence each
- Install a small open-weight model on your machine and run it
- Compare an open-weight model's answer to a frontier model's answer to the same prompt
- Pick open-weight or frontier for a given scenario based on cost, privacy, and offline needs
- Explain why "open weight" is not the same as "open source"
The Problem
The default the chat app hands you is a frontier model. You never made that choice, and it is the most consequential choice you will make all session.
It is consequential in three ways at once: every call costs money, every call sends your prompt to a datacenter, and every call needs a network. The first one shows up in your bill. The second one shows up in your privacy review. The third one shows up the moment you try to work on a plane.
An open-weight model is a different shape of the same job. A file you can download. Runs on your hardware. No bill per call, no prompt leaving your machine, no network needed after the initial download. Different shape, different cost, different trade-offs.
Most people never make this choice consciously. They take what the app defaults to. After this lesson, you will pick on purpose, and you will know which scenarios push you to which side.
The Concept
Two kinds of model. Same job. Different shape.
| Open-weight | Frontier | |
|---|---|---|
| Weights | Public. A file you can download | Secret. You cannot download them |
| Where it runs | Your machine (or your server) | Someone else's datacenter |
| Cost per call | Electricity, hardware wear | Per call, billed by the host |
| Network needed | No (after download) | Yes, every call |
| Privacy | Your prompt stays local | Your prompt leaves your machine |
| Fine-tuning | Possible, you own the weights | Usually not |
| Typical size | Small to medium | Often very large |
The size column is not the point. Some open-weight models are huge. Some frontier models are modest. Size is a description, not the definition.
The reframe: the difference between open-weight and frontier is whether the weights are public, not how big the model is.
flowchart LR A[You] -->|download weights once| B[Open-weight<br/>runs on your laptop] A -->|pay per call| C[Frontier<br/>runs in a datacenter] B --> D[Cost: electricity<br/>Privacy: local<br/>Offline: yes] C --> E[Cost: per call<br/>Privacy: leaves machine<br/>Offline: no]
Build It
You will install one small open-weight model, ask it a question, then ask the same question of a frontier API, and compare.
- Install a runtime that runs models locally. Three common options:
ollamafromollama.com— easiest install, one-command model pullllama.cppfromgithub.com/ggerganov/llama.cpp— lower-level, more controlopencodefromopencode.ai— a coding-agent CLI that takes any open-weight model as its backend (you point it at a local runtime like Ollama or any OpenAI-compatible endpoint)
Pick one and follow its install steps.
- Pull a small chat model. Example (may need updating):
`` ollama run qwen2.5:3b ``
A small open-weight chat model such as Qwen-2.5-3B-Instruct (about 2 GB, fits on most laptops). If that exact tag has changed, the runtime's model library will show the current small option. Another well-known family in the same tier is DeepSeek (e.g. ollama run deepseek-r1:1.5b, or pointing OpenCode at a deepseek-coder / deepseek-r1 tag on a local Ollama instance); either one gives the lesson the same lesson — that the weights are a local file and the call has no per-token bill, regardless of which runtime drives the model.
- Ask it a question. Try:
`` Explain in two sentences why a hash table lookup is O(1) on average. ``
Note the answer and how long it took.
- In a separate terminal, send the same prompt to a frontier API you have access to. Note the answer and the latency.
- Compare. Write down, in one sentence per model: what it got right, what it got wrong, how long each took, and what each call cost.
Pass: you have one sentence per model, the open-weight model ran on your machine with no network after the initial download, and you can state which you would reach for next time and why.
Use It
| Scenario | Reach for |
|---|---|
| Summarizing a private internal document | Open-weight. The document never leaves your machine |
| Quick code question while on a plane | Open-weight. No network needed after download |
| Cutting-edge reasoning task where quality matters most | Frontier. Bigger models, more compute, hosted on big iron |
| High-volume bulk classification (thousands of calls) | Open-weight. Per-call cost is electricity, not API dollars |
| Task you want to fine-tune for your domain | Open-weight. You can edit the weights |
| One-off complex task with a small budget | Frontier. Pay only for what you use |
Exercises
- Define it. Without looking back, write one sentence each for "open-weight model" and "frontier model." Then check against the table in this lesson. Pass: both sentences mention whether the weights are public and where the model runs.
- Run the comparison. Pick a prompt you actually care about — a refactor plan, a tricky regex, a domain question. Send it to a small open-weight model running on your machine and to a frontier API. Score each on correctness, latency, and cost. Pass: a one-paragraph written comparison, and a stated pick for that exact prompt.
- Pick for a new scenario. A hospital wants an assistant that reads patient notes and suggests follow-up questions for the doctor. Patient notes cannot leave the building. The hospital has a small GPU server. Pass: you name open-weight, give two reasons from this lesson, and name one tradeoff the hospital will have to accept (slower responses, smaller model capacity, hardware cost — your choice).
Key Terms
| Term | What people say | What it actually means |
|---|---|---|
| Open-weight | "Open source AI" | The weights are a downloadable file. The training data and code may not be public. "Open weight" and "open source" are not synonyms. |
| Frontier | "The biggest model" | The model with the best capabilities at a given time, typically large and run by a major lab. Size correlates, but the defining trait is capability leadership, not parameter count. |
| Weights | "The brain of the model" | The millions or billions of numeric parameters learned during training. Public weights mean anyone can run the model. |
| Fine-tune | "Train the model again" | Continue training a downloaded model on your own data so it behaves the way you want. Only possible with open-weight models. |
| Quantized | "Compressed model" | The weights stored at lower precision (e.g. 4-bit instead of 16-bit) so the model fits in less memory. Slight quality loss for a big size drop. |
What this lesson skipped
Training, fine-tuning, distillation, and quantization. These are the levers that make open-weight models useful in practice — a 3B-parameter model fine-tuned on your support tickets will often beat a generic frontier model on your specific task. They are also where the real complexity lives: data pipelines, eval sets, GPU memory, and the discipline of not teaching your model to lie. Those come in later lessons. For now, the question is just: can you download it, or can you only call it?
Check yourself
4 questions. Answer before you reveal — recognising the right option is not the same as being able to produce it.
-
A colleague says an open-weight model is 'the same as open source.' What's the most accurate reply?
Show answer
B. Open-weight means the model file is downloadable; training data and code are not necessarily public
Open-weight only requires the weights to be public. Training data, training code, and the recipe used to build the model may all stay private. Conflating the two is a common mistake.
-
You need to summarise a confidential internal report. The report cannot leave the building. Which kind of model do you use?
Show answer
B. Open-weight, because the prompt stays on your machine
A frontier model sends the prompt to a remote datacenter. The constraint 'cannot leave the building' rules that out. An open-weight model running locally is the only option that satisfies the constraint.
-
Which of these is the actual defining difference between open-weight and frontier models?
Show answer
C. Whether the weights are public
The reframe: the difference is whether the weights are public. Size and quality are correlated but not definitional. A large, high-quality open-weight model is still open-weight; a smaller, hosted model is still frontier.
-
You want to fine-tune a model on your own support tickets. Which kind of model do you need?
Show answer
B. Open-weight, because fine-tuning needs access to the weights
Fine-tuning means continuing training on your own data. That requires editable weights. Frontier models ship weights you cannot download, so you cannot fine-tune them. Only open-weight models allow it.