Glossary: Running AI Models on Your Own Computer, Every Term Explained From Zero

28 min read

The problem

This series talks about VRAM, 4-bit quantisation, KV cache, Ollama and RTX cards as if you already know them. If you have never opened a terminal or looked inside a computer, those words stop you before the useful part starts.

This page explains every one of them from zero. You can read the series in order and come back here whenever a word is unclear.

Start here

Read these in order. Each idea builds on the one before it.

  1. An AI chatbot runs on a model. A large language model, or LLM, is a computer program that has learned from a huge amount of text and writes text back when you type to it. ChatGPT is one. The model is a big file full of numbers.
  2. Someone's computer has to run that file. When you use a chatbot website, the model runs on a company's computers in a data centre, and your words travel there over the internet. That is the cloud. Programs often reach it through an API, using an API key to log in.
  3. Running locally means your own computer does the work. You download the model file once, and your laptop runs it. No internet after that, no bill per message, and your words never leave the machine. That is running locally.
  4. Two kinds of chips can do the work. The CPU is the general brain of every computer: good at many things, one after another. The GPU sits on a graphics card and does thousands of small sums at once, which is exactly what a model needs. So a GPU runs models much faster.
  5. Each chip has its own short-term memory. RAM is the computer's main working memory. VRAM is the separate, faster memory on the graphics card. A model has to fit into memory to run. If it does not fit, the computer starts swapping to the much slower disk and everything crawls.
  6. You give commands by typing. The terminal is a text window where you type a command and press Enter. This series uses Linux commands like curl, sudo and apt-get.
  7. A model's size is counted in parameters. Parameters, also called weights, are the numbers inside the model. "8B" means 8 billion of them (model sizes like 7B). More parameters usually means smarter but bigger and slower.
  8. Squeezing the numbers makes models fit. Quantisation stores each number with fewer bits, for example 4 instead of 16, so the file shrinks to about a quarter. Local model files are usually stored in the GGUF format.
  9. A tool runs the model for you. Ollama is a free program that downloads models and runs them with one command.
  10. Text is measured in tokens. A token is a small chunk of text. Speed is measured in tokens per second. The model keeps notes about the conversation so far in its KV cache, which also takes memory.
  11. NVIDIA cards dominate AI. Most AI software talks to NVIDIA GPUs through CUDA. Their home cards are sold as RTX cards, and DGX Spark is their small AI box.
  12. You can also rent. Renting a GPU means paying by the hour for a powerful card in someone else's data centre, for example on RunPod.

AI and model basics

LLM

A large language model: a program trained on a huge amount of text that predicts and writes text, one small piece at a time. Chatbots like ChatGPT are built on LLMs.

Why it matters: Every article in this series is about getting one of these to run on your own machine.

Covered in: Part 2: Run your first model with Ollama

Model

The trained AI itself, saved as a large file of numbers. Downloading a model means downloading that file; running it means loading it into memory and asking it questions.

Why it matters: Model size decides how much download space, memory and speed you need.

Covered in: Part 2: Run your first model with Ollama, Part 4: Pick a model for your laptop

Prompt

The text you type to the model, such as a question or an instruction. The model reads it and writes an answer.

Why it matters: Long prompts take longer to process, especially on a CPU.

Covered in: Part 2: Run your first model with Ollama

Token

A small chunk of text that a model reads and writes, often a short word or part of a longer word. Models count everything, input and output, in tokens.

Why it matters: Context length and speed are both measured in tokens.

Covered in: Part 3: How much VRAM you need, Part 5: Buy or rent a GPU in India

Tokens per second

How many tokens a model writes each second. It is the usual way to say how fast a model feels: a higher number means the answer appears faster.

Why it matters: It is what "slow" and "fast" mean in practice when you compare a CPU, a 4060 and a DGX Spark.

Covered in: Part 5: Buy or rent a GPU in India

Context

How much text the model holds in mind at once: your prompt, the conversation so far and its own answer, measured in tokens. An "8,000 token context" means it can see about 8,000 tokens at a time.

Why it matters: A longer context makes the KV cache bigger, so it needs more memory.

Covered in: Part 3: How much VRAM you need

Attention

