ModelsHardware & Inference 🇺🇸 14.08.2026 09:02

Needle 2: An Open 45M-Parameter Tool-Calling Model in a 14MB Binary

Cactus ComputeCactus Compute
Cactus Compute has released Needle 2, an open 45M-parameter model for tool calling, device use, and structured extraction. The model ships as a 14MB binary, runs in about 28MB of RAM, and achieves high throughput on edge devices. It leads on Seal-Tools benchmarks but trails on BFCL v4.
Cactus Compute has released Needle 2, an open 45M-parameter model for tool calling, device use, and structured extraction. The entire model ships as a single 14MB binary that runs a full session in about 28MB of RAM. Weights are trained and deployed at CQ2-bit using Cactus Quants, and the model is sealed inside the company's own C++ engine, so there is no runtime to install and no download at inference time. Reported decode throughput is 500 tokens/sec on a Raspberry Pi 5, 400–1,500 tokens/sec on Meta Quest 3S and Apple Vision Pro, and 300–700 tokens/sec on sub-$200 phones. The design premise is that mapping a messy sentence onto a typed function signature needs no world knowledge and no open-ended prose, so 45M parameters are enough. Needle 2 uses a Simple Attention Network architecture with a Hadamard MLP, GQA attention, engram key-value memory, and multi-lane hyper-connections. It uses a 256-token sliding window and pinned KV sinks to keep memory near 28MB regardless of conversation length. The model includes a contrastive retrieval head that selects only the top five tools when more than five are declared, and every response carries a confidence value. Evaluation on public function-calling benchmarks shows Needle 2 leads both Seal-Tools splits and posts 98.3 function-name accuracy on Mobile Actions, but trails on BFCL v4 overall, which Cactus attributes to distribution differences.
Abbreviations
RAM = Random Access Memory — оперативная память
CQ2 = Cactus Quantization 2-bit — квантование Cactus 2-бит
MFLOPs = Mega Floating Point Operations per second — мега операций с плавающей запятой в секунду
int8 = 8-bit integer — 8-битное целое число
KV = Key-Value — ключ-значение
SDOT = Sdot? likely 'SIMD dot product' — скалярное произведение с SIMD
NEON = ARM NEON (Advanced SIMD extension) — ARM NEON (расширение SIMD)
AVX2 = Advanced Vector Extensions 2 — расширение Advanced Vector Extensions 2
RISC-V = Reduced Instruction Set Computing Five — RISC-V (архитектура)
SIMD = Single Instruction, Multiple Data — одиночный поток команд, множество данных
f16 = 16-bit floating point — 16-битная плавающая точка
vLLM = Virtual Large Language Model (inference engine) — движок вывода vLLM
BFCL = Berkeley Function Calling Leaderboard — лидерборд вызова функций Беркли
OOD = Out-of-Distribution — вне распределения
OEM = Original Equipment Manufacturer — производитель оригинального оборудования
SaaS = Software as a Service — программное обеспечение как услуга
POS = Point of Sale — точка продажи
ML = Machine Learning — машинное обучение
Source: MarkTechPost — original
Our earlier posts on this topic ↓
Fresh news