Needle: A 26M-Param Model Built for On-Device Tool Calls
Cactus Compute's tiny encoder-decoder is distilled specifically for function calling at the edge, trading general chat for a narrow, useful job.
Cactus Compute has released Needle, a compact encoder-decoder model with roughly 26 million parameters that is distilled for a single, practical task: tool and function calling. Rather than aiming to be a general-purpose chatbot, Needle is designed to interpret a request and emit the structured call needed to invoke an external function, according to the project's GitHub repository.
The headline number here is size. At 26M parameters, Needle sits far below the sub-billion-parameter models that already market themselves as lightweight. That footprint is the point: it is small enough to run directly on phones, embedded hardware, and other resource-constrained devices without leaning on a cloud endpoint.
Why it matters
Function calling is the connective tissue of modern AI agents — the step where a model decides which tool to invoke and with what arguments. Running that step locally has real advantages:
- Latency: on-device inference avoids a network round trip.
- Privacy: user prompts and parameters need not leave the device.
- Cost: no per-call API charges for a routine, high-frequency task.
By narrowing scope to tool calling and distilling aggressively, Needle bets that many agentic workflows don't need a large model to route requests — a specialized small one will do.
The model is released under the permissive MIT license and is available on Hugging Face. As with any distilled, task-specific model, the open questions are how reliably it parses complex or ambiguous calls and how well it generalizes across tool schemas it wasn't trained on. For developers building edge-first agents, though, a purpose-built model this small is an appealing starting point.
Sources
- Visit
Cactus-Compute/needle
Hugging Face
More from Cactus Compute
All Cactus Compute releases →Cactus Compute's Whistle brings speech-to-text to the edge
A compact on-device ASR model built for edge hardware and WebAssembly, with early support for English, German, and French.
Cactus Needle 3: tiny on-device tool-calling models
Cactus Compute's 8–29MB models aim to run automation and tool-calling entirely on-device, rivaling far larger cloud systems.

Needle2 Packs an Agentic LLM Into 14MB
Cactus Compute's tiny model brings tool and function calling to phones, wearables, and robots.
More in Code
All Code →MiniMax Debuts M3.1 Flash, a Multimodal MoE Model
The new release pairs a mixture-of-experts design with agentic, coding, and video-understanding abilities in a single open model.
Meta's Muse Spark Open Targets Agentic Coding
The new open-weight model pairs a million-token context window with Meta's bet on long-horizon coding agents.
Meta's Muse Spark Open Targets Agentic Coding
The open-weight model pairs a million-token context window with a focus on long-horizon code tasks.
0 comments
No comments yet. Be the first to weigh in.