The part of a model that lets each new word look back at all the earlier words and decide which ones matter. It is how the model keeps track of what the conversation is about.

Why it matters: Attention is the reason the KV cache exists.

Covered in: Part 5: Buy or rent a GPU in India

KV cache

The model's short-term memory for the current conversation. Attention saves some working notes (called keys and values) for every earlier token, so it does not have to redo them for each new word. It grows as the chat gets longer.

Why it matters: It takes memory on top of the model itself, so you need room to spare.

Covered in: Part 3: How much VRAM you need, Part 5: Buy or rent a GPU in India

Reasoning model

A model that writes out its thinking step by step before giving the final answer. It is slower, but often better on hard questions like maths or code.

Why it matters: Qwen3 is one, so you will see its thinking scroll past in the terminal before the answer.

Covered in: Part 2: Run your first model with Ollama

Dense and MoE models

A dense model uses all its parameters for every token. A mixture of experts (MoE) model is split into many smaller "expert" parts and uses only a few of them for each token. "30B-A3B" means 30 billion parameters in total, about 3 billion active per token.

Why it matters: An MoE model can be faster, but all of its weights still have to fit in memory.

Covered in: Part 4: Pick a model for your laptop

Leaderboard

A public ranking that scores models on test questions. It tells you which model scored highest, not which one fits your machine.

Why it matters: The series says to pick by your memory, not by the leaderboard.

Covered in: Part 4: Pick a model for your laptop

Hosted and frontier models

A hosted model runs on a company's servers and you use it over the internet, like ChatGPT. Frontier models are the most capable models available at a given time, usually hosted ones.

Why it matters: They are the yardstick the series uses when it says a local 32B model is close in quality for everyday work.

Covered in: Part 4: Pick a model for your laptop

Model card

The information page published with a model: what it is, its sizes, its licence and how to use it.

Why it matters: It is where the series took model sizes from.

Covered in: Part 3: How much VRAM you need

Apache 2.0

A common open-source licence. It lets you use, change and share the software or model for free, including in commercial products.

Why it matters: Qwen3 uses it, so you can use the models freely.

Covered in: Part 4: Pick a model for your laptop

Model families used in this series

Qwen3

A family of open models from Alibaba's Qwen team, in sizes from 0.6B to 235B parameters. They are free to download and run.

Why it matters: Every worked example and pick in this series uses a Qwen3 model.

Covered in: Part 2: Run your first model with Ollama, Part 4: Pick a model for your laptop

Model tag

The name after the colon in an Ollama model name. In qwen3:0.6b, "qwen3" is the model family and "0.6b" is the size you want.

Why it matters: Typing the right tag is how you choose a model that fits your machine.

Covered in: Part 2: Run your first model with Ollama, Part 4: Pick a model for your laptop

Llama 3.3

An open model family from Meta. The series uses its 70B size as the example of a model too big for any single home graphics card.

Why it matters: It is the "70B" model in the VRAM tables.

Covered in: Part 5: Buy or rent a GPU in India

GPT-OSS

Open-weight models from OpenAI that anyone can download, in 20B and 120B sizes.

Why it matters: The 120B size is the series' example of a model that needs a DGX Spark or a rented card.

Covered in: Part 5: Buy or rent a GPU in India

Size and compression

Parameters

The numbers a model learned during training. They hold everything it knows. A model is often named by how many it has.

Why it matters: Parameter count is the starting point for every memory calculation in this series.

Covered in: Part 3: How much VRAM you need

Weights

Another name for a model's parameters, used especially when talking about how much memory they take. "The weights" means the main bulk of the model file.

Why it matters: Weights are the biggest part of the VRAM formula.

Covered in: Part 3: How much VRAM you need, Part 5: Buy or rent a GPU in India

Model sizes like 7B

The "B" means billion parameters. A 7B or 8B model has about 7 or 8 billion; 0.6b means 600 million. Bigger numbers mean bigger files, more memory and slower answers, but usually better answers.

Why it matters: This one number tells you roughly whether a model will fit on your machine.

Covered in: Part 3: How much VRAM you need, Part 4: Pick a model for your laptop

Quantisation

