LayerFit™: bits where they matter
LayerFit™ is NetProjects™' own method for building small MLX models for Macs with Apple Silicon: it measures which parts of a model suffer most when squeezed, then spends the bits where they matter.
Bits where they matter. Same size, closer to the original. Ready to run locally.
60 builds · 20 models · as of 30 Nov 2026

How LayerFit works
Step 1
Measure
We squeeze each part of each layer on its own (the MLP, attention and linear-attention blocks, the embeddings and the output head) and measure how far the output moves from the original model.
Step 2
Budget
We set a size target for a Mac, for example 9.1 GB for a Mac with 16 GB of memory.
Step 3
Search
We spend the bits where they matter. Sensitive parts keep 4 to 8 bits; robust ones drop to 2 or 3. Each recipe is scored against the original, and it must beat a standard build of the same size before we publish it.
Step 4
Keep the format
The result is a normal MLX build. There is no custom runtime: it loads in stock mlx-lm, mlx-vlm and LM Studio like any other build.
Every recipe ships in its repository, as layerfit-recipe.json or quant-recipe.json, so anyone can see exactly which bits went where.
Same size, closer to the original
Qwen3.8-27B, LayerFit against a standard build of exactly the same size. Our harness uses the language-model weights only, 32 passages of 512 tokens across English, other languages, code, tool calls and maths, scored against our own MLX bf16 conversion; GSM8K-50 is 50 grade-school maths questions with thinking off.
| Size | Standard build | LayerFit build |
|---|---|---|
| 4-bit, 16.5 GB | 92.7% top-1, 44/50 | 94.0% top-1, 38% lower error, 46/50 |
| 3-bit, 13.1 GB | 84.4% top-1, 44/50 | 88.6% top-1, 38% lower error, 45/50 |
| 2.5-bit, 11.5 GB | 75.9% top-1, 41/50 | 83.4% top-1, 52% lower error, 46/50 |
| 2-bit, 9.1 GB | 68.2% top-1, 30/50 | 76.7% top-1, 46% lower error, 46/50 |
Top-1 is how often the build picks the same next token as the bf16 model; error is the KL divergence from it. The headline: at 2-bit, a 27B model that fits a 16 GB Mac scores 46/50 on GSM8K-50, against 30/50 for a standard 2-bit build of the same size.
Which build fits my Mac
Each pick leaves room for macOS and a long prompt: the download is at most about 60% of the Mac's memory. For the Qwen3.8-27B family, including the coding-agent builds:
| Your Mac | LayerFit build |
|---|---|
| 16 GB | 2-bit, 9.1 GB (text only) |
| 16 GB, stretch | 2.5-bit, 11.5 GB |
| 24 GB | 3-bit, 13.1 GB |
| 32 GB | 4-bit, 16.5 GB |
| 48 GB and up | A standard 6-bit or 8-bit build; LayerFit adds little there |
For a Mac with 8 GB, the small LayerFit builds fit: Qwen3.5-4B at 2.5 GB (3-bit) or 3.0 GB (4-bit), Qwen3.5-9B 3-bit at 4.8 GB, NVIDIA's Nemotron Dory 1.0 4B 3-bit at 1.7 GB, and, tightly, Ornith-1.5-9B 3-bit at 4.8 GB.
Every LayerFit build
60 public builds across 20 models as of 30 Nov 2026. Sizes are on disk, as listed on each model card; each size links to its repository on Hugging Face. New builds appear first in the live list.
Qwen3.8-27B
Alibaba Cloud (Qwen team)
Qwen3.8-27B super-adapter
harness-hub
Qwen3.8-27B pi-adapted
harness-hub
Qwen3.8-27B think-pi-adapted
harness-hub
Qwen3.8-27B hermes-adapted
harness-hub
Qwen3.8-27B opencode-adapted
harness-hub
Inkling 2 Mini
Thinking Machines
each plus a 0.64 GB draft
Gemma 4 31B it
Google
Gemma 4 26B-A4B it
Google
Gemma 4 12B it
Google
- 4-bit 6.8 GB
Qwen3.6-35B-A3B
Alibaba Cloud (Qwen team)
Qwen Concept 27B
Concept Country
Arete-27B
Nous Research
DaisyRose-27B
RadixArk
Hy-MT3-30B-A3B (translation)
Tencent
SenseNova-Loop-9B
SenseNova
Ornith-1.5-9B
Ornith team
Qwen3.5-9B
Alibaba Cloud (Qwen team)
- 3-bit 4.8 GB
Qwen3.5-4B
Alibaba Cloud (Qwen team)
Nemotron Dory 1.0 4B
NVIDIA
- 3-bit 1.7 GB
See every LayerFit build, live on Hugging Face →One pick per model (collection)
Honest limits
- LayerFit is for small builds, from 2 to 4 bits. At 6-bit and 8-bit a standard build already stays close to the original, LayerFit adds little, and the model cards say so.
- Only repositories with LayerFit in the name are LayerFit builds. Our older 2.5-bit and 3-bit builds of DaisyRose-27B, Arete-27B and the coding-agent models without it in the name were tuned per layer by hand, and our small GGUF files use an importance matrix; neither is LayerFit.
- The 2-bit builds of the Qwen3.8-27B family and Qwen3.6-35B-A3B are text only: the vision tower is left out so they fit.
- Our checks are short and run on one machine: a fixed set of passages, 50 maths questions and a few tool-calling, coding and reasoning prompts. Speeds are indicative.
Questions
Is LayerFit a custom runtime?
No. A LayerFit build is a normal MLX build. It loads in stock mlx-lm, mlx-vlm and LM Studio like any other build; only the bits given to each part of the model differ, and the recipe that sets them ships in the repository.
Why not use LayerFit at 6-bit or 8-bit?
At 6-bit and 8-bit a standard build already stays close to the original, so choosing bits layer by layer adds little. LayerFit is for small builds, from 2 to 4 bits. For a Mac with 48 GB or more, a standard 6-bit or 8-bit build is the better pick.
Which repositories count as LayerFit builds?
Only repositories on our Hugging Face organisation with LayerFit in the name. Our older hand-tuned 2.5-bit and 3-bit builds of DaisyRose-27B, Arete-27B and the coding-agent models, and our GGUF files, which use an importance matrix, are not LayerFit builds. The live list: https://huggingface.co/models?author=netprojects&search=LayerFit
Are these official benchmarks?
No. Every comparison is our own measurement with our own harness: the same test at the same size, against our bf16 conversion, or Thinking Machines' code for Inkling 2 Mini. For the makers' own results, see the original model cards.
How is LayerFit kept up to date?
We keep the builds current on Hugging Face. When a maker releases a new version of a model, or LayerFit finds a better recipe, we rebuild, re-test and publish it there, and each model card carries the current figures. This page links to the live list, so it always points to the latest builds: https://huggingface.co/models?author=netprojects&search=LayerFit
LayerFit and the LayerFit builds are by NetProjects™ (Internet Projects Ltd). NetProjects™ and LayerFit™ are trade marks of Internet Projects Ltd.
Not affiliated with Google, Alibaba Cloud or the Qwen team, Nous Research, RadixArk, Concept Country, Tencent, SenseNova, the Ornith team or DeepReinforce, NVIDIA, Thinking Machines or harness-hub.
More in our Insights: LayerFit™: our own method for small MLX builds that stay closer to the originalAll our AI ports
Last updated