BitNet Chat: a 2B ternary model on a CPU

2026-10-14  |  AI BitNet ternary CPU inference local LLM

> PROJECT: BITNET CHAT

STATUS........ LIVE
MODEL......... BitNet b1.58 2B4T (Microsoft Research)
WEIGHTS....... native ternary, one of {-1, 0, +1}, 1.58 bits per weight
ENGINE........ llama-server, BitNet fork: ARM fixes + NEON i2_s kernel
HARDWARE...... Mac mini, CPU only, no GPU
SERVING....... 117 to 147 tokens/second measured, ~120 to the browser
LATENCY....... ~0.4s to the first token (VPS + private tunnel hop)
COST.......... 0. Just electricity.

Overview

BitNet b1.58 2B4T is Microsoft Research’s 2-billion-parameter model whose weights are ternary: every weight is one of {-1, 0, +1}. It was trained that way from the start, not quantised after the fact, so the low-bit constraint shaped the weights while they were learned. No floating point multiply is needed to run it, which is why a plain CPU can serve it at a usable speed.

This demo serves the model from the Mac mini on my desk. The page never learns where that machine is: nginx on a small VPS relays the requests over a private tunnel, the inference box is not reachable from the open internet, and nothing in the page you are reading carries an address, a hostname or a key.


What It Demonstrates

  • A 2B model answering at 117 to 147 tokens per second on CPU cores, no GPU (~120 of that reaches the browser, after about 0.4s of tunnel and VPS latency).
  • Ternary weights are not the same thing as a 2-bit quantisation of a full precision model (that would be Q2). The model was never full precision.
  • A public demo can be run from a home machine without exposing it: one relay, one served path, secrets held server side.

Caveats

It is a 2B model, so it is fluent and shallow at the same time. Ask it who the current prime minister is and it will name someone who left office years ago, then invent a date for it. Ask for books on a subject and it will produce a plausible title and the wrong author. That is the downside of running a 2B parameter model, not because of the ternary weights.

Everything is stateless: reload and the conversation is gone. It is one request at a time, first come first served.


bitnet-b1.58-2B — live on a Mac mini near Copenhagen
// single-slot CPU inference, ~120 tok/s — about 0.4s before the first token, it crosses a private tunnel; one visitor at a time, be nice
// type /help for commands
jimmy@bitnet:~$