Every few months a model release dominates the technology press. A new checkpoint tops a leaderboard, a lab announces a trillion-parameter model, and someone in your organization forwards the headline with a one-line question: should we be using this model?

FIGURE 1.1 From headline to decision
Before anyone can answer, the room needs to agree on what “this model” actually is. I have watched procurement, legal, and architecture teams talk past each other for an hour because one person meant a website, another meant an API, and a third meant a file on a hard drive. I have seen a security review stall because nobody could say whether a model “remembers” the prompts it is sent, and a budget request rejected because the finance team assumed a 70-billion-parameter model needed seventy times the hardware of a one-billion-parameter one.

FIGURE 1.2 Three meanings of “the model”
This chapter strips the AI model back to its physical reality. It is the longest chapter in Part I, and it is deliberately so. Once you see a model for what it is—a very large file of learned numbers—most of the strategic questions in the rest of this book become much easier to reason about: what you are licensing, securing, paying to run, and accountable for.

FIGURE 1.3 What this chapter makes easier
We will cover, in order:
- How AI moved from hand-written rules to learned numbers
- What a neuron, a weight, and a bias actually are
- How training finds the right numbers
- Tokens: the units a language model reads and writes
- The transformer, the architecture behind every modern language model
- What “70B” means in gigabytes and GPUs
- The model lifecycle: who does what, and who pays
- Training versus inference, and why the difference matters to your risk team
- What is in an open weight release, and what is not
- Common misconceptions that derail enterprise discussions
From rules to learned numbers
Enterprise AI did not begin with large language models. For decades, “intelligent” systems were rule engines: experts wrote if-then logic for credit decisions, fraud alerts, and claims routing. Every behavior was visible in the code, and every change required a person to write a new rule. For long-time readers of www.vamsitalkstech.com, I have spent a lot of time over the last decade writing about rule engines and their applicability in enterprise architectures.

FIGURE 1.4 Rules-era systems
Each era since has moved more of a system’s behavior out of hand-written logic and into numbers learned from data.

FIGURE 1.5 Each era moved more behavior from rules into learned numbers.
- Classic machine learning (roughly the 2000s) learned patterns from labeled examples, but humans still had to engineer the features: debt-to-income ratio, transaction velocity, and days since last login.
- Deep learning (from around 2012) let neural networks learn their features from raw inputs such as images, audio, and text. The models became bigger and less interpretable.
- Transformers (introduced in 2017) made it practical to train on enormous amounts of text because their attention mechanism processes a whole sequence in parallel rather than word by word.
- Foundation models (from around 2020) built on this progress. A single model, pre-trained once at a huge cost, can be adapted to thousands of tasks it was never explicitly trained for: summarizing a contract, drafting a credit memo, writing code, and classifying a complaint.
The practical consequence for an enterprise is profound. In the rules era, your intellectual property lived in your code. In the foundation model era, the core capability lives in someone else’s numbers, and your differentiation moves to how you adapt, govern, and apply them.

FIGURE 1.6 Where differentiation moved
Neurons, weights, and biases
A large language model is a neural network. A neural network is a stack of layers of simple computing units we call neurons.

FIGURE 1.7 Layers of neurons
Each neuron does three things:
- It takes the outputs of the neurons in the previous layer and multiplies each one by a number called a weight.
- It adds those products together, plus one more number called a bias.
- It passes the result through a simple non-linear function, the activation, and hands it to the next layer.

FIGURE 1.8 One neuron: multiply, add, squash, pass it on
The intelligence, such as it is, lives entirely in the values of the weights and biases. Together they are the model’s parameters.
Why the activation function? Without it, just stacking layers would achieve nothing: a chain of weighted sums collapses mathematically into a single weighted sum. The non-linear “squash” between layers is what lets a deep network represent complicated relationships, such as the difference between “the bank approved the loan” and “the loan approved the bank.”

FIGURE 1.9 Why activation functions matter
Now scale the neuron up into a network:

FIGURE 1.10 A neural network’s parameters and what an open weight release contains
Figure 1.10 shows a toy network with three inputs, four hidden neurons, and two outputs. Every arrow is a weight. Every gray “+1” node feeds a bias into the layer after it. This small network has 26 parameters: 12 weights into the hidden layer, 8 weights into the output layer, and 6 biases. A modern frontier-class model has hundreds of billions or even trillions of them, but the principle is exactly the same.
How training finds the numbers
Nobody writes the weights by hand. A model starts with random numbers, which produce garbage, and training gradually improves them.

