Published:
Cactus Compute released Needle 2 on August 11, 2026, an open 45-million-parameter AI agent model that ships as a single 14MB binary and runs a full session in 28MB of RAM. Needle 2 handles tool calling, device control, and structured data extraction on phones, wearables, smart home devices, and small robots, with no cloud connection and no API calls. The model runs as one dependency-free C++ binary across Cortex-M microcontrollers, ARM, x86, and WebAssembly. On tool-call and mobile device-use benchmarks, Needle 2 trades wins with models 5x to 70x larger, including FunctionGemma 270M, LFM2.5 230M, and Apple FM, while running at 2-bit quantization against their full-precision versions. The Show HN post announcing the release passed 368 points on August 11, 2026.
What Needle 2 Actually Does
Needle 2 is an agentic LLM built for three jobs: calling tools, operating devices, and extracting structured data. It is not a general chat assistant, and Cactus Compute does not present it as one. The narrow scope is the design: agentic workflows spend most of their compute on repetitive “read input, choose a function, emit structured output” loops, and those loops do not require the general reasoning capacity of a frontier model.
The architecture is a Simple Attention Network compressed to CQ2-bit precision using Cactus Quants, the company’s own quantization method. The 28MB session footprint means Needle 2 runs alongside existing applications on low-end hardware rather than demanding a dedicated device. Needle 1, the previous version, was a 26M-parameter model distilled from Gemini tool-calling behaviour.
“Every architectural choice was benchmarked on the target hardware before it earned its parameters.” — Cactus Compute team, cactuscompute.com/needle
Why Edge AI Agents Change the Cost Math
An on-device agent removes per-query API cost entirely: the business pays for the deployment once, and every subsequent tool call runs free on hardware it already owns. Cloud-hosted agents invert that — each function call, sensor read, and structured query bills at the provider’s token rate and adds network latency.
Four business consequences follow from running the model on the device. Costs stop scaling with query volume, which matters most for high-frequency loops such as sensor polling, inventory scanning, and field-device automation. The agent works offline, which makes it viable for IoT fleets, remote sites, and air-gapped environments. Data never leaves the hardware, which removes a category of vendor-processing questions for regulated workloads. And the 28MB footprint fits devices that cannot host a larger model at all, such as wearables, smart home hubs, and Cortex-M controllers.
For teams already cutting AI agent costs at the infrastructure layer, an on-device model attacks the same bill from the opposite direction — eliminating the per-call charge rather than reducing it.
How Needle 2 Compares to Other Small Models
Needle 2 is open and cross-platform, which separates it from the two closest alternatives. Apple FM runs on-device but stays closed and Apple-hardware-only. LFM2.5 from Liquid AI is efficient at 2.6B parameters, but that is roughly 57 times larger than Needle 2’s 45M. Cactus Compute publishes the Needle 2 weights publicly on GitHub.
The benchmark claim needs precision: Needle 2 trades wins with larger models on tool-call and device-use tests. It does not beat them outright, and it does not replace general-purpose models such as Claude or GPT-4o for reasoning, writing, or open-ended conversation. Businesses evaluating AI agents for business tasks should read Needle 2 as a component for the execution layer, not a swap for the model that does the thinking.
For Context: Our Coverage of AI Agent Economics
Needle 2 lands in an ongoing shift in how businesses pay for and control agent behaviour.
- Cloudflare Wallets lets AI agents spend money with limits you set — the spending-control layer that emerged as agents started transacting autonomously.
- Humans miss 1 in 3 AI agent threats — the 40,000-run study on how much oversight agent deployments actually get.
Our Take: Needle 2 is the first credible answer to a question nobody was asking loudly enough — do your AI agents really need the cloud? Cactus Compute is a small team and this is a research release, not enterprise software. But for any deployment where per-query cost scales with volume, a 14MB model that trades benchmark wins with models 50 times its size changes the calculation, and the architectural ideas here will sit in most edge AI stacks within 18 months.

