Largest RAG-capable models that fit 16 GB

On a 16 GB GPU, 5 catalog models run fully on the GPU at an 8,192-token context. The most capable is Qwen3-Embedding-8B at Q4_K_M (needs ~6.4 GiB). Pick a smaller model or a lower quant for more headroom.

Figures assume a 16 GB GPU paired with 32 GB of system RAM (a typical desktop), judged at an 8,192-token context. Speed depends on the specific card — this page ranks by fit, not speed.

TL;DR

RAG is a pipeline, not a single model — and 16 GB fits the whole retrieval side of it comfortably. The models on this page are the catalog's RAG components (embedders for indexing and search, rerankers for sharpening results); they're small enough that most leave room to run a chat model alongside them. For the generator half of the pipeline, see what 16 GB runs.

How the pieces fit together

A local RAG stack, in order

  1. Embedding model — turns your documents and queries into vectors for search. Runs at indexing time and once per query; it doesn't need to stay loaded while you chat.
  2. Reranker (optional) — re-scores the top search hits so the best passages go to the model. A meaningful quality lift for many corpora, and the models are small.
  3. Generator — the instruct model that writes the answer from the retrieved passages. This is the memory-hungry part; pick it from the general 16 GB list and leave it the lion's share of the card.

The biggest model you can run

Qwen3-Embedding-8B at Q4_K_M · 7.6B params · needs ~6.4 GiB

One command to run it (llama.cpp):

llama-server -m Qwen3-Embedding-8B-Q4_K_M.gguf -c 8192 -ngl 999 --embeddings

Models that run, largest first

Model Sweet-spot quant Fits in
Qwen3-Embedding-8B Qwen Q4_K_M Runs fully on GPU ~6.4 GiB
Qwen3-Reranker-4B Qwen BF16 Runs fully on GPU ~9.9 GiB
Qwen3-Embedding-4B Qwen Q4_K_M Runs fully on GPU ~4.2 GiB
Qwen3-Reranker-0.6B Qwen BF16 Runs fully on GPU ~2.6 GiB
Qwen3-Embedding-0.6B Qwen Q8_0 Runs fully on GPU ~2 GiB

Derived live from the fit engine + catalog at an 8,192-token context. "Fits in" is the modelled VRAM the sweet-spot quant needs (weights + KV cache + overhead). Speed depends on your specific card — check a GPU page or the calculator.

Frequently asked

Do I need a separate embedding model for RAG?

Yes — chat models don't produce the document vectors retrieval needs. A dedicated embedding model indexes your documents and embeds each query; it's a small, fast component compared with the generator, and it only needs to run at indexing time and per query.

What is a reranker and is it worth running?

A reranker re-scores the passages your vector search returns, so the most relevant ones actually reach the generator. It's optional, but often one of the cheapest quality upgrades in a RAG stack — reranker models are small and only score a handful of candidates per query.

Can the embedder and the chat model share one 16 GB GPU?

Usually, yes. Embedders and rerankers are small next to a generator, and many stacks load the embedder only for indexing and queries rather than keeping it resident. The practical approach: budget the card for your generator first, then confirm the combination in the fit calculator.

Which generator model should I pair with these?

Any instruct model from the general 16 GB list that leaves room for your retrieval components and — importantly — for context, since RAG stuffs retrieved passages into the prompt. A mid-size model with context headroom often beats the largest model that technically fits.

Does RAG need more context than normal chat?

Yes — every retrieved passage lands in the prompt, so RAG workloads run long contexts as a matter of course, and the KV cache grows to match. When sizing your generator, check the fit calculator at the context you'll really use with retrieval, not the default.

Check it against your exact setup

Open the fit calculator

selected to compare · pick at least 2