FIGURE 1.11 The training loop
For a language model, the loop works like this:
- Predict. Show the model a stretch of real text with the next word hidden, and let it guess.
- Compare. Measure how far the guess was from the real next word. This error is called the loss.
- Assign blame. An algorithm called backpropagation works backwards through the network and calculates, for every single weight, how much it contributed to the error.
- Adjust. Gradient descent nudges each weight a tiny amount in the direction that would have reduced the error.
Then repeat this process trillions of times, across a significant fraction of all the text ever published. No human labels any of it: the text itself supplies the right answers, which is why this is called self-supervised learning and why it scales so well.

FIGURE 1.12 Self-supervision
Three implications are worth carrying into every business conversation:
- The model does not store its training data as documents. It stores statistical regularities, compressed into weights. That said, models can memorize and reproduce passages they saw many times, which matters for copyright and for any finetuning on personal data (we will cover this in Chapter 6).
- Training is the expensive part. It is where the tens or hundreds of millions of dollars of compute go. When you download open weights, you inherit the result of that investment for free.
- Training is a one-way street. You cannot easily “remove” something a model learned, and you cannot inspect a weight and read off what it means.
Tokens: what a model actually reads
Language models don’t read words. They read tokens, which are chunks of text produced by a component called the tokenizer. A common word may be a single token; a rarer word is split into pieces; spaces and punctuation are tokens too.

FIGURE 1.13 A tokenizer turns text into a sequence of numbered pieces.
Each token maps to an ID in the tokenizer’s vocabulary, typically somewhere between 100,000 and 250,000 entries for modern models. One token is about three-quarters of an English word, so 1,000 tokens is roughly 750 words.
Tokens matter to an enterprise for four reasons:
- Cost: API pricing and self-hosted capacity are both measured in tokens, for input and output separately.
- Context window: Every model has a maximum number of tokens it can consider at once, called its context window. In late 2026, windows range from a few thousand tokens on small edge models to a million or more on flagship models. Everything the model needs to answer, including your instructions, retrieved documents, and conversation history, must fit inside it.
- Language fairness: Tokenizers that are primarily trained on English tend to split other languages into more pieces. The same sentence in Hindi or Arabic can cost several times as many tokens as in English, which affects both price and quality.
- Compatibility: A tokenizer is specific to its model. Swapping models means swapping tokenizers, which is one reason prompts and token budgets need re-testing after a model change.
The transformer
Every large modern language model, open or closed, is built on the transformer architecture. You don’t need to understand the mathematics, but it is worth knowing its parts, because they map directly onto the files you download and the hardware you buy.

FIGURE 1.14 Inside a transformer
Reading the figure from the bottom up:
- Embeddings. Each token ID is looked up in an embedding table, a giant matrix of weights that turns the ID into a long list of numbers, a vector that represents its meaning.
- Attention. In each layer, attention lets every token look at every other token in context and decide which ones matter to it. This process is how a model keeps track of which “it” refers to which noun or connects a covenant in clause 14 of a loan agreement to a definition in clause 2.
- Feed-forward blocks. After attention, each token’s vector passes through a feed-forward network, the multiply-add-activate pattern from Figure 1.8, at a very large scale. Much of what we loosely call the model’s “knowledge” is thought to live here.
- Stacking. The attention-plus-feed-forward block is repeated dozens of times; large models have 60 to more than 100 layers.
- Output. The final layer produces a probability for every token in the vocabulary. The model picks one, appends it to the text, and runs again.
That last point explains several behaviors that surprise business users. Output appears word by word because the model really does generate one token at a time. Longer answers cost more because each output token is a separate pass through the network. And the same prompt can produce different answers, because the choice from the probability distribution is usually made with some deliberate randomness, controlled by a setting called temperature. Set it near zero for consistent, deterministic-feeling behavior in extraction and classification; raise it for drafting and brainstorming.

FIGURE 1.15 Behaviors explained by token-by-token generation
Every component in the figure—the embedding table, the attention projections, the feed-forward matrices, and the output layer—is defined by weight matrices and bias vectors. The architecture describes how the numbers are wired together; the parameters are the numbers. Whoever holds those numbers holds the model.

