cd ..
./the-best-local-llm-in-2026-(picks-for-every-gpu-and-mac)

The Best Local LLM in 2026 (Picks for Every GPU and Mac)

Which open model to run on your own hardware, sized to the memory you actually have.

Tinkerer Club

The best local LLM is the strongest open model that actually fits in your memory with room left over for context. That is the whole trick. A great model that spills out of VRAM crawls; a smaller one that fits answers instantly. So instead of one winner, here are the picks for each hardware tier, with the exact Ollama tag to pull.

New to running models yourself? Start with how to run an LLM locally, then come back here to pick the model.

Quick picks by memory (October 2026)

Your GPU or Mac memoryBest pickOllama download
8 GBqwen3.5:4b3.3 to 4.0 GB
12 GBqwen3.5:9b6.6 to 7.6 GB
16 GBgpt-oss:20b14 GB
24 GBqwen3.6:27b18 to 19 GB
32 GBqwen3.6:35b (or glm-4.7-flash)23 to 24 GB (19 GB)
Coding, 24 GB+qwen3-coder:30b19 GB

Sizes are the default Ollama tags as listed in the Ollama library on October 19, 2026. They are the weights only; budget a few extra gigabytes for the context window.

8 GB: qwen3.5:4b

On an 8 GB card (RTX 4060, RTX 3070) or a base Apple Silicon Mac, qwen3.5:4b is the smallest Qwen3.5 that feels like an assistant rather than autocomplete. It is Apache 2.0 and has a 256K native context window. The 9B sibling technically squeezes in, but leaves almost no room for context.

12 GB: qwen3.5:9b

qwen3.5:9b is the sweet spot for 12 GB cards like the RTX 3060 12 GB or RTX 4070, and for Macs with 16 GB of unified memory. Its model card lists MMLU-Pro 82.5 and GPQA Diamond 81.7, which is remarkable for a model this small. If you also want image input, gemma4:e4b is the multimodal alternative at a similar size.

16 GB: gpt-oss:20b

OpenAI’s open-weight gpt-oss:20b is a mixture-of-experts model: 21B parameters in total but only about 3.6B active per token, stored in a compact format so the Ollama download is 14 GB. That is why it fits a 16 GB card and still runs fast. It is the best all-rounder at this tier, with a 128K context window and an Apache 2.0 license. gemma4:12b (about 8 GB) is the pick if you want vision.

24 GB: qwen3.6:27b

This is where a local model can replace a chat subscription for most everyday work. qwen3.6:27b is a 27B dense model with a 256K native context and an 18 to 19 GB download, so it fits an RTX 3090 or 4090, or a Mac with 32 GB of unified memory. Gemma 4 26B and 31B are the closest competitors and add image input.

32 GB and up: qwen3.6:35b or glm-4.7-flash

With an RTX 5090 or a 48 GB+ Mac, pull qwen3.6:35b, a 35B mixture-of-experts model with only about 3B parameters active per token, which keeps it fast. glm-4.7-flash is a near twin in size (about 19 GB at Q4) and ships under the MIT license if you prefer that. Beyond a single card, gpt-oss:120b is a 65 GB download and needs serious memory.

Best local LLM for coding

qwen3-coder:30b is the coding model to beat locally. It is a 30B mixture-of-experts model with around 3.3B active parameters, a 256K context window (enough to hold a real chunk of a codebase) and a 19 GB download. Point your editor’s AI extension or a terminal coding agent at Ollama’s local API and you have a private coding assistant with no per-token bill. On 16 GB, use gpt-oss:20b instead.

Best for reasoning and vision

  • Reasoning: deepseek-r1:14b or deepseek-r1:32b (MIT) think step by step before answering. On tiny hardware, phi4-mini-reasoning is the smallest one worth running.
  • Vision: the Gemma 4 family (gemma4:e4b, gemma4:12b, gemma4:26b) reads images as well as text, under Apache 2.0.

How to pick the right one

  • Fit first. Download size plus a few GB for context must fit in VRAM, or in unified memory on a Mac (leave room for macOS too).
  • Mixture-of-experts is your friend. MoE models like gpt-oss, qwen3.6:35b and qwen3-coder only run a slice of their weights per token, so they are much faster than their size suggests.
  • On a Mac, try the MLX tags. Ollama lists -mlx variants (for example qwen3.6:27b-mlx) built for Apple Silicon.
  • Check the license if you ship a product. Everything above is Apache 2.0 or MIT.

Try one in a minute

Install Ollama, then run ollama run qwen3.5:9b (swap in the tag for your tier). That pulls the model and drops you into a chat. From there you can connect a web UI or wire the local API into your own self-hosted AI stack, ideally on a dedicated home server.

Model tags change every few weeks, and benchmark charts rarely match what runs well on your exact machine. Inside the Tinkerer Club, members post which models and settings actually work on their GPUs, Macs and homelabs, so you can skip the weekend of trial and error.

Frequently asked questions

What is the best local LLM right now?

It depends on your memory. As of October 2026: qwen3.5:4b for 8 GB, qwen3.5:9b for 12 GB, gpt-oss:20b for 16 GB, qwen3.6:27b for 24 GB, and qwen3.6:35b or glm-4.7-flash for 32 GB. All of them run with one Ollama command.

What is the best local LLM for coding?

qwen3-coder:30b is the strongest coding model most people can run locally. It is a 30B mixture-of-experts model, the Ollama download is about 19 GB, and it has a 256K context window, so it wants a 24 GB GPU or a Mac with 32 GB or more of unified memory. On a 16 GB card, gpt-oss:20b is the better fit.

How much RAM or VRAM do I need to run a local LLM?

Take the model download size and add a few gigabytes for the context window, because the KV cache grows with context length. A 4B model fits in 8 GB, a 9B model in 12 GB, a 20B mixture-of-experts model in 16 GB, and 27B to 35B models in 24 to 32 GB.

Are local LLMs free for commercial use?

The picks on this page are: Qwen3.5, Qwen3.6, Qwen3-Coder, gpt-oss and Gemma 4 are Apache 2.0, and GLM-4.7-Flash is MIT. Llama 3.2 uses the Llama community license, which adds a clause for products with more than 700 million monthly active users. Always check the license on the model page before shipping.

Tinker with people who have done it

Join 1,390+ members in the Tinkerer Club: a private community for self-hosting, homelabs, local AI and automation. One payment, lifetime access.

See membership and pricing

More guides

tinkerer_club.sh
wait — what is this tool part of?

The free tool above is built by the Tinkerer Club.

A private community for people who automate their life, run local AI, and self-host their stack. $299 once · lifetime · no subscriptions.

1,390+ members · $299 once · lifetime