Storing each weight with fewer bits so the model takes less memory, like saving a photo at lower quality to make the file smaller. Also spelled quantization. Quality drops a little, size drops a lot.

Why it matters: It is why an 8B model fits in about 5 GB instead of 16 GB.

Covered in: Part 3: How much VRAM you need, Part 5: Buy or rent a GPU in India

Bits per weight

How many bits (the smallest unit of computer data, a 0 or 1) are used to store each weight. "4-bit", "8-bit" and "16-bit" are the common choices; 8 bits make one byte.

Why it matters: At 4-bit each billion parameters takes about half a gigabyte, at 16-bit about 2 GB.

Covered in: Part 3: How much VRAM you need

FP16, FP8 and INT4

Names for number formats. FP16 is a 16-bit decimal (floating point) number, the usual full size for a model. FP8 is the 8-bit version. INT4 stores each weight as a 4-bit whole number.

Why it matters: They are the labels you see on 16-bit, 8-bit and 4-bit model downloads.

Covered in: Part 3: How much VRAM you need

GGUF

A file format for storing a model in one file, weights plus the settings needed to run it. It was made by the llama.cpp project and is the standard way to share quantised models for local use. Ollama runs models in this format.

Why it matters: When you download a local model, you are usually downloading a GGUF file.

Covered in: Part 2: Run your first model with Ollama

GB and MB

Units of data size. A megabyte (MB) is about a million bytes; a gigabyte (GB) is about a thousand megabytes. A 522 MB download is about half a gigabyte.

Why it matters: Download size, RAM and VRAM are all measured in these.

Covered in: Part 2: Run your first model with Ollama, Part 3: How much VRAM you need

Overhead

The memory the running program uses for itself, apart from the model and the KV cache. In the series' suitcase analogy, it is the suitcase.

Why it matters: It is always there, about 1 to 2 GB, so it belongs in every memory budget.

Covered in: Part 3: How much VRAM you need

Runtime

The program that loads and runs a model, such as Ollama. It does the actual work of turning your prompt into an answer.

Why it matters: The runtime itself takes some memory, which is the overhead.

Covered in: Part 3: How much VRAM you need

Hardware and memory

CPU

The central processing unit, the main chip in every computer. It handles almost everything, a few tasks at a time, very flexibly.

Why it matters: Any computer can run a small model on its CPU, but big models are slow there.

Covered in: Part 2: Run your first model with Ollama

GPU

The graphics processing unit, a chip built to do thousands of simple sums at the same time. It was made for drawing games, and it turns out to be ideal for AI models.

Why it matters: A GPU runs models many times faster than a CPU.

Covered in: Part 2: Run your first model with Ollama, Part 5: Buy or rent a GPU in India

Graphics card

The physical board that holds a GPU and its own memory (VRAM). In a desktop PC it plugs into a slot inside the case.

Why it matters: "Which card to buy" in this series means which graphics card.

Covered in: Part 3: How much VRAM you need, Part 5: Buy or rent a GPU in India

RAM

Random access memory, the computer's main short-term working memory. Programs and data you are using right now live here. It empties when you switch off.

Why it matters: Without a GPU, the model must fit in RAM, so RAM decides which model you can run.

Covered in: Part 2: Run your first model with Ollama, Part 4: Pick a model for your laptop

VRAM

Video RAM, the memory built onto a graphics card. It is separate from the computer's RAM and much faster for the GPU to reach. Think of it as the GPU's own desk.

Why it matters: The model must fit in VRAM for the GPU to run it fast.

Covered in: Part 3: How much VRAM you need, Part 5: Buy or rent a GPU in India

Unified memory

One shared pool of memory that both the CPU and GPU use, instead of separate RAM and VRAM.

Why it matters: It lets a DGX Spark hold much bigger models than a normal graphics card.

Covered in: Part 5: Buy or rent a GPU in India

Swap

When RAM is full, the computer moves some data to the disk to make room, then back again when needed. The disk is far slower than RAM, so everything slows to a crawl.

Why it matters: It is why a model that is too big for your RAM "feels broken" instead of just slow.

Covered in: Part 4: Pick a model for your laptop

Memory bandwidth

How fast a chip can read data from its memory, measured in gigabytes per second (GB/s). To write each token, the GPU has to read through the model's weights.

