Dictionary

LLM & AI Glossary

The vocabulary you meet on provider pages and in model cards, explained in plain English.

A

API (Application Programming Interface)

Category: General

A set of protocols and tools that allows different software applications to communicate with each other. In the context of LLMs, an API lets developers send text prompts to a language model and receive generated responses without needing to host the model themselves.

Example: The Groq API allows you to send a request with a prompt and receive AI-generated text in response via HTTP.

Attention Mechanism

Category: Architecture

A neural network component that allows the model to focus on relevant parts of the input when generating output. The "attention" mechanism helps the model understand which words or tokens are most important for a given context.

Why it matters: Attention is the core innovation behind Transformer models (like GPT and BERT), enabling them to process longer sequences and understand context better than previous architectures.

Autoregressive Model

Category: Model Type

A model that generates text one token at a time, using previously generated tokens as input for the next prediction. Most modern LLMs (GPT, Llama, Claude) are autoregressive.

B

BERT (Bidirectional Encoder Representations from Transformers)

Category: Model Architecture

A transformer-based model developed by Google that processes text bidirectionally (understanding context from both left and right). Unlike GPT, BERT is primarily used for understanding tasks (classification, Q&A) rather than generation.

Use Cases: Search engines (Google uses BERT), sentiment analysis, named entity recognition

Bias (AI)

Category: Ethics

Systematic errors or unfair tendencies in AI model outputs, often reflecting biases present in training data. Can manifest as gender, racial, or cultural stereotypes.

BPE (Byte-Pair Encoding)

Category: Tokenization

A tokenization algorithm that breaks text into subword units. Commonly used in modern LLMs to handle rare words and multiple languages efficiently.

C

Chain-of-Thought (CoT) Prompting

Category: Prompting Technique

A prompting method that encourages the model to "think step-by-step" by explicitly showing its reasoning process before arriving at an answer. Often improves results on complex reasoning tasks.

Prompt: "Calculate 47 × 23 step by step."

Response:
Step 1: 47 × 20 = 940
Step 2: 47 × 3 = 141  
Step 3: 940 + 141 = 1,081
Final Answer: 1,081

Chatbot

Category: Application

A program that talks with users in natural language. Older chatbots followed fixed rules; current ones put an LLM behind the conversation.

Context Window

Category: Model Specification

The maximum number of tokens (words/pieces) a model can process in a single request, including both input and output. Measured in tokens (e.g., 4K, 32K, 128K, 1M).

4K
~3,000 words
Original GPT-3.5 (2022)
128K
~96,000 words
Most open models (GPT-OSS, Qwen, GLM)
1M
~750,000 words
Gemini Flash models

D - E

Decoder-Only Architecture

Category: Architecture

A type of transformer that only uses the decoder component (no encoder). GPT, Llama, and most modern LLMs use this architecture, optimized for text generation.

Embedding

Category: Representation

A numerical representation of text (words, sentences, or documents) as vectors in high-dimensional space. Words with similar meanings have similar embeddings.

Example: "king" and "queen" would have embeddings that are close together in vector space.

Encoder-Decoder Architecture

Category: Architecture

A transformer architecture with separate encoder (processes input) and decoder (generates output) components. Used in translation models like T5 and BART.

F - G

Few-Shot Learning

Category: Training Method

The ability of a model to learn from a small number of examples (typically 2-10) provided in the prompt, without additional training.

Example: Providing 3 examples of sentiment classification before asking the model to classify a new sentence.

Fine-Tuning

Category: Training Method

The process of taking a pre-trained model and further training it on a specific dataset to specialize it for a particular task or domain. More efficient than training from scratch.

Free Tier

Category: Pricing

An allowance a provider gives away without payment. This directory separates three kinds: a permanent free tier (free for as long as the provider keeps it, with rate limits), renewable credits (a free allowance that comes back every day or month) and a one-time trial credit (a starting balance that runs out).

Check before you sign up: some free tiers still ask for a card or a phone number. Each provider page says which.

Function Calling (Tool Use)

Category: Capability

A way for a model to ask your program to run something: you describe functions in the request, and instead of plain text the model can answer with the name of a function and its arguments as JSON. Your code runs it and sends the result back. Coding agents depend on it, and not every free model supports it well.

Foundation Model

Category: General

A large-scale pre-trained model that serves as the base for various downstream tasks. Examples: GPT, Gemini, Claude, Llama, Qwen.

GGUF (GPT-Generated Unified Format)

Category: Model Format

A file format for storing LLM model weights, optimized for efficient loading and inference with llama.cpp. Successor to GGML format.

Guardrails

Category: Safety

Safety mechanisms built into LLMs to prevent harmful, biased, or inappropriate outputs. Can include content filters, alignment techniques, and output validation.

H - I

Hallucination

Category: Limitations

When an LLM generates plausible-sounding but factually incorrect or nonsensical information. A major limitation of current language models.

Example: Claiming a fake historical event happened or citing non-existent research papers.

Inference

Category: Process

The process of using a trained model to generate predictions or outputs. In LLMs, this means generating text based on a prompt.

Instruction Tuning

Category: Training Method

Fine-tuning a language model on instructions and desired responses to make it better at following user commands. Models like "Llama 3.3 Instruct" are instruction-tuned versions.

