Memory at each precision
| Version | Weights | With context | Smallest Mac |
|---|---|---|---|
| 8-bit | 4.4 GB | 5.9 GB | 8 GB |
| 6-bit | 3.4 GB | 4.9 GB | 8 GB |
| 4-bit | 2.3 GB | 3.8 GB | 8 GB |
| 3-bit lower quality | 1.8 GB | 3.3 GB | 8 GB |
| 2-bit lower quality | 1.3 GB | 2.8 GB | 8 GB |
On every Apple chip
The smallest memory size of each chip that runs Nanbeige4.2 3B, the best version that fits it, and the writing speed you can expect.
| Chip | Needs | Version | Tokens/s |
|---|---|---|---|
| M6 | 16 GB | 6-bit Runs well | 12–21 |
| M5 Ultra | 96 GB | 8-bit Runs well | 69–123 |
| M5 Max | 36 GB | 8-bit Runs well | 27–47 |
| M5 Pro | 24 GB | 8-bit Runs well | 18–31 |
| M5 | 16 GB | 6-bit Runs well | 12–21 |
| M4 Max | 36 GB | 8-bit Runs well | 24–42 |
| M4 Pro | 24 GB | 8-bit Runs well | 16–28 |
| M4 | 16 GB | 4-bit Runs well | 13–23 |
| M3 Ultra | 96 GB | 8-bit Runs well | 47–84 |
| M3 Max | 36 GB | 8-bit Runs well | 17–31 |
| M3 Pro | 18 GB | 6-bit Runs well | 11–20 |
| M3 | 8 GB | 4-bit Runs well | 11–20 |
| M2 Ultra | 64 GB | 8-bit Runs well | 46–82 |
| M2 Max | 32 GB | 8-bit Runs well | 23–41 |
| M2 Pro | 16 GB | 8-bit Runs well | 12–21 |
| M2 | 8 GB | 4-bit Runs well | 11–20 |
| M1 Ultra | 64 GB | 8-bit Runs well | 46–82 |
| M1 Max | 32 GB | 8-bit Runs well | 23–41 |
| M1 Pro | 16 GB | 8-bit Runs well | 12–21 |
| M1 | 8 GB | 8-bit Slow | 4–7 |
How to run it
pip install mlx-lmmlx_lm.chat --model mlx-community/Nanbeige4.2-3B-OptiQ-4bitBuild: mlx-community/Nanbeige4.2-3B-OptiQ-4bit on Hugging Face. Other precisions sit next to it.Step by step: download and run LLMs on a Mac · MLX vs Ollama vs llama.cpp
Prefer an app to the Terminal? Compare the Mac apps that run local models in the AI App Store: price, licence and where your data goes.
About Nanbeige4.2 3B
| Made by | Nanbeige (Nanbeige Lab) |
|---|---|
| Parameters | 4.17B (dense) |
| Context | 256K tokens |
| Licence | Apache-2.0 |
| Released | 2026-07 |
| Input | Text |
| Weights | Nanbeige/Nanbeige4.2-3B |
Questions
- How much memory does Nanbeige4.2 3B need?
- About 2.3 GB of weights at 4-bit, plus room for the context: 3.8 GB in all. On a Mac that means 8 GB of unified memory or more, since macOS lets the GPU use about 75% of it by default.
- How fast is Nanbeige4.2 3B on a Mac?
- Writing speed depends on memory bandwidth. The fastest Mac for it here is an M5 Ultra with 96 GB at about 69–123 tokens a second (8-bit). The smallest Mac that runs it, with 8 GB, manages about 11–20 on an M3.
- Does quantization hurt Nanbeige4.2 3B?
- At 4 bits most models stay close to the original quality; below 4 bits quality drops faster. Pick the highest precision that fits your Mac with room to spare.
Similar models
For your model card or README
Shows the smallest Mac that runs Nanbeige4.2 3B well and links here.
[](https://mlx.app/run/nanbeige4.2-3b)How it’s worked out
Memory: the model’s parameters at 8, 6, 4, 3 or 2 bits per weight plus MLX’s group scales (half a bit per weight), or its native format, with room for the context on top. By default macOS lets the GPU use about 75% of unified memory. Speed: memory bandwidth divided by the bytes read per token is the ceiling for one conversation; in llama.cpp’s public Apple Silicon benchmarks real runs reach about 45% to 80% of it, which is the range shown. These are estimates, not measurements: measure your own Mac on MLX Bench. Model figures from each official model card, chip figures from Apple’s Tech Specs. Checked 2026-10-19. Same data as mlx.app/compare.
Open data: mlx.app/data (JSON, CSV)