Skip to main content

Guides

Local AI Glossary

A GGUF is a model file. VRAM is graphics memory. An embedding helps find text. Look up the term you see in your app and what it changes about the next step.

By Updated 9 min read

Use this glossary when a guide mentions model size, quantization, context length, RAM, VRAM, embeddings, or RAG.

Core terms

Hybrid models combine attention with recurrent state, so conversation memory grows differently from a dense transformer. Mixture-of-experts models activate fewer parameters per token, but full loaded weight files count toward memory. The Qwen3.5 4B package includes Q4_K_M weights and a BF16 image projector: one compression label does not cover every component. Text, image and audio support depend on the exact package and runner.

TermPlain-English meaningWhy it matters
Local AIAn AI workflow where some or all processing happens on hardware you control.A local app can still call cloud services, so check the full workflow.
Local LLMA language model file running through a local runtime or app.The model may stay local, but tools, embeddings, updates, or web features can still use the network.
Model runner (runtime)Software that loads and runs model files.Ollama and llama.cpp are model runners; interface apps may use a model runner underneath.
Desktop appA graphical app for local AI workflows.A desktop app can be easier than a terminal, but privacy still depends on providers and settings.
Model fileThe downloaded weights used to generate responses.File size, format, license, and quantization affect what can run on your machine.
ParametersLearned numerical values in the model. Their count, often written as 3B or 7B (billions), is a rough size indicator.Larger models usually need more memory and storage. Bigger is not automatically better for a beginner setup.
Model compression (quantization)A way to store model weights with fewer bits, often shown as Q4, Q5, or Q8.Lower-bit quantization can reduce memory use, often with quality tradeoffs.
Context lengthHow much text the model can consider at once.Long context can use much more memory, especially during document chat.
RAMGeneral system memory.CPU-only and many app workflows use RAM, and the operating system needs some too.
VRAMDedicated GPU memory.GPU-accelerated local AI is often limited by dedicated VRAM, not just total system RAM.
Unified memoryA shared memory pool accessible to the CPU and GPU, used by Apple Silicon and some other integrated designs.The OS, apps, and model share available capacity; it is not a separate dedicated VRAM pool.

Model and execution terms

TermPlain-English meaningPractical consequence
TokenA unit of text handled by a model, often a word fragment or punctuation.Token counts vary by tokenizer; use the token counter when planning context.
InferenceRunning a trained model on an input to produce an output.Downloading weights is separate from running them.
GGUFA file format containing model weights and metadata for compatible runners such as llama.cpp.Match the architecture and compression to the runner; the extension alone does not prove support.
MLXApple's array framework used by some model runners on Apple Silicon.An MLX model download differs from a GGUF download; choose the format your app supports.
Conversation memory (KV cache)Attention keys and values retained while processing context.It consumes working memory, not saved-chat disk space; see memory requirements.
KV-cache precisionThe numeric format used for that conversation memory.It is separate from weight quantization: Q4 weights do not imply a four-bit cache.
Instruct / baseAn instruction-tuned model is adapted to follow requests; a base model primarily continues text.Use the intended variant and chat template; base coding models can suit completion without being chat assistants.
Mixture of experts (MoE)A model routes each token through a subset of expert weights.Active parameters describe computation; total loaded weights still determine much of the memory requirement.

Document-chat terms

TermPlain-English meaningWhy it matters
EmbeddingsNumeric representations of text used for search and retrieval.If embeddings are created by a cloud provider, document text may leave your machine.
RAGRetrieval augmented generation: search documents first, then send relevant text to the model.RAG can help with PDFs, but it can still retrieve the wrong chunks or miss important context.
ChunkingSplitting documents into smaller pieces for retrieval.Bad chunking can make answers incomplete or misleading.
Vector databaseStorage used to search embeddings.It may be local or remote depending on the app and configuration.
OCROptical character recognition for scanned or image-heavy PDFs.A model cannot answer from text it never receives; scanned PDFs may need OCR first.
CitationA pointer to a retrieved document passage or source.Treat citations as pointers, not proof. Always check the original document.

Privacy and setup terms

