Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
InfrastructureInsight · On RadarMachine Learning Mastery→ original

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
Microsoft BitNet on a Laptop CPU Delivers 34 Tokens per Second at 0.4 GB of Memory
Source: Machine Learning Mastery. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceMachine Learning Mastery ↗
Editor-in-Chief
MMLU (knowledge)53.17 for BitNet versus 58.06 for 4-bit Qwen
GSM8K (math)58.38 for BitNet versus 50.57 for Qwen
Files are almost the same size1.19 GB for BitNet and 0.99 GB for Qwen Q4_K_M

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.

Story

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.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

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.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Microsoft BitNet on a Laptop CPU Delivers 34 Tokens per Second at 0.4 GB of Memory https://news.hamidun.com/en/news/18313/microsoft-bitnet-on-a-laptop-cpu-delivers-34-tokens-per-seco

What do you think?
Loading comments…