Why it matters: It sets how fast each token is generated: 273 GB/s on a DGX Spark against 1,792 GB/s on an RTX 5090.

Covered in: Part 5: Buy or rent a GPU in India

GDDR7

A type of very fast memory used on the newest graphics cards. The number is the generation; higher is newer and faster.

Why it matters: It is part of why the RTX 5090 is the fastest consumer card.

Covered in: Part 5: Buy or rent a GPU in India

CUDA

NVIDIA's software platform that lets programs use an NVIDIA GPU for general computing, not just graphics. Most AI tools rely on it when they run on an NVIDIA card.

Why it matters: It is a big reason NVIDIA cards are the default choice for AI.

Covered in: Part 5: Buy or rent a GPU in India

NVIDIA

The company that makes most of the GPUs used for AI, including the RTX cards and the DGX Spark.

Why it matters: Every card and box compared in this series is an NVIDIA product.

Covered in: Part 5: Buy or rent a GPU in India

Consumer and data-centre cards

Consumer cards are the graphics cards sold to the public for home PCs and games. Data-centre cards are bigger, pricier cards made for servers in data centres. Workstation and server editions of the same card are versions built for office PCs or for server racks.

Why it matters: Export rules and prices treat these groups very differently.

Covered in: Part 5: Buy or rent a GPU in India

NVIDIA cards and boxes

RTX

NVIDIA's brand for its graphics cards. In names like RTX 4060, the first two digits are the generation (50 is newer than 40, which is newer than 30) and the last two are the tier (60 is entry level, 90 is the top).

Why it matters: Reading the name tells you roughly how new and how powerful a card is.

Covered in: Part 5: Buy or rent a GPU in India

RTX 4060

An entry-level NVIDIA consumer card with 8 GB of VRAM.

Why it matters: The series calls it the cheapest way to learn local AI at home; it runs 8B models at 4-bit.

Covered in: Part 5: Buy or rent a GPU in India

RTX 3090 and 4090

Top-tier consumer cards from the two previous NVIDIA generations, each with 24 GB of VRAM.

Why it matters: The 4090 is the card the series prices for rental, and both are suggested as second-hand buys.

Covered in: Part 5: Buy or rent a GPU in India

RTX 5090

NVIDIA's top consumer card in the newer generation, with 32 GB of GDDR7 VRAM.

Why it matters: It is the speed card in the series, but 70B models at 4-bit do not fit in it.

Covered in: Part 5: Buy or rent a GPU in India

RTX Pro 6000

A professional NVIDIA card (full name RTX Pro 6000 Blackwell) with 96 GB of VRAM, sold in workstation and server editions.

Why it matters: It holds a 70B model at 8-bit, but costs lakhs, so the series suggests renting it.

Covered in: Part 5: Buy or rent a GPU in India

DGX Spark

A small desktop AI computer from NVIDIA with 128 GB of unified memory, built on the GB10 chip. It is slower per token than a 5090, but holds much bigger models.

Why it matters: It is the "buy for memory" option for running 70B and 120B models at home.

Covered in: Part 5: Buy or rent a GPU in India

GB10 Grace Blackwell

The chip inside the DGX Spark. It puts a Grace CPU and a Blackwell GPU together in one package, sharing the same memory. Blackwell is the name of NVIDIA's GPU generation behind the RTX 50 and Pro 6000 cards.

Why it matters: This shared design is what gives the Spark its large unified memory.

Covered in: Part 5: Buy or rent a GPU in India

Terminal and setup

Terminal

A text window where you control the computer by typing commands instead of clicking. On Linux and Mac it is called Terminal; on Windows, PowerShell or Command Prompt.

Why it matters: Ollama is installed and used from the terminal.

Covered in: Part 2: Run your first model with Ollama

Command

One line of text you type in the terminal and run by pressing Enter. In the code boxes in this series, each line is a command.

Why it matters: You can copy the commands from the articles exactly as written.

Covered in: Part 2: Run your first model with Ollama

Linux

A free operating system (the base software that runs a computer, like Windows or macOS). It is common on servers and developer machines.

Why it matters: The first-run test in this series was done on a Linux machine, and the commands are Linux commands.

