Skip to main content

How to run Qwen 3 14B on Apple M4

Install Qwen 3 14B on a base Apple M4 via Ollama, llama.cpp or MLX, with bandwidth-bound speed limits and the faster 2026 Qwen models to consider.

As of Sept 2026, Qwen 3 14B runs on any 16GB+ M4 Mac at ~11-13 tok/s (120GB/s ceiling). Install via Ollama, llama.cpp or MLX, plus faster 2026 Qwen picks.

How to run Qwen 3 14B on Apple M4

As of September 2026, Qwen 3 14B still runs on any base Apple M4 Mac with 16GB or more of unified memory, but expect roughly 11–13 tokens per second, not more. The Q4_K_M file is 9.0GB (Qwen's official GGUF repository), and the M4's 120GB/s memory bandwidth (Apple) puts the decode ceiling at about 13.3 tok/s. The closest public measurement is the same-size Qwen 2.5 14B at Q4_K_M, which runs at 12 tok/s on a 24GB M4 under Ollama. If you want something newer that runs faster on the same Mac, Qwen3.5-35B-A3B is a mixture-of-experts model with only 3B parameters active per token, and it was measured at 17.3 tok/s on a 16GB Mac mini M4. This guide covers the three install paths (Ollama, llama.cpp, MLX), the bandwidth maths, and when to pick Qwen 3 8B (faster), Qwen 3 32B (smarter, but it needs M4 Pro) or a 2026 Qwen release instead.

What you'll need

Any base Apple M4 Mac with 16GB or more of unified memory: the 2024 MacBook Pro 14" M4, 2024 Mac mini M4, 2025 MacBook Air 13"/15" M4 or 2024 iMac M4. Per the official Apple M4 Pro/Max announcement, the base M4 supports up to 32GB of unified memory at 120GB/s of bandwidth. The M4 Pro offers 273GB/s and the M4 Max up to 546GB/s.

Disk: about 10GB for the Q4 GGUF, plus ~8.3GB for the MLX 4-bit conversion if you want it.

Qwen 3 was released on April 29, 2025 by Alibaba's Qwen team under Apache 2.0. The 14B dense variant has a hybrid thinking mode that you can toggle per turn with /think and /no_think tags, per the Qwen3 blog. It is no longer the newest Qwen: the Qwen3.5 family (February 2026), Qwen3.6 (April 2026) and Qwen3.8-27B (August 2026) have shipped since (see "What's changed as of September 2026" below). Model card: Qwen3 GitHub repo.

Install: Ollama, the 5-minute path

bash
brew install ollama
ollama pull qwen3:14b
ollama run qwen3:14b

Ollama's qwen3:14b tag is still current as of September 2026. It pulls Q4_K_M by default (9.3GB on disk).

To control thinking over the API, set "think": false (or true) on a /api/chat or /api/generate request, per Ollama's thinking docs. In the interactive CLI, add /no_think to a message to skip the <think> block for that turn.

Ollama 0.19 introduced an MLX-powered engine for Apple Silicon, but Ollama's announcement says the preview needs a Mac with more than 32GB of unified memory. Every base M4 tops out at 32GB, so it stays on the llama.cpp-based engine.

Install: llama.cpp, when you want every knob

bash
brew install llama.cpp # or build: cmake -B build && cmake --build build -j

hf download Qwen/Qwen3-14B-GGUF \
 Qwen3-14B-Q4_K_M.gguf --local-dir ./models

llama-cli \
 -m ./models/Qwen3-14B-Q4_K_M.gguf \
 -p "Build a 2026 SFF AI workstation, $1,500 budget." \
 -n 512 -c 8192 -fa on

Two commands have changed since this guide was first written. First, Hugging Face's CLI is now hf (huggingface_hub CLI guide), so use hf download instead of huggingface-cli download. Second, llama.cpp's flash-attention flag now takes a value, -fa on|off|auto. Metal is on by default on macOS builds. -c 8192 gives an 8K window. The model supports much longer contexts, but a 16GB Mac runs out of memory long before that. Cap context at about 16K on a 16GB Mac and 32K on a 24GB Mac.

Install: MLX, the Apple-native path

bash
pip install mlx-lm
mlx_lm.generate \
 --model mlx-community/Qwen3-14B-4bit \
 --prompt "Build a 2026 SFF AI workstation, $1,500 budget." \
 --max-tokens 512

The mlx_lm.generate entry point is unchanged in the current mlx-lm README. The mlx-community 4-bit conversion is 8.3GB, so its bandwidth ceiling on a base M4 is about 14.4 tok/s, only slightly above the GGUF's.

The MLX speed-up depends on architecture. On dense models the gap is small: Hiesch's M3 Max benchmarks put dense 27–32B models at about 17 t/s under llama.cpp versus 18–20 t/s under mlx-lm. On newer MoE and hybrid-attention architectures the gap can be large. The same source measured Qwen3.5-35B-A3B at 58 t/s under llama.cpp versus 95 t/s under mlx-lm. llama.cpp issue #19366 reports roughly 24 t/s (llama.cpp) versus 60 t/s (MLX) for Qwen3-Coder-Next on an M4 Pro. For dense Qwen 3 14B, expect MLX to be modestly faster, not twice as fast.

Inside a Python project, MLX is the natural choice. For the Ollama HTTP API or cross-platform code, stay on llama.cpp.

Real-world numbers on base M4

No public base-M4 measurement of Qwen 3 14B itself could be verified, so the table pairs its bandwidth ceiling (120 GB/s ÷ file size) with measured rows for same-size models on the same chip. Real decode lands at roughly 80–95% of the ceiling.

Model and quantWeight fileMacRuntimeDecode tok/sCeilingSource
Qwen 3 14B Q4_K_M9.0GBany base M4—~11–12 expected13.3ceiling from file size
Qwen 2.5 14B Q4_K_M (same size class)9.0GBM4, 24GBOllama12 (measured)13.4kunalganglani.com
Qwen 3 8B Q4_K_M5.0GBMac mini M4, 32GBllama.cpp b1092919.7 empty ctx / 16.1 at 8K23.9VettedConsumer
Llama 3.1 8B Q4_K_M4.9GBM4, 16GBOllama23 (measured)24.4kunalganglani.com

For comparison, the same source measured an M4 Pro 24GB at 34 tok/s on Llama 3.1 8B, against 23 on the base M4. On Qwen 3 14B, the M4 Pro's 273GB/s raises the ceiling to about 30 tok/s. That makes it roughly a 2x upgrade, not a 20% one.

For broader context, the Mac Studio M4 Max at 546GB/s has a ~60 tok/s ceiling on this 9GB file. For a discrete GPU, an RTX 4090 desktop was measured at 92 tok/s on Qwen 2.5 14B Q4_K_M in llama.cpp.

What's changed as of September 2026

Three newer Qwen releases fit a base M4. Each row is a public, measured decode figure on a base M4; file sizes are from the linked Hugging Face repos.

Model (released)Quant / file sizeMacRuntimeDecode tok/sCeiling at 120GB/sSource
Qwen3.5-35B-A3B (Feb 2026, MoE, 3B active)UD-IQ3_XXS, 13.1GBMac mini M4, 16GBllama.cpp, --n-gpu-layers 0 --mmap17.3~107 (active bytes ≈ 1.1GB)jock.pl
Qwen3.5-9B (Feb 2026, dense)Q4_K_M via Ollama qwen3.5:9b (5.7GB text weights, 6.6GB tag)Mac mini M4, 16GBOllama12.6~21jock.pl
Qwen3.8-27B (Aug 2026, dense)UD-Q3_K_XL, 13.1GBM4, 24GBllama.cpp b104505.8 at 32K ctx / 6.0 at 8K~9.1qwen38-mtp Apple sweep

What this means in practice:

  • Qwen3.5-35B-A3B is the speed pick on 16–24GB. Only about 3B of its 35B parameters are read per token, so it outruns the dense 14B. The 16GB run above used the CPU with mmap. The 13.1GB file plus KV cache is tight on 16GB and comfortable on 24GB.
  • Qwen3.5-9B is the smaller, newer option. Its ceiling (~21 tok/s) is well above Qwen 3 14B's. The one public figure (12.6 tok/s) came from a busy automation box, so treat it as a floor.
  • Qwen3.8-27B fits a 24GB M4 only at a 3-bit quant, and it is slow. The ~6 tok/s above is usable for batch work, not for chat. Its Q4_K_M file is 16.5GB, which suits 32GB M4s or an M4 Pro.
  • Qwen3.6-35B-A3B (April 2026) has a 22.1GB UD-Q4_K_M file (Unsloth GGUF), so it needs the 32GB M4; no verified base-M4 measurement exists yet, so it has no row.

Why throughput tops out near 13 tok/s on M4 base

Decoder LLM inference at batch size 1 is bandwidth-bound: every generated token reads every weight once. Qwen 3 14B at Q4_K_M is 9.0GB, so the theoretical maximum on a base M4 is 120 / 9.0 ≈ 13.3 tok/s. No runtime can beat that for a dense model (MLX's smaller 4-bit file allows ~14.4). Measured Macs typically land at 80–95% of the ceiling: the Qwen 2.5 14B row above is at about 90%, and the Qwen 3 8B row at about 82%. Long contexts cost more, because the KV cache is also read on every token. VettedConsumer measured Qwen 3 8B dropping from 19.7 to 16.1 tok/s at 8K tokens of context on a Mac mini M4. The wall is the chip's bandwidth, which is also why MoE models with few active parameters now beat dense 14B models on the same hardware.

Picking a quantization

File sizes below are from Qwen's GGUF repo (Q3_K_M from Unsloth's GGUF repo). The ceilings are 120GB/s divided by file size.

QuantFile sizeNotesM4 base ceiling (tok/s)
Q3_K_M7.3GBNoticeable loss on hard reasoning. Use only if memory-starved16.4
Q4_K_M9.0GBOllama default. The right trade-off for most users13.3
Q5_K_M10.5GBSmall quality gain, ~15% slower11.4
Q6_K12.1GBClose to lossless. 24GB+ only9.9
Q8_015.7GBNear-reference quality. 24GB is tight, 32GB comfortable7.6

Q4_K_M is the right default. On a 24GB Mac you can step up to Q6_K and still leave around 10GB for macOS and apps, at a ~25% speed cost.

Common pitfalls

Pitfall #1: A 16GB Mac with Slack, Chrome and Xcode running. The model needs about 10–11GB at runtime (9.0GB of weights plus KV cache and Metal scratch), leaving roughly 5GB for macOS and apps. Close Docker, heavy browsers and big IDEs, or upgrade to 24GB.

Pitfall #2: Thinking mode eating your context and time. Qwen 3's <think> blocks often run to thousands of tokens before the final answer. At ~12 tok/s on a base M4, 2,000 thinking tokens is close to three minutes of waiting. For interactive coding, turn thinking off (/no_think, or "think": false over the Ollama API). Keep it on for research and analysis tasks where you want to inspect the reasoning trace.

Pitfall #3: Unofficial Ollama tags. Community-uploaded Qwen 3 tags can lag behind chat-template and tokenizer fixes. Use the official qwen3:14b tag, or a GGUF straight from Qwen's repo.

Pitfall #4: Battery throttling. Apple Silicon laptops can reduce sustained GPU performance on battery or under thermal load, and the fanless MacBook Air throttles first. Plug in for any sustained inference work.

Pitfall #5: Context length explosion. The KV cache grows linearly with context, and past a few tens of thousands of tokens it adds several gigabytes on top of the 9.0GB of weights, pushing a 16GB Mac into swap. Cap context at 8K–16K on 16GB, 32K on 24GB, and 64K on an M4 Pro with 48GB.

When NOT to run Qwen 3 14B on M4 base

Four cases where you should pick differently:

  1. You want more than 15 tok/s for interactive coding. The base M4 cannot get there with a dense 14B model. Drop to Qwen 3 8B (19.7 tok/s measured on a Mac mini M4), switch to the Qwen3.5-35B-A3B MoE (17.3 tok/s, see above), or upgrade to an M4 Pro.
  2. You need 32B-class reasoning. Qwen 3 32B is meaningfully better on coding and tool use, but it needs an M4 Pro with 48GB+; see run Qwen 3 32B on M4. On a 24GB base M4, Qwen3.8-27B at 3-bit is the only current dense option in that class, at about 6 tok/s.
  3. Server-class throughput. Single-user use is fine, but batched multi-user serving is poor on a base M4. A used RTX 3090 24GB rig has 936GB/s of bandwidth, nearly 8x the M4's.
  4. You're starting fresh in late 2026. Newer Qwen releases (above) are either faster on the same memory (35B-A3B) or smaller (3.5-9B). Try them before committing to a 17-month-old model.

Worked example: research assistant on Mac mini M4

A Mac mini M4 with 24GB makes a capable always-on research bot:

bash
# 1. Ollama as a background service
brew services start ollama

# 2. Pre-warm Qwen 3 14B and keep it resident
curl -X POST http://localhost:11434/api/generate \
 -d '{"model":"qwen3:14b","keep_alive":-1,"prompt":""}'

# 3. Pipe documents in via the chat endpoint (think:false for fast summaries)
cat paper.txt | python3 summarize.py

Based on the measurements above, expect about 11–12 tok/s on Q4 with short contexts, dropping somewhat on long documents as the KV cache grows. A 16GB Mac mini M4 runs this way as a daily headless automation box, with its heavy tier on the faster Qwen3.5-35B-A3B MoE.

Setup cost is the Mac plus $0 in software and $0 a month in API fees.

Worked example: enabling thinking mode for a math problem

bash
ollama run qwen3:14b
>>> /set system You are an expert math tutor. Think step by step before answering.
>>> A train leaves Chicago at 60mph. Another leaves NYC at 75mph...
Thinking...
Let me set up the variables...
[~1,800 tokens of reasoning]
...done thinking.

The trains meet 3.4 hours after the first one leaves...

At ~12 tok/s on a base M4, 1,800 thinking tokens take about 2.5 minutes. That is acceptable for a non-trivial word problem, but it is why thinking should be off for chat. In exchange, your work stays private and offline.

Verdict

Qwen 3 14B on a 16GB or 24GB M4 Mac is still a solid, well-understood local-LLM setup in September 2026: a capable 14B reasoning model at 11–13 tok/s with no fan noise or discrete-GPU power draw. It is no longer the best-value choice, though. On the same Mac, Qwen3.5-35B-A3B decodes faster (3B active parameters) and Qwen3.5-9B is lighter.

If you need more headroom (32B-class reasoning, 64K context, batched serving), upgrade to an M4 Pro running Qwen 3 32B or step over to an NVIDIA build with an RTX 4090. If ~12 tok/s on Q4_K_M is enough, and for most chat, RAG and coding-assist workloads it is, the base M4 is the cheapest Apple Silicon that gets the job done.

How the numbers in this article were sourced

Every tok/s figure links to the public page that reports it. Where no public base-M4 measurement exists (Qwen 3 14B itself), the article gives the bandwidth ceiling (120 GB/s ÷ Hugging Face file size) and a labelled same-size proxy. MoE ceilings use active-parameter bytes (file size × active ÷ total parameters). Figures labelled "estimated" by aggregator sites were excluded. Treat the numbers as a planning range.

Citations and sources

  • https://huggingface.co/Qwen/Qwen3-14B-GGUF
  • https://huggingface.co/unsloth/Qwen3-14B-GGUF
  • https://huggingface.co/mlx-community/Qwen3-14B-4bit
  • https://ollama.com/library/qwen3:14b
  • https://docs.ollama.com/capabilities/thinking
  • https://ollama.com/blog/mlx
  • https://www.apple.com/newsroom/2024/10/apple-introduces-m4-pro-and-m4-max/
  • https://en.wikipedia.org/wiki/Apple_M4
  • https://qwenlm.github.io/blog/qwen3/
  • https://github.com/QwenLM/qwen3
  • https://huggingface.co/docs/huggingface_hub/guides/cli
  • https://github.com/ml-explore/mlx-lm
  • https://hiesch.eu/blog/llamacpp-benchmarks-speculative-decoding/
  • https://github.com/ggml-org/llama.cpp/issues/19366
  • https://www.kunalganglani.com/llm-benchmarks
  • https://vettedconsumer.com/mac-mini-m4-32gb-first-party-benchmark-qwen3-llama-cpp/
  • https://thoughts.jock.pl/p/local-llm-35b-mac-mini-gemma-swap-production-2026
  • https://github.com/sudoingX/qwen38-mtp/blob/master/sweeps/apple-silicon.md
  • https://huggingface.co/unsloth/Qwen3.5-35B-A3B-GGUF
  • https://huggingface.co/Qwen/Qwen3.5-9B
  • https://huggingface.co/unsloth/Qwen3.8-27B-GGUF
  • https://huggingface.co/unsloth/Qwen3.6-35B-A3B-GGUF
  • https://ollama.com/library/qwen3.8
  • https://github.com/ml-explore/mlx-swift

This piece is editorial synthesis based on publicly available information. No independent first-party benchmarking is reported.

Products mentioned

Small-model (7–9B) reference throughput

These figures are for 7–9B models, not the 12–14B models this article covers. The table holds model size fixed so the cards can be compared with each other; for the size in the title, use the article's own figures.

Median generation throughput at 7–9B models (Llama 3.1 8B, Qwen 3 8B), Q4 quantization, from community-reported runs SpecPicks tracks. Each row pools runs from different sources, runtimes and models in that class, so the rows are not a matched head-to-head; where the article compares cards on the same rig, its own figures are the like-for-like result. Street price is the second-lowest listing priced within the last 24 hours at 0.5–2× launch MSRP, so no single listing sets it, and a street figure well above MSRP says so in its cell; where too few listings pass that check the row shows launch MSRP instead.

GPUVRAM Llama-3-8B class, Q4Street price Sources
Apple M4 Pro Unified, up to 64 GBshared with the OS · 273 GB/s 48 tok/s5 runs · 4 sources — SpecPicks median of 5 runs; sources: LLMCheck, heyuan110.com, llama.cpp GitHub Discussions, Local AI Master
Apple M4 Pro 12 Core — 43.5 tok/s4 runs · 4 sources — SpecPicks median of 4 runs; sources: heyuan110.com, Kunal Ganglani LLM Benchmarks, llama.cpp GitHub Discussions, LLMCheck
Apple M4 Unified, up to 32 GBshared with the OS · 120 GB/s 33 tok/s5 runs · 3 sources — SpecPicks median of 5 runs; sources: LLMCheck, Macyou, Local AI Master

Products mentioned in this article

Amazon & eBay listings, plus full specs and alternatives on each product page.

As an Amazon Associate, SpecPicks earns from qualifying purchases; we also earn on qualifying eBay purchases via the eBay Partner Network. Prices shown were last tracked at crawl time and may vary — check the listing for the current price.

Watch a review

The M4 Mac Mini is Incredible! — Marques Brownlee on YouTube

Frequently asked questions

Does Qwen 3 14B fit in 16GB of unified memory on an Apple M4?
Yes, but with little headroom. The Q4_K_M file from Qwen's official GGUF repository is 9.0GB and uses about 10 to 11GB at runtime with an 8K context, which leaves roughly 5 to 6GB for macOS and your apps. Close Docker, heavy browsers and large IDEs, or choose the 24GB configuration if you plan to run 14B models regularly.
How fast is Qwen 3 14B on a base Apple M4?
Expect roughly 11 to 13 tokens per second. The base M4 has 120GB/s of memory bandwidth, and the 9.0GB Q4_K_M file sets a decode ceiling of about 13.3 tokens per second that no runtime can exceed for a dense model. The closest public measurement, the same-size Qwen 2.5 14B at Q4_K_M, runs at 12 tokens per second on a 24GB M4 under Ollama.
How does Qwen 3 14B compare to Llama 3.1 8B on the same M4 Mac?
Qwen 3 14B is meaningfully stronger at coding, math and tool use, but roughly half as fast, because it reads nearly twice as many bytes per token against the same 120GB/s bandwidth. Llama 3.1 8B at Q4_K_M has been measured at 23 tokens per second on a 16GB M4, versus about 12 for a 14B model of the same size as Qwen 3 14B. Pick Qwen 3 14B for quality and an 8B model for responsiveness.
Is there a newer Qwen model that runs better on a base M4?
Yes. Qwen3.5-35B-A3B is a mixture-of-experts model with only 3B parameters active per token, and its 13.1GB UD-IQ3_XXS quant was measured at 17.3 tokens per second on a 16GB Mac mini M4, faster than dense Qwen 3 14B. Qwen3.5-9B is a lighter dense option. The newest dense model, Qwen3.8-27B, fits a 24GB M4 only at a 3-bit quant and was measured at about 6 tokens per second.
Should I use thinking mode on Qwen 3 14B?
Turn it off for interactive coding and chat, because long think blocks of a couple of thousand tokens take minutes at about 12 tokens per second on a base M4. Turn it on for research, math and any task where you want to inspect the reasoning. You can switch per turn with the /think and /no_think tags, or set think to false in an Ollama API request.

— Mike Perry · Updated 2026-10-17

Parts this article names

Amazon Associate — prices tracked 2026-10-20, may vary.