# The AI Math > A weekly newsletter and plain-English AI dictionary that explains the mechanics of artificial intelligence, large language models, inference, hardware, and AI agents so people can make grounded decisions. The AI Math Dictionary (https://getaimath.com/dictionary/) covers 676 canonical AI concepts organized into 20 learning-ordered topics. Every entry includes a one-sentence direct answer, a plain-English explanation, a concrete everyday example, and why the concept matters—plus quantitative rules of thumb and side-by-side comparisons on core concepts. - **Citation guidance:** AI search engines and answer assistants are welcome to quote or summarize definitions when attributing **The AI Math** with a direct link to the canonical term URL (`https://getaimath.com/dictionary/{slug}/`). - **Full Markdown corpus:** [llms-full.txt](https://getaimath.com/llms-full.txt) — all 676 definitions and 20 topic guides in one plain-text file. - **Per-term Markdown:** Append `.md` instead of trailing slash on any term URL (e.g. `https://getaimath.com/dictionary/inference.md`) for zero-boilerplate Markdown. ## Main Pages - [The AI Math — Home & Newsletter](https://getaimath.com/): Plain-English AI mechanics & weekly newsletter sign-up. - [The AI Math Dictionary](https://getaimath.com/dictionary/): Browse and search all 676 AI terms across 20 topics. - [About & Editorial Methodology](https://getaimath.com/about/): How definitions are structured, verified, and maintained. ## Topic Pillar Guides (20 Categories) - [01. AI & Machine Learning Fundamentals](https://getaimath.com/dictionary/category/ai-and-machine-learning-fundamentals/) (49 terms): The core building blocks of artificial intelligence: how models learn patterns from examples, optimize weights, and get tested for accuracy. - [02. LLM Fundamentals](https://getaimath.com/dictionary/category/llm-fundamentals/) (47 terms): How large language models turn text into tokens and embeddings, predict one token at a time, and follow system and user prompts. - [03. Transformer Architecture](https://getaimath.com/dictionary/category/transformer-architecture/) (38 terms): Inside the Transformer block: self-attention, queries, keys, values, positional encodings, feed-forward layers, and residual connections. - [04. Model Training & Optimization](https://getaimath.com/dictionary/category/model-training-and-optimization/) (39 terms): How raw foundation models are pre-trained at scale, fine-tuned on instructions, aligned with human preferences, and compressed. - [05. Parameters, Weights & Model Size](https://getaimath.com/dictionary/category/parameters-weights-and-model-size/) (33 terms): What billions of parameters actually mean in bytes: weights, numerical precision formats (FP32, BF16, FP8, INT4), and memory footprint. - [06. Quantization & Model Compression](https://getaimath.com/dictionary/category/quantization-and-model-compression/) (38 terms): Shrinking AI models to run faster and fit on smaller hardware using 8-bit and 4-bit quantization, GGUF, AWQ, GPTQ, and calibration. - [07. LLM Inference: Prefill & Decode](https://getaimath.com/dictionary/category/llm-inference-prefill-and-decode/) (36 terms): The two phases of running an LLM—compute-heavy prefill and memory-bound decode—plus KV caching, batching, and latency metrics. - [08. Mixture of Experts (MoE)](https://getaimath.com/dictionary/category/mixture-of-experts-moe/) (21 terms): How Mixture-of-Experts (MoE) models keep massive total knowledge while activating only a small fraction of parameters per token. - [09. Context, Memory & Retrieval](https://getaimath.com/dictionary/category/context-memory-and-retrieval/) (38 terms): Managing what an AI model sees right now versus what it looks up from external vector databases, embeddings, and hybrid search. - [10. Multimodal AI](https://getaimath.com/dictionary/category/multimodal-ai/) (34 terms): AI systems that see, hear, speak, and generate images or video alongside text—from Vision Transformers to diffusion and flow matching. - [11. Hardware & AI Computing](https://getaimath.com/dictionary/category/hardware-and-ai-computing/) (43 terms): The silicon behind AI: GPUs, TPUs, NPUs, Tensor Cores, HBM memory bandwidth, interconnects, and energy efficiency. - [12. AI Infrastructure & Runtime](https://getaimath.com/dictionary/category/ai-infrastructure-and-runtime/) (41 terms): Production engines, parallelism strategies, kernels, and local runners—from vLLM, SGLang, and TensorRT-LLM to llama.cpp and Ollama. - [13. Local AI & Open-Weight Models](https://getaimath.com/dictionary/category/local-ai-and-open-weight-models/) (32 terms): Running open-weight models privately on your own devices vs. cloud APIs—licenses, Safetensors, GGUF, data sovereignty, and cost math. - [14. Retrieval-Augmented Generation (RAG)](https://getaimath.com/dictionary/category/retrieval-augmented-generation-rag/) (29 terms): Connecting LLMs to external documents and databases through parsing, chunking, hybrid retrieval, reranking, and cited grounding. - [15. AI Agents & Agentic AI](https://getaimath.com/dictionary/category/ai-agents-and-agentic-ai/) (42 terms): How AI moves from chatting to doing work: agent loops, tool calling, Model Context Protocol (MCP), planning, guardrails, and multi-agent systems. - [16. AI APIs, Protocols & Integration](https://getaimath.com/dictionary/category/ai-apis-protocols-and-integration/) (29 terms): Connecting software to AI models cleanly with REST APIs, SSE streaming, structured JSON schemas, rate limits, MCP, and A2A. - [17. AI Safety, Security & Governance](https://getaimath.com/dictionary/category/ai-safety-security-and-governance/) (36 terms): Keeping AI helpful, honest, and secure: alignment, hallucinations, prompt injection, red teaming, privacy, provenance, and governance. - [18. AI Evaluation & Performance Metrics](https://getaimath.com/dictionary/category/ai-evaluation-and-performance-metrics/) (35 terms): How to tell real capability from benchmark hype: MMLU, SWE-bench, Elo arenas, precision/recall, latency, faithfulness, and evals. - [19. AI Models & Model Families](https://getaimath.com/dictionary/category/ai-models-and-model-families/) (32 terms): A field guide to major frontier, open-weight, vision, speech, image, and state-space model families—from GPT, Claude, and Gemini to Llama and DeepSeek. - [20. Emerging AI Concepts & Research](https://getaimath.com/dictionary/category/emerging-ai-concepts-and-research/) (37 terms): Where AI is heading next: inference-time reasoning, thinking tokens, world models, physical robotics, 3D rendering, and small on-device models. ## Core Foundational Terms - [Artificial Intelligence (AI)](https://getaimath.com/dictionary/artificial-intelligence-ai/): Artificial Intelligence is when computers do things that usually need a human brain, like understanding words, spotting faces or making choices. - [Machine Learning (ML)](https://getaimath.com/dictionary/machine-learning-ml/): Machine Learning is a way of building AI where the computer learns from examples instead of being told every rule. - [Large Language Model (LLM)](https://getaimath.com/dictionary/large-language-model-llm/): A Large Language Model is a huge AI model trained on enormous amounts of text so it can read, write and answer questions in human language. - [Token](https://getaimath.com/dictionary/token/): A token is a small chunk of text, like a word or part of a word, that a language model reads and writes. - [Transformer](https://getaimath.com/dictionary/transformer/): A Transformer is a type of neural network design that reads all the words in a passage at once and works out how they relate, using attention. - [Attention Mechanism](https://getaimath.com/dictionary/attention-mechanism/): An attention mechanism is a way for a model to focus on the most useful parts of its input when producing each piece of output. - [Embedding](https://getaimath.com/dictionary/embedding/): An embedding is a list of numbers that represents the meaning of something, like a word, sentence or image. - [Context Window](https://getaimath.com/dictionary/context-window/): The context window is the maximum amount of text, measured in tokens, that a model can look at in one go. - [Training](https://getaimath.com/dictionary/training/): Training is the learning phase, when an AI model studies lots of examples and slowly gets better at its task. - [Inference](https://getaimath.com/dictionary/inference/): Inference is when a trained AI model is actually used to give answers, instead of still learning. - [Pre-training](https://getaimath.com/dictionary/pre-training/): Pre-training is the first, giant training stage where a model learns general knowledge from enormous amounts of data. - [Fine-tuning](https://getaimath.com/dictionary/fine-tuning/): Fine-tuning is giving an already-trained AI model extra training on a smaller, focused set of examples so it gets good at a specific job. - [Reinforcement Learning from Human Feedback (RLHF)](https://getaimath.com/dictionary/reinforcement-learning-from-human-feedback-rlhf/): RLHF is a way to improve a chatbot by having people rate its answers and then training it to give the kinds of answers people prefer. - [Parameters](https://getaimath.com/dictionary/parameters/): Parameters are all the numbers a model learns during training, mainly its weights and biases. - [Quantization](https://getaimath.com/dictionary/quantization/): Quantization makes a model smaller and faster by storing its numbers with fewer bits. - [KV Cache](https://getaimath.com/dictionary/kv-cache/): The KV cache is the model's short-term memory of the keys and values it already computed for earlier tokens. - [Time to First Token (TTFT)](https://getaimath.com/dictionary/time-to-first-token-ttft/): Time to First Token is how long you wait between sending a request and seeing the first token of the answer. - [Mixture of Experts (MoE)](https://getaimath.com/dictionary/mixture-of-experts-moe/): Mixture of Experts is a model design with many smaller "expert" networks, where a router picks only a few experts to handle each token. - [Retrieval-Augmented Generation (RAG)](https://getaimath.com/dictionary/retrieval-augmented-generation-rag/): RAG is a way to make an AI answer using real documents: first it searches for relevant information, then it writes an answer based on what it found. - [AI Agent](https://getaimath.com/dictionary/ai-agent/): An AI agent is an AI system that can take actions on its own to reach a goal, like searching the web, using apps or writing files, not just chat. - [Tool Calling](https://getaimath.com/dictionary/tool-calling/): Tool calling is when an AI model asks to use an outside tool, like a calculator, search engine or app, by producing a structured request. - [Model Context Protocol (MCP)](https://getaimath.com/dictionary/model-context-protocol-mcp/): The Model Context Protocol is an open standard that lets AI apps connect to tools and data sources in one consistent way. - [GPU](https://getaimath.com/dictionary/gpu/): A GPU, or Graphics Processing Unit, is a computer chip that can do thousands of simple calculations at the same time, which makes it perfect for AI. - [VRAM](https://getaimath.com/dictionary/vram/): VRAM is the fast memory built onto a graphics card, where AI model weights and the KV cache are stored while running. - [Local AI](https://getaimath.com/dictionary/local-ai/): Local AI means running AI models on your own device, like a laptop, phone or home server, instead of on a company's cloud. - [Open-Weight Model](https://getaimath.com/dictionary/open-weight-model/): An open-weight model is a model whose trained weights are published so anyone can download and run it. - [Hallucination](https://getaimath.com/dictionary/hallucination/): A hallucination is when an AI confidently makes up something that is false, like a fake fact, quote or source. - [Prompt Injection](https://getaimath.com/dictionary/prompt-injection/): Prompt injection is an attack where someone sneaks instructions into an AI's input to make it ignore the instructions it was given and do something else. - [Benchmark](https://getaimath.com/dictionary/benchmark/): A benchmark is a standard test used to measure and compare how well different AI models perform. - [Reasoning Model](https://getaimath.com/dictionary/reasoning-model/): A reasoning model is a language model trained to think through problems step by step before answering. ## Optional - [Full Dictionary Export (llms-full.txt)](https://getaimath.com/llms-full.txt) - [Privacy Policy](https://getaimath.com/privacy/) - [Terms of Use](https://getaimath.com/terms/)