Microsoft BitNet on a Laptop CPU Delivers 34 Tokens per Second at 0.4 GB of Memory
Microsoft's BitNet b1.58 stores each weight as one of three values (-1, 0, +1), which lets its 2-billion-parameter model run on a laptop CPU without a GPU. On a Core i7, it generates about 34 tokens (word pieces) per second, compared with 15 for full-precision Qwen2.5-1.5B, and occupies 0.4 GB of memory instead of 0.7 GB for the 4-bit versions. It is weaker on the MMLU knowledge test, so for simple tasks such as sorting customer tickets, you should test it on your own hardware first.
AI-processed from Machine Learning Mastery; edited by Hamidun News
Running a language model on an ordinary laptop without a GPU is usually painfully slow and hard on memory. Microsoft's BitNet b1.58 2B4T tries to fix this. Each of its 2 billion weights is only -1, 0, or +1, not a 16-bit number. In Microsoft's measurements, on the Core i7-13800H laptop processor, the model generates about 34 tokens (word pieces) per second, while full-precision Qwen2.5-1.5B produces about 15. BitNet takes up 0.4 GB of memory versus 0.7 GB for the 4-bit versions of Qwen, though this figure excludes the embedding table. Machine Learning Mastery has published a practical guide on how to run the model via bitnet.cpp and fairly compare it with its 4-bit rival.
At the end of September, Hacker News featured a project with a ternary model running on seven ESP32-S3 microcontrollers and a browser lab with seven tiny LLMs. Both raise the question of how small a useful local model can be, and BitNet currently offers the most mature answer.
What "1.58 bits" means
A conventional LLM stores each weight as a 16-bit number. 4-bit quantization takes an already trained model and rounds its weights to 16 possible values. BitNet works differently: each weight takes one of three values (-1, 0, or +1), and the model learns to operate within these constraints from the start. Three states carry about 1.58 bits of information (the base-2 logarithm of 3), which is where the name comes from.
The difference is significant. When rounding happens after training, quality drops. BitNet 2B4T was trained from scratch on 4 trillion tokens with ternary weights and 8-bit activations, so it avoids much of that loss.
The model card includes an important caveat: through the standard Transformers library, you will not get the speed and energy gains, because it lacks the specialized kernels. Efficiency comes only from bitnet.cpp, Microsoft's framework built on llama.cpp. According to the company, the speedup is 2.37x to 6.17x on x86 processors and 1.37x to 5.07x on ARM, with larger gains for bigger models.
What the published numbers show
In its report, Microsoft compares BitNet with full-precision Qwen2.5-1.5B and with two 4-bit variants (GPTQ and AWQ). Memory excluding the embedding table: 0.4 GB for BitNet, 0.7 GB for the 4-bit versions, and 2.6 GB for the original. On quality, the picture is mixed:
- MMLU (knowledge test): 53.17 for BitNet versus 58.06 and 57.43 for the 4-bit Qwen versions;
- GSM8K (school math): 58.38 versus 50.57 and 50.64;
- IFEval (following instructions): 53.48 versus 47.84 and 45.44.
Averaged across the three tests, BitNet scores 55.01 against 52.15 and 51.17 for the 4-bit competitors, so it wins despite being smaller. On speed, on a Core i7-13800H with 8 threads, BitNet spends 29 ms per token versus 65 ms for full-precision Qwen, which is roughly 34 versus 15 tokens per second.
Be careful here. Microsoft does not publish a direct speed comparison with the INT4 versions. The energy estimate (0.028 J per token versus 0.347 J) comes from an arithmetic model, not from a wattmeter measurement. Memory is counted without embeddings, and the actual files are close in size: about 1.19 GB for BitNet in GGUF format versus 0.99 GB for Qwen2.5-1.5B Q4_K_M. All figures come from Microsoft itself.
How to test it on your own hardware
To close these gaps, the author proposes running both servers side by side. BitNet requires Python 3.10+, CMake 3.22+, and Clang 18+. You clone the microsoft/BitNet repository with its submodules, download the GGUF weights, run setup_env.py with the i2_s kernel, and start an OpenAI-compatible server on port 8080. Then you install llama.cpp, download Qwen2.5-1.5B-Instruct in Q4_K_M format, and run llama-server on port 8081. Both use the same conditions: 8 threads and a 2048-token context.
Next, a single Python script sends identical requests to both servers. It calculates tokens per second as the median of three runs, reads process memory via psutil, and checks two tasks that resemble real agent work. The first: assign 12 customer messages to the categories billing, shipping, or technical. The second: turn a request such as "refund $20 for order A1005" into a JSON tool call. The available part of the material does not include results from this run, so you will need to generate the numbers yourself.
What this means in practice
Ticket classification and extracting a tool call from a short phrase are cheap and repeat thousands of times a day. For these tasks, a 2-billion-parameter model on an ordinary CPU, with no GPU and no per-token fees, may be sufficient. If an agent needs broad knowledge, BitNet's MMLU result suggests it falls behind the 4-bit Qwen.
Practical rule: before choosing BitNet, run the script on your own hardware with your own data. And make sure you build it through bitnet.cpp, otherwise the promised speedup will not materialize.
- Nov 26, 2026ARTEX: Hacker AI Agents From China and North Korea Reach Data in 5 Minutes
- Nov 26, 2026A 31 KB fruit-fly-inspired model triages SOC alerts at 97.5% accuracy, up from 90%
- Nov 26, 2026LibreOffice Requires Contributors to Explain Every Line of AI-Generated Code
- Nov 26, 2026Linear: Agents Create More Than Half of Tasks as ARR Tops $100M
Key Questions Answered
What "1.58 bits" means?
A conventional LLM stores each weight as a 16-bit number. 4-bit quantization takes an already trained model and rounds its weights to 16 possible values. BitNet works differently: each weight takes one of three values (-1, 0, or +1), and the model learns to operate within these constraints from the start. Three states carry about 1.58 bits of information (the base-2 logarithm of 3), which is where the name comes from. The difference is significant. When rounding happens after training, quality drops.
What the published numbers show?
In its report, Microsoft compares BitNet with full-precision Qwen2.5-1.5B and with two 4-bit variants (GPTQ and AWQ). Memory excluding the embedding table: 0.4 GB for BitNet, 0.7 GB for the 4-bit versions, and 2.6 GB for the original. On quality, the picture is mixed: MMLU (knowledge test): 53.17 for BitNet versus 58.06 and 57.43 for the 4-bit Qwen versions; GSM8K (school math): 58.38 versus 50.57 and 50.64; IFEval (following instructions): 53.48 versus 47.84 and 45.44.
How to test it on your own hardware?
To close these gaps, the author proposes running both servers side by side. BitNet requires Python 3.10+, CMake 3.22+, and Clang 18+. You clone the microsoft/BitNet repository with its submodules, download the GGUF weights, run setup_env.py with the i2_s kernel, and start an OpenAI-compatible server on port 8080. Then you install llama.cpp, download Qwen2.5-1.5B-Instruct in Q4_K_M format, and run llama-server on port 8081. Both use the same conditions: 8 threads and a 2048-token context.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
