Inside the Lab · Field note 014 · Measurements
Two Bonsai 8B models on the same Mac
Ternzip stored the ternary model in 1.624 GB. Prism’s binary checkpoint used 1.159 GB. We scored the same tokens and timed the same two prompts on an Apple M4 Pro.
Next-token accuracy
Both models received the same sequence of token IDs. We counted how often the most likely next token was correct. Perplexity (PPL) also accounts for the probability assigned to the actual next token. Lower perplexity is better.
| Text set | Ternzip ternary | Prism binary |
|---|---|---|
| Original 733 733 positions | 377 10.82 PPL | 358 14.66 PPL |
| Extra text set 1 4,064 positions | 1,890 15.30 PPL | 1,819 19.00 PPL |
| Extra text set 2 4,064 positions | 1,761 27.18 PPL | 1,614 35.71 PPL |
| Held-out text 4,064 positions | 1,862 17.14 PPL | 1,798 20.93 PPL |
| All positions 12,925 positions | 5,890 18.63 PPL | 5,589 23.54 PPL |
In a separate chat we asked “What is 17 × 6? Answer with the number only.” Both models answered “102” and stopped.
Generation speed
We ran each 4,096-token prompt three times per model, with greedy decoding and a 5,120-token context. Timing started after the model read the prompt and ended at its stop token or 1,024 output tokens. Both used the same pinned Prism Metal backend on macOS 26.5.
Ternzip ternary
| Run | Prompt | Tokens out | Tokens/s |
|---|---|---|---|
| 1 | Story | 901 | 59.66 |
| 2 | Code | 1,024 | 59.71 |
| 3 | Story | 901 | 60.15 |
| 4 | Code | 1,024 | 59.64 |
| 5 | Story | 901 | 59.82 |
| 6 | Code | 1,024 | 59.96 |
The median was 59.76 tokens/s. The two loads took 19.31 and 19.35 seconds, including the file checksum. The whole process occupied 2.98–3.84 GB after generation.
Prism binary
| Run | Prompt | Tokens out | Tokens/s |
|---|---|---|---|
| 1 | Story | 1,024 | 81.37 |
| 2 | Code | 1,024 | 80.21 |
| 3 | Story | 1,024 | 81.20 |
| 4 | Code | 1,024 | 81.32 |
| 5 | Story | 1,024 | 81.46 |
| 6 | Code | 1,024 | 83.48 |
The median was 81.34 tokens/s. The two loads took 0.88 and 0.87 seconds, including the file checksum. The whole process occupied 2.23–2.23 GB after generation.
The files we ran
- Ternzip archive · 1,623,736,952 bytes
- ternzip-8b.trits
- Prism binary GGUF · 1,158,654,496 bytes
- Bonsai-8B-Q1_0.gguf
The earlier Ternzip release benchmark measured ten runs with the same two prompts and recorded a median of 61.38 tokens/s. Release benchmark