Start here
The four ideas every AI user should understand first.
The Model and the Assistant Are Not the Same Thing
The model creates language. The surrounding app supplies the interface, memory, documents, tools, and safety controls.
A large language model, or LLM, is trained on large amounts of text so it can learn patterns in language. Training is the long process that creates its learned settings. Using the finished model to answer a prompt is called inference.
The chatbot you open is more than that model. Its application may remember parts of the conversation, search documents, browse the web, call tools, or ask for approval. Those abilities come from the whole system—not from the language model alone.
Tokens
The small pieces of text a language model processes.
Language models do not receive sentences exactly as we see them. The chatbot first splits text into pieces called tokens. A token can be a whole word, part of a word, punctuation, or another recurring text pattern. The word unbelievable, for example, might be split into several pieces—but the exact split depends on the model.
Models also produce answers token by token. That is why answers appear gradually and why services often measure limits and usage in tokens rather than words.
Context Window
How much information the model can consider for one response.
The context window includes the current prompt, relevant earlier messages, instructions, and any documents or tool results supplied to the model. It is measured in tokens and has a fixed maximum size.
When a conversation grows beyond that limit, the application must decide what to keep. It may remove older material, summarize it, or retrieve relevant details again. Different AI products handle this differently.
Hallucinations
When an AI produces plausible language that is unsupported, incorrect, or invented.
A language model is designed to produce a likely continuation—not to guarantee that every statement is true. It can invent a statistic, citation, event, explanation, or source while sounding completely confident.
Hallucinations are not limited to obscure questions, and confidence is not evidence. Verify important medical, legal, financial, safety, and factual claims with trustworthy sources.
Using AI in practice
How applications add knowledge, tools, repeatable methods, and multi-step work.
RAG (Retrieval-Augmented Generation)
Looking up relevant material before composing an answer.
With RAG, an application searches a selected collection—such as company policies, product manuals, or support articles—before asking the model to answer. The retrieved passages are added to the model's context so it can use information that was not stored reliably in its learned settings.
Many RAG systems create numerical "meaning fingerprints" for passages—these are called embeddings. They help the system find related passages even when the wording is different. Embeddings are explained in more detail in the optional "Under the hood" section. Good retrieval can make answers more current and traceable, but poor sources or the wrong passage can still produce a bad answer.
MCP (Model Context Protocol)
A standard way for compatible AI applications to connect to tools and data sources.
A model by itself cannot open your calendar, read a company file, or update a project board. An AI application needs a connector that describes the available tools and how to call them. MCP provides a shared set of connection rules—a protocol—for doing that.
Compatibility is only one part of the story. The connector, application, permissions, and approval flow determine what the assistant may actually access or change. MCP does not automatically make every connection safe or make every tool work with every AI product.
Agents
AI systems that can plan and perform several steps toward a goal.
An agent repeatedly works through a simple cycle: understand the goal, choose a next step, use an allowed tool, inspect the result, and decide what to do next. That can support work such as researching several sources, organizing files, or writing and testing code.
Agents can still misunderstand the task, choose a poor step, fail to finish, or require human approval. Good agent systems limit permissions, record what happened, and pause before consequential actions.
Skills
Reusable playbooks that help an AI assistant handle a particular task consistently.
In some AI products, a skill is a package of instructions, examples, templates, and sometimes supporting scripts for a specific kind of work. A report-writing skill might define the expected sections, tone, review checks, and output format.
"Skill" is not one universal technical standard; products may use different names and packaging. The underlying idea is consistent: give the assistant a repeatable method instead of making it improvise every step.
Local and Smaller Models
Models designed to run on ordinary devices or use fewer computing resources.
A local model runs on your own computer or phone instead of sending every prompt to a remote model service. When both the model and its surrounding application operate fully offline, prompts and responses can remain on the device. Some local applications still use cloud tools, updates, or send usage data, so check the product's settings and documentation.
Smaller models are easier to run locally. Quantization stores learned numbers with less precision. Distillation trains a smaller student model with guidance or examples from a larger teacher, often alongside other data. Pruning removes parts that contribute little under the chosen method.
How models are made smaller
Under the hood
A little more detail for readers curious about what happens inside the model.
Token IDs and Embeddings
Turning pieces of text into number-based representations the model can calculate with.
Each token is assigned an integer called a token ID. The ID is an address in the model's list of known tokens, not a measure of meaning. The system uses that address to look up an embedding: a list of numbers that the model can process.
Initial embeddings capture learned relationships between tokens. Later processing layers then build richer representations based on the surrounding text. The representation of "bank" can therefore develop differently in "river bank" and "savings bank." Most internal computation happens on these lists of numbers—not directly on the token ID.
From an ID to a meaning-rich representation
Learned Weights and Parameters
The adjustable numbers learned during training—and the count used to describe model size.
During training, the system repeatedly adjusts large collections of numbers called learned weights so its predictions improve. These include the embedding table and other large grids of numbers used throughout the model. Training mainly captures statistical patterns, although models can sometimes memorize details or passages from their data.
A parameter is one adjustable value in the model. Parameter count is therefore a rough measure of model size. More parameters can provide more capacity, but architecture, data, training, tools, and task fit also matter. A smaller model can outperform a larger one on a particular job.
What parameter count means
Attention Scores and Transformers
How a language model connects each token with the earlier context that matters.
A transformer is the main design behind today's large language models. It processes text through a series of layers that gradually build a richer understanding of the prompt.
Within those layers, attention scores influence how strongly one token draws on other available tokens. In a text-generating model, a position cannot use future tokens that have not been generated yet. The model performs several attention calculations in parallel so it can notice different kinds of relationships. When producing an answer, it still generates one token at a time.