FIGURE 1.16 Architecture versus parameters
What “70B” actually means
When a vendor says a model has 70 billion parameters, translate it into storage and hardware. Each parameter is stored at some numerical precision, and precision decides the footprint:

FIGURE 1.17 Parameters times precision
| PRECISION | BYTES PER PARAMETER | 70B MODEL WEIGHTS | TYPICAL USE |
| FP32 | 4 | ~280 GB | Training, rarely for serving |
| BF16 / FP16 | 2 | ~140 GB | Standard release format |
| INT8 / FP8 | 1 | ~70 GB | Common for production serving |
| INT4 | 0.5 | ~35 GB | Aggressive quantization, edge, and cost-sensitive use |

FIGURE 1.18 Precision decides what fits on one accelerator.
Those figures cover only the weights. Serving also needs memory for the KV cache, which is the working memory attention used for each active conversation. It grows with context length and with the number of concurrent users. A rough rule I use with clients is to add 20–30% on top of the weights for light workloads, and much more for long-context, high-concurrency ones.
The practical consequence: a 70B model at 16-bit precision does not fit on a single 80 GB accelerator. You need at least two GPUs, or quantization, before you have served a single request. Parameter count is the first number in a capacity plan, not a measure of quality.

FIGURE 1.19 Capacity starts with fit
Two further wrinkles, covered properly in Chapter 3:
- Quantization stores weights at lower precision after training. Moving from 16-bit to 8-bit roughly halves memory with little quality loss on most enterprise tasks; 4-bit halves it again but needs careful evaluation.
- Mixture-of-Experts models separate total parameters, which set the memory bill, from active parameters, which set the compute cost per token. A 1.6-trillion-parameter model that activates 49 billion parameters per token behaves very differently from a dense 1.6-trillion-parameter model.
The model lifecycle: who does what
It helps to see where the open weight release sits in the full life of a model.

FIGURE 1.20 The model lifecycle, and where your work begins
Pre-training is the expensive part. The model reads trillions of tokens of text and increasingly images, audio, and code and learns to predict the next token. Pre-training is where general knowledge and language ability come from, and it is the step that costs tens or hundreds of millions of dollars in compute.
Post-training turns a raw next-token predictor into something useful. Supervised fine-tuning shows the model examples of good instruction-following and conversation. Preference tuning (RLHF, DPO, and related methods) teaches it which of two answers people prefer, which shapes tone, helpfulness, refusals, and safety behavior. Many modern models also receive reasoning training, which teaches them to work through problems step by step before answering.

FIGURE 1.21 Post-training stages
Publishers often release more than one checkpoint:
| CHECKPOINT | WHAT IT IS | WHEN TO USE IT |
| Base | Pre-trained only; continues text rather than following instructions | Heavy domain finetuning by an experienced team |
| Instruct / chat | Post-trained to follow instructions and converse | The default starting point for almost every enterprise use |
| Reasoning | Trained to “think” before answering; slower and more token-hungry | Multi-step analysis, math, planning |
| Quantized variants | Same model stored at lower precision | Cheaper serving, after you have evaluated quality |
Picking the wrong checkpoint is one of the most common early mistakes I see. A team downloads a base model, finds it rambles instead of answering, and concludes that open weights “aren’t ready.”

FIGURE 1.22 A common checkpoint mistake
Everything to the left of the release in Figure 1.20 is fixed the moment you download. Everything to the right—how you adapt the model, where you run it, and under what controls—is your choice and your responsibility.

FIGURE 1.23 Fixed versus your choice
Training versus inference
The distinction between training and inference is the single most useful concept to give your security, risk, and legal colleagues.