Covered in: Part 2: Run your first model with Ollama

curl

A small command-line tool that downloads something from a web address. curl -fsSL <address> fetches it quietly and follows redirects.

Why it matters: It downloads the Ollama install script.

Covered in: Part 2: Run your first model with Ollama

Install script

A small file of commands that installs a program for you. The | sh at the end of the Ollama command passes the downloaded script straight to sh, the program that runs scripts.

Why it matters: It is the one-line way Ollama is installed on Linux.

Covered in: Part 2: Run your first model with Ollama

sudo

Short for "superuser do". Putting it before a command runs that command with administrator rights, usually after asking for your password.

Why it matters: Installing system software needs it.

Covered in: Part 2: Run your first model with Ollama

apt-get

The tool that installs software packages on Debian and Ubuntu Linux. apt-get install -y zstd installs the zstd package and answers "yes" to the question automatically.

Why it matters: It is how the missing zstd tool was fixed in Part 2.

Covered in: Part 2: Run your first model with Ollama

zstd

A tool that unpacks files compressed in the Zstandard format, a way of shrinking files for download.

Why it matters: The Ollama install script needs it, and fails if it is missing.

Covered in: Part 2: Run your first model with Ollama

Python

A popular programming language that is easy to read. The series uses short Python programs as calculators.

Why it matters: You can run the VRAM calculator yourself instead of trusting the tables.

Covered in: Part 3: How much VRAM you need

python3 -c

A way to run a short piece of Python code straight from the terminal: the code goes inside quotes after -c, with no file needed.

Why it matters: It is how the "Try this" calculator in Part 3 runs.

Covered in: Part 3: How much VRAM you need

Ollama and its commands

Ollama

A free, open-source program that downloads AI models and runs them on your own computer. It uses your GPU if it finds a supported one, and the CPU if not.

Why it matters: It is the tool the series uses to run every model.

Covered in: Part 2: Run your first model with Ollama

Ollama library

Ollama's online catalogue of models you can download, also called the registry, with each model's sizes and tags.

Why it matters: The download sizes in this series come from it.

Covered in: Part 2: Run your first model with Ollama, Part 4: Pick a model for your laptop

Server

A program that keeps running in the background and waits for requests. Ollama's server loads models and answers whatever asks it, such as the chat in your terminal.

Why it matters: The server has to be running before you can chat with a model.

Covered in: Part 2: Run your first model with Ollama

ollama serve

The command that starts the Ollama server.

Why it matters: It is step two of the first run.

Covered in: Part 2: Run your first model with Ollama

ollama pull

The command that downloads a model to your computer, for example ollama pull qwen3:0.6b.

Why it matters: You pull once; after that the model works without internet.

Covered in: Part 2: Run your first model with Ollama

ollama run

The command that starts a chat with a model in your terminal. If the model is not downloaded yet, it downloads it first.

Why it matters: This is the command you use every day.

Covered in: Part 2: Run your first model with Ollama, Part 4: Pick a model for your laptop

ollama --version

The command that prints which version of Ollama is installed.

Why it matters: If it prints a number, the install worked.

Covered in: Part 2: Run your first model with Ollama

/set nothink

A command you type inside an Ollama chat to switch off the model's visible thinking, so it answers directly.

Why it matters: It removes the long reasoning text Qwen3 shows before each answer.

Covered in: Part 2: Run your first model with Ollama

Cloud and renting

Running locally

Running the model on your own computer instead of on a company's servers. After the download, no internet is needed and your prompts never leave the machine.

Why it matters: It is the whole point of the series: privacy, no per-message bill, and it works offline.

Covered in: Part 2: Run your first model with Ollama

Cloud

Computers owned by a company that you use over the internet, instead of your own. "The cloud" just means someone else's computers in a data centre.

Why it matters: It is the alternative to running locally, both for chatbots and for renting GPUs.

Covered in: Part 2: Run your first model with Ollama, Part 5: Buy or rent a GPU in India

API

Application programming interface: a set rule for how one program asks another for something. With an AI API, your program sends a prompt over the internet and gets the answer back.

Why it matters: Local models do not need a cloud API at all.

