Lessons and outlineLesson 10 of 11

AI Concepts in PicturesLesson 10

18 min read

Open, Closed, Small and Local Models

Where models run, what each choice costs, and how to choose.

In plain English

Closed models are rented from a provider. They are strong and easy, but data leaves your systems. Open-weight models can run on your own machines, with more control and more work. Small models are fast and cheap. Many products route easy jobs to small models.

Open-weight
A model whose learned numbers are published for you to run.
Local
Running on your own device, not over the internet.
Routing
Sending easy requests to a cheap model and hard ones to a strong one.
Picture it
Rent or run it yourself
Closed model
  • Rented from a provider
  • Strong and easy to start
  • Data leaves your systems
  • Cost grows with use
Open or local model
  • You run it yourself
  • More control and privacy
  • Needs computers and people
  • Cost is mostly fixed
Try it yourself
Closed, open or small?

Choose the best way to run each job.

  • A public FAQ bot, with nothing sensitive, needed this week.

  • Hospital notes that must stay on our own servers.

  • Sorting thousands of short messages cheaply.

  • Rare, hard questions that need the strongest answers.

  • An app that must work offline on a phone.

0 of 5 right

Layer 6 is about running AI for real. The first choice is which model, and where it runs. You can rent a model from a company through the internet. Or you can run one yourself. Each way has trade-offs. This lesson gives you a simple way to choose.

Closed models: rent from a provider

  • You send text over the internet. The provider runs the model.
  • Often the strongest and easiest to start with.
  • You pay for use. Costs grow with traffic.
  • Your data goes to the provider, so check privacy terms.
  • The provider can change or retire a model.

Open-weight models: run it yourself

Some companies publish the model's weights, the numbers it learned. You can download and run them. People often call these open models. The licence still matters. Some allow business use. Some do not. Read it.

  • You control the data. It can stay on your own machines.
  • You can tune the model for your job.
  • You need computers and people to run it.
  • Quality may trail the best closed models, though the gap changes.

Small language models

A small model has far fewer parameters. It is faster and cheaper. It is often good enough for narrow jobs, such as sorting messages or extracting fields. With tricks from lesson three, such as quantization, a small model can run on a laptop or phone.

Picture it
Which way to run?
Your need
Pick the main driver
Best quality, fast start
Closed model from a provider
Data must stay with you
Open-weight or local model
Cheap, fast, narrow task
Small model

Running locally

Local means on your own device. There are tools that make this easy for a home computer. Local gives privacy and works offline. The trade-off is speed and quality, which depend on your hardware.

Questions to ask

  • How sensitive is the data? Can it leave our systems?
  • How hard is the task? Does it need the strongest model?
  • How much traffic? Rented costs rise with use. Your own costs are mostly fixed.
  • Who will run and fix it?
  • What happens if the provider changes the price or the model?

It can be a mix

Many products use several models. A small model handles easy requests. A strong model handles hard ones. This is called routing. It keeps quality high and cost low.

routing-notes.txt
Easy question (reset password)  -> small, cheap model
Hard question (contract advice) -> strong model, plus a human check
Private records                 -> model that runs on our own servers

A small example

A hospital wants an assistant to summarize notes. The notes are private. Sending them to an outside provider may break its rules. So the hospital runs an open-weight model on its own servers. A small clinic with public information might choose the opposite. It rents a closed model, because the data is not sensitive and the setup is quick.

→Test two or three models on your own test sheet before you decide. Public rankings may not match your task.
⚠Free to download does not mean free to run. Computers, power and people cost money.
Key takeaways
  • ✓Closed models are rented from a provider. They are strong and easy, but data leaves your systems.
  • ✓Open-weight models can be run by you, with more control and more work.
  • ✓Small models are fast and cheap, and good for narrow jobs.
  • ✓Local running gives privacy and offline use, with limits from your hardware.
  • ✓Many products route easy jobs to small models and hard jobs to strong ones.
Hands-on exercise

Choose for three jobs

  1. Write three jobs: a public FAQ bot, an internal HR helper and a message sorter.
  2. Pick closed, open, small or local for each, and say why.
  3. Write one cost and one risk for each choice.
  4. Mark the job where you would use routing.
Check yourself
Q1What does open-weight mean?show answer

The learned numbers of the model are published, so you can run it yourself, under its licence.

Q2When is a small model a good choice?show answer

For narrow, high volume jobs, where speed and cost matter more than top quality.

Q3What is routing?show answer

Sending easy requests to a cheap model and hard ones to a strong model.

0 / 11 finished0%