Shipping an AI app or agent? Security review in 1 working day: $149 / ₹13,900. Request a review →
AI Review Ready
Home / Ollama models
Guide · from Ollama's official docs

Ollama models names, sizes, memory

What an Ollama model name and tag tell you, how big popular models are, what fits in your RAM or GPU, and the commands to manage them.

Reading a model name

Ollama names look like model:tag. The tag usually says the size, the variant and the quantization:

  • llama3.2 with no tag means llama3.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

ModelSizesDefault (:latest) and download sizeContext windowCapabilities
llama3.18b, 70b, 405b8b · 4.9GB128Ktools
deepseek-r11.5b, 7b, 8b, 14b, 32b, 70b, 671b8b · 5.2GB128K (671b: 160K)tools, thinking
llama3.21b, 3b3b · 2.0GB128Ktools
qwen30.6b, 1.7b, 4b, 8b, 14b, 30b, 32b, 235b8b · 5.2GB40K (4b, 30b, 235b: 256K)tools, thinking
gemma3270m, 1b, 4b, 12b, 27bvision
gemma4e2b, e4b, 12b, 26b, 31be4b · 6.6–9.5GB128K (12b and up: 256K)vision, tools, thinking, audio
qwen3.50.8b, 2b, 4b, 9b, 27b, 35b, 122bvision, tools, thinking
gpt-oss20b, 120b20b · 14GB (120b: 65GB)128Ktools, thinking
mistral7btools
qwen2.5-coder0.5b, 1.5b, 3b, 7b, 14b, 32btools
nomic-embed-textembedding

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:

TagDownload size
llama3.2:3b-instruct-q2_K1.4GB
llama3.2:3b-instruct-q3_K_M1.7GB
llama3.2:3b-instruct-q4_01.9GB
llama3.2:3b-instruct-q4_K_M2.0GB
llama3.2:3b-instruct-q5_K_M2.3GB
llama3.2:3b-instruct-q6_K2.6GB
llama3.2:3b-instruct-q8_03.4GB
llama3.2:3b-instruct-fp166.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_LENGTH uses more.
  • The K/V cache can be quantized to save memory (with Flash Attention): OLLAMA_KV_CACHE_TYPE=q8_0 uses about half the memory of the default f16, q4_0 about a quarter, with some precision loss at large context sizes.
  • Run ollama ps to see what a loaded model really uses: the SIZE column is its memory and PROCESSOR shows 100% GPU, or a split like 48%/52% CPU/GPU when 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 gemma4Download a model (or update it)
ollama run gemma4Run and chat with a model (downloads it first if needed)
ollama lsList downloaded models and their sizes
ollama psList models loaded in memory, with size, CPU/GPU split and when they unload
ollama stop gemma4Unload a running model from memory
ollama rm gemma4Delete a downloaded model from disk
ollama create mymodel -f ModelfileMake a custom model (for example from a GGUF file)
ollama serveStart 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

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