TermPlain-English meaningWhy it matters
Local providerA model or embedding provider running on your machine.This is usually required for a local-only workflow.
Hosted providerA cloud API or remote model service.Prompts, files, or document chunks may leave your machine.
Local serverA service running on your computer that other apps can connect to.If exposed to the network, the risk profile changes.
TelemetryUsage or diagnostic data sent by an app.Review privacy settings before using sensitive files.
BenchmarkA measured performance result from a specific machine, model, and setup.A memory estimate is not a measured speed result.
CompatibilityWhether a setup works with a specific model, runtime, operating system, and hardware.Compatibility cannot be guaranteed from RAM or VRAM alone.

Tools and connections

TermPlain-English meaningWhy it matters
MCP (Model Context Protocol)An open standard that lets an AI app connect to outside tools and data. The app is the host. It runs one client for each connection, and the server is the program that provides the files, web pages or other service.A local model can use MCP only if the app supports it and the model can call tools. See the MCP guide.
Tool callingThe model asks the app to run a named function, such as searching files, with arguments the model chooses. The app, not the model, runs it and returns the result.Models differ in how reliably they call tools. Test with harmless data first.
AgentAn app that lets a model take several steps on its own, such as reading files and running tools, until a task is done.Agents can reach files and the network, so a local model does not by itself mean local data.
OpenAI-compatible APIA local server that accepts requests in the same format as OpenAI's API (for example POST /v1/chat/completions), so tools written for that API can point at a local address instead.Compatibility covers particular endpoints, not every feature.
Localhost (127.0.0.1)The address a computer uses to refer to itself. A service bound only to it accepts connections only from that computer.Inside a Docker container, localhost means the container, not your computer.
Decision modelA small model used to pick a label, answer yes or no, or score text, rather than to write replies.Ollama offers these through its /v1/systemone endpoint.

Model types and names

TermPlain-English meaningWhy it matters
Reasoning (thinking) modelA model that writes out intermediate reasoning before its answer.It spends more output tokens, and some apps hide that text or show it separately.
Open weightsThe trained model files are published for download.This is not the same as open source: the license still sets the terms.
Effective parameters (Gemma E2B, E4B)The count of parameters used in computation, not the size of the download.The download can be larger than the name suggests: the Ollama E2B Q4_K_M download is about 4.6 GB.
Harmony formatThe message format gpt-oss uses to separate system, user, assistant and tool messages.Apps normally apply it for you.
Bidirectional encoderA model that reads text in both directions to produce labels or embeddings.It does not write chat replies.
QAT (quantization-aware training)Training the model knowing it will later be stored in 4-bit.It usually loses less quality than a model compressed after training.

Search and ranking terms

TermPlain-English meaningWhy it matters
RerankerA second, smaller model that reorders the passages a search found so the best ones reach the answer model first.It adds work and one more model to check. Use it after basic search works.
NDCG@10A score from 0 to 1 for how well the top 10 search results are ordered; 1 means the best results come first.Model cards use it to compare search and embedding models.
Recall@20The share of the relevant documents that appear in the top 20 results.A high score means the right passage is usually among the results, not that it comes first.
Late interaction (MaxSim)ColBERT keeps multiple vectors for each passage. For each query token, it finds the best match among the passage's token vectors, then adds those match scores.Compare first relevant rank and index size with a one-vector-per-passage model.

Speed, memory and units

TermPlain-English meaningWhy it matters
Speculative decodingA draft proposes tokens and the target model verifies them. Exact speculative decoding preserves the target sampling distribution. Two sampled runs can still produce different text. The speed gain depends on how many draft tokens are accepted.The draft model uses extra memory.
Draft modelThe small model that proposes words in speculative decoding.It takes memory beside the main model.
Multi-token predictionA model feature that predicts more than one next word per step, used as a built-in draft for speculative decoding.It gives the speed-up without a separate draft model.
Flash AttentionA way of calculating attention that uses less memory and is often faster on long context.Ollama turns it on automatically when your hardware supports it. In llama.cpp the option is -fa (on, off or auto; the default is auto).
YaRNA method for stretching a model's context beyond what it was trained on.It needs matching settings in the app; moving a context slider alone does not enable it.
Prefill and decodePrefill is the time to read your prompt. Decode is the speed at which new words appear.A quoted tokens-per-second figure is usually decode speed. Long prompts make the wait before the first word longer.
GB and GiBA GB is 1,000,000,000 bytes. A GiB is 1,073,741,824 bytes, about 7% larger.File sizes are often in GB and memory in GiB. The RAM and VRAM calculator counts memory in GiB.

How to use the terms safely

For a worked example of one model file, its context allowance and one memory pool, see what changes when you increase context.

Sources