How LLMs function, and what that means for how we work with them

A.I. isn’t magic. Learn how LLMs predict the most likely answer, how weights give words meaning, and how harnesses point a model at the work you actually do.

Pick a number between 1 and 10 and hold on to that number. Then scroll down.

What did you pick? 3? 7? 8?

When you ask people to pick a number between 1 and 10, there’s a natural statistical spread in the numbers they pick. You most likely picked 7. You could have picked 6 or 8, which are less likely. Or you might have picked another number, like 3, 5, or even 1. That variance is very human.

  • Now open Claude or ChatGPT and ask it the same question. I can almost guarantee its answer will be 7. Ask again in a new chat, and it says 7 again.

  • Springboards, an Australian A.I. company that builds creative tools for advertising teams, asked three popular models to pick a number between 1 and 10, 100 times each. Here’s how often each one said 7:

    • ChatGPT: 92 out of 100 sessions
    • Claude: 90 out of 100 sessions
    • Gemini: 100 out of 100 sessions
  • Across all three models, 7 was the answer 94% of the time (282 of 300). The other nine numbers share the last 6%.

How often people picked each number from 1 to 10 (humans, YouGov)
NumberHumans (YouGov)
12%
24%
37%
49%
58%
614%
733%
814%
96%
104%
How often each A.I. model picked the number 7 when asked for a number from 1 to 10 (Springboards, 100 sessions per model)
ModelPicked 7
ChatGPT92 out of 100
Claude90 out of 100
Gemini100 out of 100
All three combined282 out of 300 (94%)

LLMs and next-token prediction

That spike you see in the graph above is exactly how LLMs work.

An LLM (large language model) is the engine inside Claude, ChatGPT, and Gemini. It takes your prompt and calculates the most likely response, based on its training.

Humans spread their answers. That’s nuance, and it’s human.

The model learned that 7 is the most common response. But it doesn’t copy our spread. It leans hard on the single most likely answer, and it weights its output toward 7.

LLMs do this for every token (a word, part of a word, or even a single character). That essentially makes an LLM a very powerful calculator that has been trained with probabilistic weights.

When you take a step back and see LLMs this way, it really demystifies how they work and how we interact with them. It takes a bit of the magic out of the equation; LLM responses are essentially very educated guesses.

LLMs and weights

I mentioned weights above. Here’s what I mean by that:

When I say the word “Paris,” you think of a city in France, maybe the Eiffel Tower. Your mind connects those dots. To an untrained model, “Paris” is just a meaningless set of characters.

  • While training, the model reads a huge amount of text and saves what it learns as billions of numbers called weights. They capture patterns, like “Paris” usually showing up next to “France.” At a very simple level, Paris could mean Paris, Texas, or Paris, France.

  • The weights tell the model that “Paris” most likely means the one with the Eiffel Tower, where they speak French.

Every model has two parts at its core:

  1. Architecture, the computational structure of the model. Today’s LLMs use an architecture called a “transformer.”

  2. Weights, the trained relationships between data points.

LLMs and harnesses

A harness guides whatever it’s attached to so that it does a certain job. I explain this in my guide What is an A.I. harness?

Anthropic, OpenAI, and Google each wrap their models in a harness of rules, policies, and guidelines. That’s what turns a model into the Claude, ChatGPT, or Gemini app you use. These harnesses are built for general use.

For your specific task, the most likely answer may not be the correct one. A harness supplies the context that helps the model output the correct answer for your use case.

When you add your own rules, context, and processes on top of the provider harness that’s already there, it’s known as a meta harness. A meta harness can be as simple as a plugin or an agent.

A.I. is sophisticated automation

At its core, an A.I. model is a very powerful calculator with probabilistic weights that help it predict the next best answer. Harnesses give it the rules and context to respond the way your work needs.

When we build agents, harnesses, or whatever the next A.I. buzzword is, all we’re really doing is building complex, sophisticated automations.

There’s no magic here.

At the end of the day, we’re working with ones and zeros. But the beauty of those ones and zeros is that they lower the barrier to building the kinds of automations that help us work better, faster, and cheaper.

Look at your day-to-day work and how you’re using A.I. Are you creating harnesses, or are you just working with the general-purpose harness your A.I. provider gave you?

I’ve found a lot of value in building specific-purpose harnesses. For example, I built a lifecycle marketing harness for my agency, Modular Marketing. I wrote about it in Why I built an A.I. harness for my lifecycle marketing agency. I’m also building what I call an “orchestration harness.” It acts as a puppeteer, bringing in specific-use harnesses for different purposes, like a personal assistant or a LinkedIn manager.

What sorts of agents or harnesses are you working on these days?

Send me a DM on LinkedIn (opens in a new tab)