# Best local LLMs: which one to use for your hardware and task

> Which Ollama model to run for chat, coding, documents, reasoning, vision, Spanish and speech on 8, 16, 32 or 64 GB, with speeds measured on our machine.

- Published: 2026-10-09
- Updated: 2026-11-02
- Author: Jacobo González Jaspe
- Language: en
- Tags: LLM, Ollama, local AI, Hardware, Comparison
- Canonical URL: https://vorluxai.com/en/blog/best-local-llms-by-hardware-and-task-en/
- Source: VORLUX AI (J4SGON S.L.), https://vorluxai.com/

---

By the end you will know which model to download for your task and your memory, and how to check it with your own numbers in ten minutes. You can start on any laptop with 8 GB of RAM. The rule underneath is simple: the smallest model that does the job well.

> **TL;DR**
> - Two tables: seven tasks by four memory tiers with the Ollama tag, and what each model takes once loaded, measured on 2026-11-02.
> - Cost: nothing if you already have 16 GB. That covers chat, coding, documents and basic vision.
> - **Verdict: don't buy anything yet.** Try the column for the memory you have and move up only if your own tests ask for it.

*Last reviewed: 2 November 2026 (loaded sizes). Download sizes from the [Ollama library](https://ollama.com/library) on 6 October 2026; speeds measured on our NVIDIA DGX Sparks. We revise this table when a model on it changes.*

## What you need
- A computer with 8 GB of memory or more. A GPU helps but is not required.
- [Ollama](https://ollama.com) installed. It is free and needs no account.
- Ten real prompts from your own work, saved in a text file.
- Between 2 and 20 GB of free disk, depending on the column you pick.

## Step 1: find out how much memory the model can use
The number that matters is the memory the model can reach. On a Mac or a laptop without a GPU it is total RAM, because it is shared. On a PC with a graphics card it is the card's VRAM.

```bash
# Linux with an NVIDIA GPU: total VRAM
nvidia-smi --query-gpu=memory.total --format=csv
# macOS: unified memory in bytes
sysctl hw.memsize
```

With shared memory, the operating system keeps a slice. Our [VRAM explorer](https://vorluxai.com/en/tools/vram-explorer/) reserves 3 GB on machines up to 16 GB, 4 GB up to 32 GB and 6 GB above that. An 8 GB laptop leaves about 5 GB for the model.

## Step 2: pick from the table
Each cell gives the tag for `ollama pull` and the download size its Ollama library page shows. Where you see a range, Ollama serves different files per platform.

| Task | 8 GB | 16 GB | 24-32 GB | 64 GB or more |
|---|---|---|---|---|
| Chat and assistant | `qwen3:4b` (2.5 GB) | `qwen3:8b` (5.2 GB) | `gemma4:26b` (16-19 GB) | `qwen3.6:35b` (23-24 GB) |
| Coding | `qwen2.5-coder:3b` (1.9 GB) | `qwen2.5-coder:7b` (4.7 GB) | `qwen3-coder:30b` (19 GB) | `qwen3.6:35b-coding` (23-24 GB) |
| Documents and RAG | `bge-m3` (1.2 GB) + `qwen3:4b` | `bge-m3` + `qwen3:8b` | `bge-m3` + `gemma4:26b` | `bge-m3` + `qwen3.6:35b` |
| Reasoning | `qwen3:4b-thinking` (2.5 GB) | `deepseek-r1:14b` (9.0 GB) | `qwen3:30b-thinking` (19 GB) | `qwen3:30b-thinking` with long context |
| Vision (photos, scanned PDFs) | `qwen3-vl:2b` (1.9 GB) | `qwen3-vl:8b` (6.1 GB) | `qwen3-vl:30b` (20 GB) | `qwen3-vl:30b`; `qwen2.5vl:72b` (49 GB) for batch jobs only |
| Writing in Spanish | `qwen3:4b` | `gemma4:e4b` (6.6-9.5 GB) | `gemma4:26b` | `qwen3.6:35b` |
| Speech to text (outside Ollama) | faster-whisper `small` | `small` | `medium` | `large-v3` |

How we decide that it fits: library size, plus the context cache, plus 1.5 GB of margin. The [VRAM explorer](https://vorluxai.com/en/tools/vram-explorer/) uses a finer sum and gives slightly lower figures. The cache for a 3 to 8B model at 4,096 tokens is about 0.5 GB.

Some cells are tight. `qwen3:4b` needs about 4.5 GB on an 8 GB laptop, so close the browser. The 24-32 GB column needs 17 to 22 GB: comfortable on a 24 GB GPU or with 32 GB of shared memory, and at the limit on a 24 GB Mac.

Speech to text does not go through Ollama. Use [faster-whisper](https://github.com/SYSTRAN/faster-whisper): its README measures `small` on CPU at 1.5 GB of RAM in int8, and `large-v2` on GPU at 2.9 GB in int8. `large-v3` has the same parameter count as `large-v2`.

## Why the 64 GB column repeats models
More memory does not mean a bigger model. Tags with `a3b` or `a4b` in them are mixture-of-experts models: they keep every parameter in memory but activate about 3 or 4 billion per token. That is why `qwen3.6:35b` generated faster than `deepseek-r1:14b` in our test.

With 64 GB or more, what you gain is long context and room for two models loaded at once, say one for chat and one for vision. A dense 70B model fits, but on our machine `qwen2.5vl:72b` ran at about 3 tokens per second. That suits overnight batches, not conversation.

## By memory: the loaded sizes we measured on 2026-11-02
Step 2 quotes download sizes. What your machine feels is `SIZE` in `ollama ps`, with the context cache allocated: `llama3.1:8b` downloads at 4.9 GB and takes 9.2 GB at 32k context.

We read these on 2026-11-02 on our two NVIDIA DGX Sparks, one Q4_K_M model at a time: PRIME runs Ollama 0.30.10 with one 32k slot, spark2 runs 0.34.0 with 8 slots of 16k. Raw data: [dgx-spark-review-prime-2026-11-02.json](https://vorluxai.com/data/measurements/dgx-spark-review-prime-2026-11-02.json) and [dgx-spark-review-spark2-2026-11-02.json](https://vorluxai.com/data/measurements/dgx-spark-review-spark2-2026-11-02.json). Each model sits in the smallest tier that holds it. The spare columns are arithmetic, not a test on that hardware: tier minus loaded size on a GPU, and tier minus the Step 1 reserve minus loaded size with shared memory. Negative means it does not fit at that context.

| Memory | Model | Loaded (GB) | Context | Spare on a GPU (GB) | Spare, shared memory (GB) |
|---|---|---|---|---|---|
| 8 GB | `qwen2.5-coder:7b` | 6.6 | 32k | 1.4 | −1.6 |
| 12 GB | `llama3.1:8b` | 9.2 | 32k | 2.8 | −0.2 |
| 16 GB | `deepseek-r1:14b` | 15.3 | 32k | 0.7 | −2.3 |
| 24 GB | `gemma4:26b` (PRIME) | 17.5 | 32k | 6.5 | 2.5 |
| 24 GB | `gemma4:26b` (spark2) | 22.6 | 8 × 16k | 1.4 | −2.6 |
| 24 GB | `qwen3.6:35b` | 23.1 | 8 × 16k | 0.9 | −3.1 |

Two lessons. `deepseek-r1:14b` downloads at 9 GB and takes 15.3 GB at 32k, so the 16 GB cell in Step 2 holds only with a shorter context. And `gemma4:26b` read 17.5 GB on one box and 22.6 GB on the other (same file; another digest, another Ollama version and 8 slots of 16k against one of 32k): plan with the larger number until your own `ollama ps` says otherwise. None of the models we loaded on 2026-11-02 needs 64 or 128 GB.

Speeds and load times for the same runs: [our DGX Spark review after seven weeks](https://vorluxai.com/en/blog/dgx-spark-review-7-weeks-measured-en/). For several users at once: [Ollama or vLLM for a small office](https://vorluxai.com/en/blog/ollama-vs-vllm-small-office-measured-en/).

## Step 3: download and measure on your machine
Pull the tag from your cell and time it with the same call we use:

```bash
ollama pull qwen3:8b
curl -s localhost:11434/api/generate -d '{
  "model": "qwen3:8b", "stream": false, "think": false,
  "prompt": "Write a short email moving a meeting from Thursday to Monday.",
  "options": {"num_predict": 200, "num_ctx": 4096}
}' | python3 -c "import json,sys; d=json.load(sys.stdin); print(round(d['eval_count']/d['eval_duration']*1e9,1),'tok/s')"
ollama ps   # the SIZE column is the memory it really uses
```

Expected output: one line with tokens per second and an `ollama ps` table. If `PROCESSOR` does not say `100% GPU` on a GPU machine, the model did not fit whole. Move one cell left or lower `num_ctx`.

Below about 10 tokens per second, reading the answer starts to drag. To measure your own machine with `--verbose`, follow [the Ollama install guide](https://vorluxai.com/en/blog/install-ollama-first-local-llm-en/).

## Step 4: test quality with your ten prompts
Speed takes a second to measure. Quality is yours to judge. Run your ten prompts through your memory's cell and the one to its left, at `temperature: 0`, and put the answers side by side.

If you cannot tell them apart, keep the smaller model. You free memory and gain speed. For Spanish writing, check accents, agreement and whether English words slip in.

## What we measured
NVIDIA DGX Spark (GB10, 128 GB unified memory), Ollama 0.30.10, 4,096-token context. The machine is shared with other services, so treat these figures as a floor.

| Model | Generation speed | Memory loaded | Date |
|---|---|---|---|
| `qwen2.5-coder:7b` | 41.0 tok/s | 6.6 GB | 2026-10-04 |
| `gemma4:26b` | 60.7 tok/s | 17 GB | 2026-10-04 |
| `deepseek-r1:14b` (thinking off) | 21.6 tok/s, one run | 9.5 GB | 2026-10-06 |
| `qwen2.5vl:7b` (text prompt) | 42.3 tok/s, one run | not measured | 2026-10-06 |
| `qwen3.6:35b` | 71.0 tok/s, one run | 23 GB | 2026-10-06 |
| `qwen2.5vl:72b` | 2.7 to 3.2 tok/s | 49 GB at 8k context | 2026-09-09 |
| faster-whisper `small` | 0.252 x real time | not measured | 2026-10-04 |
| faster-whisper `medium` | 0.513 x real time | not measured | 2026-10-04 |

A factor of 0.252 means a 30-minute meeting is transcribed in about 7.5 minutes. A Spark is not your laptop. On a 16 GB machine without a dedicated GPU, expect much lower numbers, which is why Step 3 exists.

## When a cloud API is the better call
- **Coding agents across a large repository.** A 7 to 30B model completes functions and explains code. Planning a change across fifty files is still work for the large cloud models.
- **Occasional use with non-sensitive data.** If you send twenty requests a month, paying per use is cheaper than any machine. Run the numbers with [cloud vs local break-even](https://vorluxai.com/en/blog/cloud-vs-local-ai-cost-benchmarks-en/).
- **Long reasoning where a mistake is expensive.** A local 14B model reasons well on bounded problems. For delicate legal or financial analysis, compare against a large model before you trust it.

Local wins when the data must not leave your network, when volume is high and steady, or when you want a fixed cost. Electricity and your own time count as costs too.

## Next steps
- Before you download, pick the file and the quantization: [GGUF quantization, pick the right file](https://vorluxai.com/en/blog/gguf-quantization-pick-the-right-file-for-your-hardware-en/).
- Reviews of the models in the table: [Gemma 4](https://vorluxai.com/en/blog/gemma-4-review-best-open-model-2026-en/), [Qwen 2.5 Coder 7B](https://vorluxai.com/en/blog/qwen25-coder-7b-instruct-en/), [DeepSeek R1](https://vorluxai.com/en/blog/deepseek-r1-review-local-reasoning-2026-en/), [Qwen2.5-72B vs qwen3.6:35b](https://vorluxai.com/en/blog/qwen2-5-72b-instruct-local-review-en/) and [Phi-4](https://vorluxai.com/en/blog/phi-4-en/).
- Short on memory? Compare machines in the [hardware catalogue](https://vorluxai.com/en/products/) or try an exercise with nothing installed in the [playground](https://vorluxai.com/en/playground/).

## Work with us
If you want to see your own task running on real hardware before you buy anything, we measure the model and the machine with your prompts. [Let's talk for 15 minutes](https://vorluxai.com/en/contact/?ref=best-local-llms-by-hardware-and-task-en) or see [how we work in consulting](https://vorluxai.com/en/consulting/).
