Every large language model is, at the bottom, a giant stack of numbers. How finely those numbers are measured decides memory, speed, and what hardware the model fits on, making the number format one of the most consequential choices in machine learning.
The trending query Ternary Bonsai 2.5 27B surged on the Hacker News front page with about 500 points in late November 2026, which is why it earns a closer read here. The aim is not to chase the spike but to find the durable idea underneath it, the kind of lesson that stays useful after the trend itself fades from the charts. That separation between velocity and value is the whole reason this post exists.
What a model actually stores
Strip away the chat interface and a neural network is matrices of weights: billions of adjustable numbers encoding what the model has learned. Each weight is usually stored as a 16- or 32-bit floating-point number, a format that trades precision for range. Multiply that by billions of parameters and the numbers dominate the system.
The consequences are physical: the model must fit in memory, and every generated token means streaming those weights from memory to the compute units. For large models, memory bandwidth, the speed at which data reaches the processor, is often the real bottleneck. The lesson is that a model's size is a storage question first, and one number's format sets the physics of the whole system.
Three levels instead of thousands
Ternary quantization compresses each weight to roughly three values: -1, 0, and +1. Multiplying by one of them needs no floating-point hardware at all; it is adding, skipping, or subtracting, which chips can do with cheap integer logic or a lookup table. Storage drops from sixteen or more bits per weight to about two, an eightfold cut on paper.
The savings compound: less memory to hold, less bandwidth to move, and simpler circuits to run, which is how a 27-billion-parameter model becomes practical on hardware that could never hold its full-precision twin. Compression decides which computers can run the model at all; the size saving is only the start. The lesson is about representation: choosing the precision a system truly needs is often worth more than raw speed.
Drop in your PDF - it doesn't leave your device.
Every miss becomes a red node on your map.
Free plan: 21 nodes, no card, no countdown.
Training to live with coarseness
The craft is not rounding a finished model and hoping for the best; naive rounding degrades quality because a network trained on fine values cannot cope with three levels per weight. Quantization-aware training instead teaches the model to tolerate the coarse values from the start, letting the remaining weights adjust to compensate.
That is the quiet insight of the ternary approach: quality comes from training inside the final constraints, not from patching afterward. The system is designed for the values it will actually hold. The lesson generalizes beyond chips: a constraint met during design is cheap, while the same one bolted on at the end is expensive.
| Weight format | Values per weight | Hardware cost |
|---|---|---|
| 32-bit float | Billions of levels | Full floating-point units |
| 16-bit float | Tens of thousands of levels | Half-precision math |
| Ternary | Three: -1, 0, +1 | Integer add or lookup |
Key takeaways
- Neural networks are matrices of weights, usually stored as 16- or 32-bit floating-point numbers per weight.
- Ternary quantization maps each weight to roughly -1, 0, or +1, multiplied by hardware with cheap integer or lookup logic.
- Compression shrinks memory bandwidth, often the real bottleneck for large models, enabling bigger models on smaller machines.
- Quality depends on training the model to tolerate coarse values, not on rounding a finished model afterward.
- Representation is a design decision: the precision of a single weight sets the memory, speed, and hardware of the system.
Quick answers
What is Ternary Bonsai 2.5 27B?
A 27-billion-parameter language model whose weights are stored at three levels, roughly -1, 0, and +1.
What is quantization?
Storing a model's numbers with fewer bits per value, trading numerical detail for memory and speed.
Why does ternary arithmetic help?
Multiplying by -1, 0, or +1 is just subtracting, skipping, or adding, so hardware stays cheap and light.
Does quality collapse at three levels?
Not when training is quantization-aware; naive rounding of a finished model is what hurts.
Why is memory bandwidth the bottleneck?
Every generated token streams the weights past the processor, so moving data can cost more than computing it.
One thing to do tonight
Open any spreadsheet you own and ask what precision each number truly needs. Most will not miss the truncated digits, and that instinct, trimming precision to what matters, is quantization in miniature.