The Best Open-Weight AI Models to Run Locally in 2026, Matched to Your Mac or PC Memory

Image: Public domain via Openverse
Tech news by email, once a week
Unsubscribe any time. Privacy policy
This ranking is for anyone who wants a chatbot or coding assistant that runs on their own Mac or PC, from a 16 GB laptop with no graphics card up to a 128 GB Mac. Alibaba's Qwen3.8-27B is the top pick, because it gives the most capable general model that fits a single 24 GB graphics card or a 32 GB Mac.
How the ranking works: memory fit first, then quality
Each model is judged on how well it uses the memory most people have. Macs share one pool of unified memory, and Windows or Linux PCs depend on graphics card memory (VRAM). Models that fit common configurations of 8, 16, 24 and 32 GB rank above ones that need workstation hardware. After that come quality for everyday chat, coding and documents, then licence terms and how easily the model runs in Ollama, LM Studio, llama.cpp or MLX. Every model here was released in 2026 or is still the current version from its maker. Weights are free to download, so the "price" lines below cover licence terms, checked on November 23, 2026.
Memory figures cover the weights only. The context cache comes on top, and it grows with long prompts. Leave several gigabytes free for macOS or Windows. If you are unsure where your machine falls, our tool for checking which AI model your computer can run does the matching for you. Open models still trail the paid frontier systems, a gap covered in our report on how open models trail the frontier by months.
1. Qwen3.8-27B: the default pick for 24 GB GPUs and 32 GB Macs
Alibaba released this dense, multimodal 27B model in mid-August 2026, next to a far larger Max model that needs data-centre hardware. The context window is 262,144 tokens, extendable to 1 million with YaRN. It suits people who want one local model for coding, document work and agent-style tasks and who own an RTX 4090 or 5090, or a Mac with 32 GB or more.
The unquantized repository is about 55.6 GB. At 4-bit, community quantizations land around 16.5 to 19 GB, which is why a 24 GB card or Mac is the practical floor. At 8-bit, plan on roughly 28 GB for the weights alone, so that needs a 48 GB Mac or a 32 GB card with a short context. It runs in Ollama, LM Studio and llama.cpp, and MLX builds exist for Apple Silicon.
Price: Apache 2.0, free for commercial use. Drawback: Alibaba's benchmark tables describe the original full-precision checkpoint, not the 4-bit files most people run, and on a 24 GB Mac a long context leaves little headroom.
2. Gemma 4 31B: Google's strongest model for a 24 GB card
Gemma 4 is Google's open family, and the 31B is its dense flagship. It suits anyone with a 24 GB GPU or a 32 GB Mac who wants strong image understanding along with text. Google's own table puts it at about 17.5 GB at 4-bit and 34.9 GB at 8-bit, with 69.9 GB at 16-bit. Those figures include a 20% overhead but not the context cache.
Independent vision tests from Roboflow favoured the 31B over its mixture-of-experts sibling, the 26B A4B, on three of four tasks. LM Studio and Ollama both list the Gemma 4 family, and llama.cpp and MLX builds are available.
Price: free to download, and the licence text sits on the model card. Drawback: it is the slower of Google's two large models. Artificial Analysis measured the 26B A4B at 64 tokens per second against 45 for the 31B in non-reasoning mode, and its reasoning index slightly favoured the smaller model.
3. Qwen3.6-35B-A3B: the fast one for 32 GB Macs
Alibaba's spring 2026 mixture-of-experts model holds 35 billion parameters but activates only 3 billion per token, so it generates text much faster than a dense model of similar size. It handles text, images and video, has a 262,144-token native window, and is tuned for agentic coding. It suits 32 GB Macs and 24 GB graphics cards, and it also works on 16 GB cards if you offload some layers to system RAM.
A community benchmark on a 32 GB M4 measured about 47.7 tokens per second at a 1,000-token context, using 19.2 GB at peak. Speed fell to about 16.4 tokens per second at 64,000 tokens. On a 128 GB M5 Max, a separate llama.cpp test reported roughly 105 tokens per second. An 8-bit copy would need around 35 GB for the weights, so it belongs on a 48 GB Mac.
Price: Apache 2.0. Drawback: all 35 billion parameters still have to sit in memory, so the speed gain does not shrink the footprint, and a dense 27B can give steadier answers on hard reasoning.
4. Gemma 4 12B: the best fit for 16 GB machines
Google released the 12B in June 2026 for laptops with 16 GB of VRAM or unified memory. It has no separate image or audio encoder, so it processes those inputs directly, and Google says that cuts latency and memory use. Google also says it comes close to the 26B mixture-of-experts model on standard benchmarks at under half the memory.
The official table lists 6.7 GB at 4-bit and 13.4 GB at 8-bit, so 8-bit is comfortable on a 16 GB GPU, and a 16 GB Mac can run 4-bit with room for a decent context. It runs through Ollama, LM Studio, llama.cpp and Google's LiteRT-LM.
Price: Apache 2.0, according to launch coverage. Drawback: I found no independent hands-on laptop testing yet, so the speed claims rest mostly on Google's figures, plus one write-up that reported about 21 tokens per second on an RTX 4060 with quantized weights.
5. Meta Muse Glimmer 30B: a new Apache-licensed option for 24 GB and 32 GB
Muse Glimmer is the first open model from Meta Superintelligence Labs, released August 10, 2026. It is a dense 30B model built for local agents, meaning tasks that call tools in a loop. Meta ships two 4-bit builds. K-Quant-17GB targets 24 GB cards and costs about 1.0% accuracy. K-Quant-Dynamic targets 32 GB and costs about 0.2%. Full precision needs more than 55 GB.
It suits people with an RTX 5090 or a Mac with 32 GB who want Meta's tuning for tool use. Meta says it works with Ollama, LM Studio, llama.cpp and MLX, and reportedly tested the 24 GB build on M4 Max, M5 Max and RTX 5090 hardware.
Price: Apache 2.0, a looser licence than the earlier Llama terms. Drawback: it is months younger than Qwen3.8-27B and Gemma 4, so it has less independent testing, and reports disagree on its context length, so check the model card before relying on long prompts.
6. gpt-oss-120b: for 128 GB Macs and 80 GB GPUs
OpenAI's larger open-weight model, released in 2025, is still a sensible pick for big machines. It has about 117 billion parameters, with 5.1 billion active per token, and a 131,072-token context. OpenAI trained it with MXFP4 quantization, so the standard download is already 4-bit class, and there is no separate 8-bit version to choose. It fits a single 80 GB GPU.
On Macs the picture is tighter. One 2026 Mac guide found that on a 64 GB machine the model takes about 60 GiB for weights and buffers, leaving macOS under 4 GiB. A 128 GB Mac is the comfortable target, and an M5 Max with that much memory measured about 88 tokens per second. It runs in LM Studio, Ollama and llama.cpp.
Price: Apache 2.0, with a small usage policy attached. Drawback: it is the oldest model in this list, and newer 27B to 35B models now match it on many tasks at a fraction of the memory.
7. Mistral Medium 3.5 128B: dense and heavy, for 128 GB Macs
Mistral's open-weight Medium 3.5 came out on April 30, 2026. It is a dense 128B model with a 256K context window that combines instruction following, reasoning and coding in one set of weights. Mistral's reference setup uses eight H200 or B200 GPUs, and the official weights are FP8, around 128 GB. Local use means a heavy quantization.
An estimate from a hardware-requirements site puts Q4_K_M at about 77.7 GB, which suits a 128 GB Mac. That is an estimate, not a Mistral figure, and 8-bit will not fit alongside macOS and a useful context. It suits people with a 128 GB Mac Studio or a multi-GPU rig who want a European, dense alternative to the mixture-of-experts options above.
Price: a modified MIT licence with added terms for commercial use at scale and for releasing derivative models, so read it before building a product on it. Drawback: it is far slower than a mixture-of-experts model of similar quality because every parameter is active for every token, and it only fits on the most expensive machines.
8. Qwen3.5-9B: the pick for 8 GB graphics cards
Alibaba's March 2026 small-model set includes 0.8B, 2B, 4B and 9B sizes, all natively multimodal. The 9B is the useful one for 8 GB cards and 16 GB Macs. At 4-bit it needs roughly 6 GB, and the 4B needs roughly 3 GB. It suits older gaming PCs and base-model Macs where the larger models above will not fit.
Run it through LM Studio or llama.cpp with a GGUF file. I could not confirm an official Ollama library entry for it, but Ollama can pull community GGUF builds from Hugging Face.
Price: Apache 2.0. Drawback: small models make more factual and coding mistakes, and Gemma 4 12B beats it in capability on any machine with 16 GB to spare.
9. Gemma 4 E4B: the laptop model when there is no graphics card
The E4B is Google's "effective 4B" model, built for phones and thin laptops. Google's table lists 4.5 GB at 4-bit and 8.9 GB at 8-bit, so a 16 GB laptop runs it at 8-bit with room for everything else. The smaller E2B needs just 2.9 GB at 4-bit. It suits ultrabooks and older office PCs for drafting, summarizing and quick questions.
Speed is the limit without a GPU. One guide estimates 2 to 5 tokens per second on a laptop CPU, which it labels as an estimate and not a measurement. Apple Silicon laptops do much better because the GPU shares memory. It runs in Ollama, LM Studio and llama.cpp.
Price: free to download. Drawback: a Towards AI tester found it lost coherence when summarizing 16,000-token inputs and suggested keeping prompts under 8,000 tokens.
Comparison: memory, licence and best use
ModelBest forPrice (checked Nov 23, 2026)Key spec
1. Qwen3.8-27B24 GB GPUs, 32 GB MacsFree, Apache 2.0About 16.5 to 19 GB at 4-bit
2. Gemma 4 31B24 GB GPUs, image tasksFree, see model card17.5 GB at 4-bit, 34.9 GB at 8-bit
3. Qwen3.6-35B-A3BFast replies on 32 GB MacsFree, Apache 2.035B total, 3B active
4. Gemma 4 12B16 GB laptops and cardsFree, Apache 2.06.7 GB at 4-bit, 13.4 GB at 8-bit
5. Muse Glimmer 30BLocal agents on 24 or 32 GBFree, Apache 2.0Under 20 GB at 4-bit
6. gpt-oss-120b128 GB Macs, 80 GB GPUsFree, Apache 2.05.1B active, MXFP4 native
7. Mistral Medium 3.5 128B128 GB Macs, multi-GPU rigsFree, modified MITDense 128B, 256K context
8. Qwen3.5-9B8 GB GPUsFree, Apache 2.0About 6 GB at 4-bit
9. Gemma 4 E4BLaptops with no GPUFree, see model card4.5 GB at 4-bit, 8.9 GB at 8-bit
Featured image: Public domain via Openverse
Get the week's tech news by email
One email a week with Trendblog's stories on AI, hardware, apps and crypto.
We'll email you to confirm your address. Unsubscribe any time. Privacy policy