AIAny
AI Infra2024
Icon for item

bitnet.cpp (BitNet)

Official inference framework for 1-bit and ternary (1.58-bit) LLMs such as BitNet b1.58, with optimized CPU kernels. Delivers 1.37x-6.17x speedups and 55-82% lower energy on x86 and ARM, and runs a 100B model on a single CPU at 5-7 tokens/sec.

Introduction

Running a 100-billion-parameter language model on a single CPU at human reading speed sounds like it should need a server rack — bitnet.cpp does it on the kind of machine already on your desk. The catch is that these aren't ordinary models being squeezed: they are trained from scratch with ternary weights (-1, 0, 1), so 1.58-bit inference is lossless rather than a lossy quantization of an FP16 original.

What Sets It Apart
  • Purpose-built kernels (I2_S, TL1, TL2) operate on the ternary format directly instead of unpacking it back to int8/fp16, which is where most "low-bit" runtimes quietly give back their gains.
  • Measured 1.37x-5.07x speedups on ARM and 2.37x-6.17x on x86, with energy draw cut 55-82% — numbers that matter more for battery life and datacenter power bills than for leaderboard bragging.
  • It scales the other way too: a 100B BitNet b1.58 model runs on one CPU at 5-7 tokens/sec, roughly conversational reading pace, with no GPU in the loop.
  • Built on the llama.cpp lineage, so the conversion workflow and tooling feel familiar to anyone who has run GGUF models locally.
Who It's For

Great fit if you want local, private, GPU-free inference of ternary LLMs, or if you are studying where 1-bit models land on the accuracy/efficiency curve. Look elsewhere if you need to run standard FP16/INT4 checkpoints — bitnet.cpp only accelerates models actually trained in the BitNet ternary regime, and that pool of models is still small. The GPU path is newer and less battle-tested than the CPU one.

More Items

GitHub
AI Infra2026

Adds keyless model channels to DeepSeek Harness and brings multiple providers into one model picker and local compatible gateway. Availability is checked dynamically; free quotas, regional access, and data handling remain controlled by upstream services.

GitHub
AI Infra2026

Connects coding agents to one local model gateway, making providers and subscriptions available across agents and routing requests to another account or model when quotas run out.

GitHub
AI Agent2026

Lets AI agents read and operate real phones through a shared set of controls for tapping, typing, scrolling, and screenshots. Supports personal iPhones, Android devices, and hosted cloud phones, with different connection and screen-reading methods for each.