L - M

LLM (Large Language Model)

Category: Core Concept

A neural network trained on massive amounts of text data (billions of words) to understand and generate human-like text. "Large" refers to the number of parameters (billions to trillions).

7B
Small LLM
70B
Medium LLM
400B+
Large LLM

LoRA (Low-Rank Adaptation)

Category: Technique

An efficient fine-tuning method that only trains a small number of additional parameters instead of the entire model. Allows customization with minimal computational resources.

Mixture of Experts (MoE)

Category: Architecture

An architecture where the model consists of multiple "expert" sub-networks, and a gating mechanism decides which experts to activate for each input. Enables larger models with efficient inference.

Example: Mixtral 8x7B made the idea popular (8 experts, 2 active per token). Most big open models now work this way: GPT-OSS 120B has about 117B parameters but only ~5B are active for each token, which is why it runs fast on free tiers.

Multimodal Model

Category: Model Type

A model that can process and generate multiple types of data (text, images, audio, video). Examples: Gemini Flash, Gemma 4, Llama 4 Scout and NVIDIA Nemotron VL, all of which you can call for free somewhere in this directory.

O - Q

OpenAI-Compatible API

Category: API Format

An API that accepts the same requests as OpenAI's /v1/chat/completions endpoint. Most providers in this directory offer one, so the same client code works with each of them once the base URL, the key and the model name are changed.

In practice: point the OpenAI SDK at another base_url and keep the rest of your code.

Parameter

Category: Model Specification

A learnable value in a neural network that gets adjusted during training. The number of parameters is often used as a proxy for model size and capability.

Scale: Llama 3.3 has 70 billion parameters • GPT-OSS 120B has ~117 billion • the largest open models (DeepSeek, Kimi) pass 600 billion to 1 trillion

Prompt Engineering

Category: Technique

The practice of carefully crafting input prompts to get the best possible output from an LLM. Includes techniques like few-shot learning, chain-of-thought, and role-playing.

Quantization

Category: Optimization

A technique to reduce model size and memory usage by representing weights with lower precision (e.g., 4-bit or 8-bit instead of 16-bit). Enables running larger models on consumer hardware.

Q4
Smallest
Q5
Balanced
Q8
Better
FP16
Full

R - S

RAG (Retrieval-Augmented Generation)

Category: Technique

A method that combines LLMs with external knowledge retrieval. The system first searches a database for relevant information, then uses that context to generate more accurate responses.

Why it matters: Reduces hallucinations • Provides source citations • Updates model knowledge without retraining

Rate Limit (RPM, RPD, TPM, TPD)

Category: Pricing

The ceiling a provider puts on your usage. RPM = requests per minute, RPD = requests per day, TPM = tokens per minute, TPD = tokens per day. Go over one of them and the API answers with HTTP 429 until the window resets.

Example: Groq's free plan allows 30 requests per minute and 1,000 requests per day on its chat models.

Reasoning Model

Category: Model Type

A model that works through a problem in a hidden or visible "thinking" phase before it writes the answer. It is slower and uses more tokens, and it does better on maths, planning and multi-step code changes.

RLHF (Reinforcement Learning from Human Feedback)

Category: Training Method

A training technique where human evaluators rank model outputs, and the model learns to produce responses that humans prefer. Used to align models with human values.

Self-Attention

Category: Mechanism

The mechanism in transformers that allows each token to "attend" to all other tokens in the sequence, learning contextual relationships.

Streaming

Category: Output Mode

A response mode where the LLM sends generated tokens as soon as they're produced (word-by-word) instead of waiting for the complete response. Provides a better user experience for long outputs.

System Prompt

Category: Prompt Engineering

An initial instruction given to the model that sets its behavior, personality, or role for the entire conversation. Typically used in chatbot applications.

System: "You are a helpful Python programming assistant. 
Provide clear, concise code examples with explanations."

T

Temperature

Category: Parameter

A parameter (0.0 to 2.0) that controls randomness in generation. Lower = more focused/deterministic, Higher = more creative/random.

0.0 - 0.3

Factual tasks, code, math

0.7 - 1.0

Chatbots, Q&A

1.5 - 2.0

Creative writing, brainstorming

Token

Category: Core Concept

The basic unit of text that an LLM processes. Not exactly words—can be parts of words, whole words, or punctuation. "Tokenization" splits text into these units.

"Hello world!" → ["Hello", " world", "!"] = 3 tokens

Trial Credit

Category: Pricing

A one-time balance (for example $5) that a provider adds to a new account. Once it is spent or expired, the API stops or starts billing, so it suits a test more than a long-running project. See Free Tier for the other kinds of free access.

Transformer

Category: Architecture

The foundational neural network architecture (introduced in 2017) that powers modern LLMs. Uses self-attention mechanisms instead of recurrence. Introduced in the paper "Attention Is All You Need."

Z

Zero-Shot Learning

Category: Capability

The ability of a model to perform a task without any examples in the prompt. Large models excel at zero-shot learning due to their extensive pre-training.

Example: Asking "Translate to French: Hello" without providing any translation examples first.

See the terms in practice

The guides show these terms at work on real free tiers.