FIGURE 1.24 Training writes the numbers; inference only reads them.
When you serve a model, which is called inference, the weights are frozen. Sending a prompt does not change the model. It does not learn from your data, remember yesterday’s conversation, or leak your prompts into its weights. Any “memory” a deployed system appears to have comes from software around the model: a conversation history passed back in each request or documents retrieved from a database.
This behavior has direct governance consequences:
- With a self-hosted open weight model, data sent for inference stays wherever you run it. Nothing flows back to the publisher.
- With a closed API, data handling is a matter of contract: retention, logging, and whether prompts may be used for training are all terms to negotiate and verify.
- Finetuning is training. The moment you fine-tune on your data, your data shapes the weights, and the resulting model becomes a sensitive artifact that must be protected like the data itself.
What’s actually in the box?
Download an open-weight model from a hub, and you receive a folder, not an application. It typically contains:
- Weight files, usually in the safetensors format and split into multiple shards for large models
- A configuration file that describes the architecture: number of layers, attention heads, context length
- A tokenizer and its vocabulary
- A chat template that defines how system instructions, user messages, and model replies are formatted, which matters more than most teams expect
- Generation defaults such as temperature and stop tokens
- A model card describing intended use, evaluations, and known limitations
- A license, which, as Chapter 2 explains, is the most important file in the folder
What you usually don’t get is just as important: the training data, the full training code and recipe, the preference data used for alignment, and the publisher’s internal evaluation suite. You can run, inspect, and adapt the model. You generally can’t reproduce it or audit exactly what it learned from.

FIGURE 1.25 What you can and cannot do
To actually use the folder, you also need software the publisher doesn’t ship: an inference engine to serve it (Chapter 9) and an application, gateway, and guardrails around it (Chapter 8).

FIGURE 1.26 Software around the folder
Why holding the weights changes everything
With a closed model, you rent access to a capability. The provider decides which version you get, where it runs, how much it will cost next quarter, and when it will be retired. With an open weight model, you hold an asset.

FIGURE 1.27 Holding the weights gives you four rights and one obligation.
That single difference creates every advantage and every obligation that the rest of this book explores:
- You can run it anywhere: on-premises, in your own cloud account, at the edge, or in an air-gapped facility.
- You can adapt it: fine-tune it on your data, distill it into something smaller, and quantize it to fit cheaper hardware.
- You can pin it: freeze an exact version for as long as your validation and audit processes need.
- You can inspect it: probe its behavior, red-team it, and benchmark it on your own workloads.
- And you own the consequences: securing it, serving it, patching it, and answering for it.
Seven misconceptions that derail enterprise discussions
In our experience, these come up in almost every first meeting. Clearing them early saves weeks.
| MISCONCEPTION | REALITY |
| “The model learns from our prompts.” | Inference never changes the weights. Learning only happens if someone deliberately finetunes. |
| “The model contains a database of documents.” | It stores compressed statistical patterns. It can recall facts and sometimes memorized passages, but it is not a searchable archive, and it can be confidently wrong. |
| “A bigger model is always better.” | Bigger models know more, but a smaller, fine-tuned model often beats a larger general one on a narrow task at a fraction of the cost. |
| “Parameter count tells you what hardware you need.” | Precision, the KV cache, context length, concurrency, and Mixture-of-Experts all change the answer. |
| “Open weight models phone home to the publisher.” | The weights are inert numbers. Telemetry, if any, comes from surrounding software you choose to run. |
| “The model knows today’s facts.” | It knows what was in its training data, up to a cutoff date. Current or private facts must be supplied through retrieval. |
| “If it sounds confident, it’s correct.” | Models generate the most plausible text, not verified truth. Grounding, citation, and evaluation are your controls (Chapters 8 and 10). |
Key terms from this chapter
| TERM | PLAIN-ENGLISH MEANING |
| Parameter | One learned number in the model (a weight or a bias) |
| Weight / bias | Numbers that scale and shift signals passing between neurons |
| Training | Adjusting parameters to reduce prediction error; expensive and done once |
| Inference | Running a trained model to produce output; weights stay frozen |
| Token | A chunk of text, roughly three-quarters of a word, that the model reads and writes |
| Context window | The maximum number of tokens the model can consider at once |
| Transformer | The architecture behind modern language models: attention plus feed-forward layers, stacked |
| KV cache | Working memory used during inference, growing with context length and users |
| Quantization | Storing weights at lower precision to save memory and cost |
| Base/instruct checkpoint | A raw pre-trained model versus one post-trained to follow instructions |
ARCHITECT’S NOTES
|
QUESTIONS FOR YOUR LEADERSHIP TEAM
|
CHAPTER TAKEAWAY
A model is a file of learned numbers, produced by an expensive training process and then frozen. Whoever holds the file holds the model, along with every right and responsibility that comes with it.
