Reading a model name
Ollama names look like model:tag. The tag usually says the size, the variant and the quantization:
llama3.2with no tag meansllama3.2:latest, which points to one default size (for llama3.2 that is the 3B model).llama3.2:1b: the size in parameters (b = billion, m = million). More parameters usually means better answers and more memory.llama3.2:3b-instruct-q4_K_M: the 3B model, the instruct (chat) variant rather than text (base), quantized to q4_K_M.gpt-oss:20b-cloud: a cloud tag runs on Ollama's servers instead of your machine.myuser/mymodel: a model shared under a user's namespace.
Popular models and their default download
| Model | Sizes | Default (:latest) and download size | Context window | Capabilities |
|---|---|---|---|---|
llama3.1 | 8b, 70b, 405b | 8b · 4.9GB | 128K | tools |
deepseek-r1 | 1.5b, 7b, 8b, 14b, 32b, 70b, 671b | 8b · 5.2GB | 128K (671b: 160K) | tools, thinking |
llama3.2 | 1b, 3b | 3b · 2.0GB | 128K | tools |
qwen3 | 0.6b, 1.7b, 4b, 8b, 14b, 30b, 32b, 235b | 8b · 5.2GB | 40K (4b, 30b, 235b: 256K) | tools, thinking |
gemma3 | 270m, 1b, 4b, 12b, 27b | vision | ||
gemma4 | e2b, e4b, 12b, 26b, 31b | e4b · 6.6–9.5GB | 128K (12b and up: 256K) | vision, tools, thinking, audio |
qwen3.5 | 0.8b, 2b, 4b, 9b, 27b, 35b, 122b | vision, tools, thinking | ||
gpt-oss | 20b, 120b | 20b · 14GB (120b: 65GB) | 128K | tools, thinking |
mistral | 7b | tools | ||
qwen2.5-coder | 0.5b, 1.5b, 3b, 7b, 14b, 32b | tools | ||
nomic-embed-text | embedding |
From the model pages on ollama.com/library, read 29 Nov 2026. Blank cells: not recorded here; see the model's page. Download sizes are for the default quantization.
Quantization tags: smaller files, slightly lower quality
Quantization stores the model's weights with fewer bits. The same 3B model on the official tags page:
| Tag | Download size |
|---|---|
llama3.2:3b-instruct-q2_K | 1.4GB |
llama3.2:3b-instruct-q3_K_M | 1.7GB |
llama3.2:3b-instruct-q4_0 | 1.9GB |
llama3.2:3b-instruct-q4_K_M | 2.0GB |
llama3.2:3b-instruct-q5_K_M | 2.3GB |
llama3.2:3b-instruct-q6_K | 2.6GB |
llama3.2:3b-instruct-q8_0 | 3.4GB |
llama3.2:3b-instruct-fp16 | 6.4GB |
The default llama3.2:3b is the 2.0GB download, the same size as the q4_K_M build. Lower numbers (q2, q3) are smaller and lose more quality; q8_0 and fp16 are larger and closer to the original. Ollama doesn't quantize GGUF files when you import them; its docs point to llama.cpp's llama-quantize for that.
How much RAM or VRAM do you need?
Ollama's docs don't publish a fixed RAM table per model size. What they do give you:
- The weights have to be loaded into memory, so the download size is the minimum. A 14GB download (
gpt-oss:20b) needs more than 14GB free in GPU memory to run fully on the GPU. - The context window also uses memory. Ollama's default context is 4096 tokens; raising it with
OLLAMA_CONTEXT_LENGTHuses more. - The K/V cache can be quantized to save memory (with Flash Attention):
OLLAMA_KV_CACHE_TYPE=q8_0uses about half the memory of the defaultf16,q4_0about a quarter, with some precision loss at large context sizes. - Run
ollama psto see what a loaded model really uses: the SIZE column is its memory and PROCESSOR shows100% GPU, or a split like48%/52% CPU/GPUwhen it didn't fit and part runs slower from system memory. - Several models can stay loaded at once (
OLLAMA_MAX_LOADED_MODELS, default 3 per GPU or 3 for CPU), and each parallel request needs more memory.
Out of memory? See Ollama CUDA out of memory: fixes.
Commands
ollama pull gemma4 | Download a model (or update it) |
|---|---|
ollama run gemma4 | Run and chat with a model (downloads it first if needed) |
ollama ls | List downloaded models and their sizes |
ollama ps | List models loaded in memory, with size, CPU/GPU split and when they unload |
ollama stop gemma4 | Unload a running model from memory |
ollama rm gemma4 | Delete a downloaded model from disk |
ollama create mymodel -f Modelfile | Make a custom model (for example from a GGUF file) |
ollama serve | Start the Ollama server; ollama serve --help lists its environment variables |
A loaded model stays in memory for 5 minutes after its last use by default. Change it per request with keep_alive (0 unloads right away, a negative value keeps it loaded) or globally with OLLAMA_KEEP_ALIVE.
Where models are stored
- macOS:
~/.ollama/models - Linux:
/usr/share/ollama/.ollama/models - Windows:
C:\Users\%username%\.ollama\models
To keep models on another drive, set OLLAMA_MODELS to that folder (on Linux the ollama user needs read and write access) and restart Ollama.
Ollama errors
- ollama: command not found / not recognized
- context deadline exceeded when pulling a model
- CUDA out of memory
- all AI tool error fixes
Questions
Where does Ollama store models?
By default in ~/.ollama/models on macOS, /usr/share/ollama/.ollama/models on Linux and C:\Users\%username%\.ollama\models on Windows. Set the OLLAMA_MODELS environment variable to use another folder.
What does latest mean in an Ollama model name?
A name without a tag means the latest tag, which points to one default size. For example llama3.2:latest is the same download as llama3.2:3b, and qwen3:latest is qwen3:8b.
How do I know if a model runs on my GPU?
Run ollama ps. The PROCESSOR column shows 100% GPU when the model is fully in GPU memory, or a split like 48%/52% CPU/GPU when part of it is in system memory, which is slower.
Related: Claude Code pricing · Claude API pricing · OpenAI API pricing · token counter + cost calculator · Ollama models · is Claude down? · is ChatGPT down?
Sources
- Ollama model library: ollama.com/library
- Ollama library: llama3.2 tags: ollama.com/library/llama3.2/tags
- Ollama docs: CLI reference: docs.ollama.com/cli
- Ollama docs: FAQ: docs.ollama.com/faq
- Ollama docs: Importing a model: docs.ollama.com/import
- Ollama on GitHub: github.com/ollama/ollama