Covered in: Part 2: Run your first model with Ollama

API key

A long secret code that proves who you are when you use a paid API, a bit like a password for programs. The company bills usage to that key.

Why it matters: A local model needs no key and no account.

Covered in: Part 2: Run your first model with Ollama

Data centre

A large building full of servers, with power and cooling, where cloud services run.

Why it matters: A rented GPU sits in one of these.

Covered in: Part 5: Buy or rent a GPU in India

Renting a GPU

Paying by the hour (or second) to use a powerful graphics card in a data centre over the internet, instead of buying one. You stop paying when you stop using it.

Why it matters: It is cheaper than buying if you use a GPU only a few hours a day.

Covered in: Part 5: Buy or rent a GPU in India

RunPod

A company that rents GPUs by the hour, billed per second.

Why it matters: Its RTX 4090 prices are the rental figures in the series.

Covered in: Part 5: Buy or rent a GPU in India

Secure and Community Cloud

RunPod's two price tiers. Secure Cloud runs in vetted data centres at a fixed price. Community Cloud runs on machines from independent hosts and is cheaper, with less predictable reliability.

Why it matters: The same RTX 4090 costs $0.89 an hour on Secure and $0.34 on Community, which changes the buy or rent answer.

Covered in: Part 5: Buy or rent a GPU in India

Breakeven

The point where two choices cost the same. Use more than that and buying is cheaper; use less and renting is cheaper.

Why it matters: The series measures it in hours of use per day.

Covered in: Part 5: Buy or rent a GPU in India

Money, power and buying in India

Watts and kWh

A watt (W) measures how much power a device draws at a moment. A kilowatt-hour (kWh) is the energy used by drawing 1,000 watts for one hour. On an Indian electricity bill, one "unit" is one kWh.

Why it matters: Power cost is draw times hours times the rate per unit.

Covered in: Part 5: Buy or rent a GPU in India

BESCOM tariff

BESCOM is the Bangalore Electricity Supply Company. Its tariff is the price per unit of electricity, set each financial year (April to March) by KERC, the Karnataka Electricity Regulatory Commission.

Why it matters: It is the base electricity rate used in the two-year cost.

Covered in: Part 5: Buy or rent a GPU in India

Lakh and Indian numbers

A lakh is 100,000. Indian prices group digits in twos after the first thousand, so Rs 7,31,600 is seven lakh thirty-one thousand six hundred.

Why it matters: All Indian prices in the series are written this way.

Covered in: Part 5: Buy or rent a GPU in India

GST and IGST

GST is India's Goods and Services Tax on things you buy. IGST is the version charged on imports and on sales between states.

Why it matters: A quote with or without GST can differ by 18 percent, so always ask.

Covered in: Part 5: Buy or rent a GPU in India

Customs duty

A tax charged on goods brought into the country. Basic customs duty is the main part, charged before IGST is added.

Why it matters: It is part of why imported cards cost more in India.

Covered in: Part 5: Buy or rent a GPU in India

HS code

The Harmonized System code, an international number that customs uses to classify every type of product. The code decides which duty rate applies.

Why it matters: Two similar chips can pay different duty because of their code.

Covered in: Part 5: Buy or rent a GPU in India

Information Technology Agreement

A World Trade Organization deal in which member countries agreed to remove import taxes on many IT products.

Why it matters: It is why some semiconductors pay 0 percent basic duty in India.

Covered in: Part 5: Buy or rent a GPU in India

Export controls

Rules a government sets on which countries can be sold certain technology. Here it means US rules on selling advanced AI chips abroad.

Why it matters: They mainly target China; in India the practical effect is price and stock.

Covered in: Part 5: Buy or rent a GPU in India

Indian and imported warranty

An Indian warranty is honoured by the brand's service centres in India. An imported card may only have a warranty in the country it came from, or none you can use here.

Why it matters: It is one of the two questions to ask before comparing seller prices.

Covered in: Part 5: Buy or rent a GPU in India

Testing under load

Running a card at full effort, for example with a model generating text, rather than just showing the desktop. Faults often only show up when the card is working hard.

Why it matters: It is the key check before paying for a used card.

Covered in: Part 5: Buy or rent a GPU in India

Sources