LFM2 24B-A2B on Apple M4 (32 GB)
Can the Apple M4 (32 GB) run LFM2 24B-A2B?
Yes, it runs great
Runs great. At Q4_K_M it needs about 17.0 GB of 21.4 GB usable, with an estimated speed of 46.5 tok/s.
- Best quant
Q4_K_M- Generation speed
- 46.5 tok/s
- Prompt processing
- 1,159 tok/s
- First token (1K prompt)
- 0.9 s
- Largest safe context
- 125K
Best app to run it on the Apple M4 (32 GB)
On macOS
- Runs the MLX build, typically 35–90% faster than GGUF for a model with 2.3B active parameters on Apple silicon.
- Point-and-click: search, download and chat in one window.
Download LFM2 24B-A2B
Recommended for the Apple M4 (32 GB): Q4_K_M. Every other quantization has its own download link in the table below.
Quickest · Ollama
One command downloads a ready-to-run version and starts a chat.
ollama run lfm2:24b-q4_K_MQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the Q4_K_M file (opens in a new tab)
huggingface.co/LiquidAI/LFM2-24B-A2B-GGUF (opens in a new tab)
ollama run hf.co/LiquidAI/LFM2-24B-A2B-GGUF:Q4_K_MOriginal weights · Hugging Face
Full-precision files from Liquid AI, for fine-tuning, vLLM, Transformers.
Official repo · GitHub
Reference code, inference scripts and docs from Liquid AI. The weights themselves download from Hugging Face.
github.com/Liquid4All/cookbook (opens in a new tab)
git clone https://github.com/Liquid4All/cookbookHow it’s rated
Match score
To order lists, each result also gets a match score out of 100 from four parts. It favors the most capable model that still runs well.
| Model quality | 23.9 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 15.0 / 15 | |
| Memory use | 15.0 / 15 | |
| Match score | 78.9 / 100 |
Every quantization on the Apple M4 (32 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q2_K | 12.0 GB | 21.4 GB | 70.6 tok/s | Runs great | 39Basic quality (D) · 39 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 70/100 (quality, fit, speed and memory use) sets the ranking. | GGUF files (opens in a new tab) |
Q3_K_M | 14.2 GB | 21.4 GB | 57.9 tok/s | Runs great | 47Fair quality (C) · 47 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking. | GGUF files (opens in a new tab) |
Q4_K_M | 17.0 GB | 21.4 GB | 46.5 tok/s | Runs great | 53Fair quality (C) · 53 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q5_K_M | 19.4 GB | 21.4 GB | 39.3 tok/s | Runs welltight fit | 54Fair quality (C) · 54 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q6_K | 22.0 GB | 21.4 GB | 28.6 tok/s | Runs wellover GPU memory limit | 55Good quality (B) · 55 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 62/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q8_0 | 27.8 GB | 21.4 GB | — | Won't run | 56Good quality (B) · 56 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 7/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
F16 | 50.2 GB | 21.4 GB | — | Won't run | 56Good quality (B) · 56 of 100: how capable the model is at F16, whatever it runs on. Match score 7/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) Original weights (opens in a new tab) |
Memory figures assume 8K of context. Longer conversations or documents grow the KV cache.
Other hardware that runs it
-
56Good quality (B) · 56 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking.
Apple M4 Pro (48 GB)
-
55Good quality (B) · 55 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5090
-
56Good quality (B) · 56 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking.
Apple M1 Max (64 GB)
-
56Good quality (B) · 56 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking.
Apple M4 Max (64 GB)
-
54Fair quality (C) · 54 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
54Fair quality (C) · 54 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 3090
Quick answers
How much memory does LFM2 24B-A2B need on the M4 32GB?
At Q4_K_M it needs about 17.0 GB. The M4 32GB has 21.4 GB usable.
How fast is LFM2 24B-A2B on the M4 32GB?
About 46.5 tok/s at Q4_K_M, an estimate from the hardware’s memory bandwidth and the size of the model.
Which quantization of LFM2 24B-A2B should I use on the M4 32GB?
Q4_K_M. Of the versions that fit, it is the one that runs best; when two run equally well, the check prefers the higher-rated one.
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.