Cactus review
Cactus is a Python package for running small text, speech and vision models locally on consumer devices, with tool calling and transcription.
TL;DR
Cactus is a Python package that runs text, speech and vision models locally. It targets developers building on-device AI for phones, wearables, smart homes, robots and laptops. Its models are small: Needle 3 is an 8–29 MB binary, Whistle is 16.9 MB and Mirage is 22 MB.
- 14.7kGitHub stars
- +192new stars, week of Nov 8
- #16in Inference and training this week
Cactus at a glance
- Category
- Inference and training
- Maintained by
- Cactus Compute, Inc. (organization, @cactus-compute on GitHub)
- License
- Apache 2.0
- Language
- Python, JavaScript, CSS
- Repository
- github.com/cactus-compute/cactus
- Website
- cactuscompute.com
- First published
- Feb 24, 2026
What Cactus does
- Cactus calls tools through the Needle 3 model, executing your Python functions and returning their results.
- Cactus extracts structured data and embeds text with Needle 3.
- Cactus transcribes speech in seven languages with the Whistle model, including word timestamps and speech embeddings.
- Cactus describes images and extracts structured data with the Mirage vision model.
- Cactus supports fine-tuning of Needle and Whistle through the cactus-compute[train] extra.
- Cactus hybrid routing uses a model confidence score to decide whether a request stays on the device or goes to the cloud.
How it works
Cactus installs as a Python package. On first use it downloads and caches the engine and requested model weights, then runs inference locally without JAX. You import cactus and call functions such as cactus.transcribe() or cactus.Mirage().describe(), or create a cactus.Cactus agent with decorated tool functions. A cactus command-line tool is also available.
How to install and start using Cactus
With pip
pip install -U cactus-computeRequirements
- Python 3.9 or later.
- Network access on first use to download the engine and model weights.
- The cactus-compute[mic] extra for non-16 kHz audio or microphone capture.
First steps
- Install Cactus with pip, then import cactus in Python.
- Define a function with the @cactus.tool decorator and pass it to cactus.Cactus(tools=[...]).
- Call agent.run() to execute tools, or complete() to inspect proposed calls before running them.
- Transcribe a 16 kHz WAV file with cactus.transcribe("clip.wav").
Who Cactus is for
- Developers adding offline tool calling to mobile, wearable or smart home products.
- Apps needing small on-device speech recognition that runs on CPU only.
- Projects needing local image description or structured extraction from images.
- Teams that want to fine-tune small agent or speech models for their own tasks.
Limitations to know
- Cactus transcription expects a 16 kHz WAV file unless you install the mic extra.
- Cactus sends anonymous Python usage counts by default; set CACTUS_TELEMETRY=0 to disable them.
- Needle 2 is only on the legacy branch with cactus-compute<4; cactus-needle users must migrate to import cactus.
- Whistle speech recognition covers seven languages.
Is Cactus growing? Usage data
In the week of Nov 8–14, 2026, Cactus ranked #128 on the Devtoolwatch Board and #16 in Inference and training, with a momentum score of 60 out of 100.
Show the weekly numbers
| Week of | New stars |
|---|---|
| Aug 23, 2026 | 1.1k |
| Aug 30, 2026 | 676 |
| Sep 6, 2026 | 566 |
| Sep 13, 2026 | 790 |
| Sep 20, 2026 | 1k |
| Sep 27, 2026 | 440 |
| Oct 4, 2026 | 681 |
| Oct 11, 2026 | 277 |
| Oct 18, 2026 | 197 |
| Oct 25, 2026 | 174 |
| Nov 1, 2026 | 147 |
| Nov 8, 2026 | 192 |
On Hacker News
- Whistle: Speech to Text in 16.9 MB, 964 points and 185 comments (Oct 8, 2026)
- Show HN: Needle2: 14MB agentic LLM for phones, wearables, smart home and robots, 537 points and 185 comments (Aug 10, 2026)
- Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash, 236 points and 93 comments (Sep 18, 2026)
- Show HN: Cactus – Ollama for Smartphones, 231 points and 82 comments (Jul 10, 2025)
- Show HN: Cactus Hybrid: We taught Gemma 4 to know when it's wrong, 191 points and 44 comments (Jul 22, 2026)
The Board ranks tools by four signals each week: new stars, new stars for the repo's size, added downloads and download growth beyond the market. How the ranking works.
Cactus alternatives
Other LLM inference and training tools on the Board in the week of Nov 8–14, 2026, by momentum:
| Rank | Tool | Stars | Downloads/wk |
|---|---|---|---|
| #1 | dsh-our-free-modeldsh-our-free-model is a dsh plugin that provides DeepSeek V4.1 Flash, Kimi K3 and other models without login, sign-up or API key. | 74.3k | – |
| #2 | magpiemagpie is a local gateway and app that lets coding agents like Claude Code, Codex and Gemini CLI use any provider's model. | 36.5k | – |
| #3 | edge0edge0 is an open-source streaming inference framework that runs large sparse mixture-of-experts models on consumer hardware by streaming… | 11.4k | – |
| #4 | StrataStrata is a local inference engine and app that runs large open models like Qwen3.8-Flash-Next on consumer hardware with… | 44.2k | – |
| #5 | kimi-k3-in-ckimi-k3-in-c is a portable C99 inference engine that runs the 2.78-trillion-parameter Kimi K3 model on one CPU with no GPU. | 12.1k | – |
| #6 | OmniRouteOmniRoute is an MIT-licensed, self-hostable AI gateway that routes requests across many model providers through one OpenAI-compatible… | 87.5k | – |
Cactus FAQ
Is Cactus free and open source?
Yes. Cactus's source code is on GitHub (cactus-compute/cactus) under the Apache 2.0 license, so you can use it for free.
How do I install Cactus?
Run pip install -U cactus-compute. The install section above has the other options from the project's README.
Is Cactus still maintained?
Yes. The cactus-compute/cactus repository was last updated on Nov 7, 2026.
How popular is Cactus?
Cactus has 14.7k GitHub stars as of Nov 15, 2026. It gained 192 new stars in the week of Nov 8–14, 2026, against a 12-week average of 519 a week. That made it #16 among LLM inference and training tools on the Devtoolwatch Board.
What are the best alternatives to Cactus?
Other LLM inference and training tools on the Devtoolwatch Board in the week of Nov 8–14, 2026, by momentum: dsh-our-free-model (#1), magpie (#2), edge0 (#3), Strata (#4), kimi-k3-in-c (#5). The alternatives table above has their numbers.
Does Cactus run offline?
Yes. Cactus runs inference locally after it downloads and caches the engine and model weights on first use. Its smallest models run on CPU only, with no GPU or server. Hybrid routing can optionally send low-confidence requests to the cloud.
What devices does Cactus target?
Cactus targets consumer hardware: mobile, wearables, AR glasses, smart homes, robots, automotive, laptops, game consoles, TVs and microcontrollers. Its smallest models run on budget phones, wearables and Raspberry Pis.
How large are the Cactus models?
Cactus models are small. Needle 3 is a single 8–29 MB binary, Whistle is 16.9 MB and Mirage is 22 MB.
Can I review tool calls before Cactus executes them?
Yes. Cactus run() executes your functions and returns results, while complete() lets you inspect the proposed calls before executing them.
What happened to the earlier Cactus inference SDK?
The earlier general Cactus inference SDK is now published as cactus-engine on PyPI. The cactus-compute package focuses on the Needle, Whistle and Mirage models.
Sources
- cactus-compute/cactus on GitHub
- Cactus README
- Cactus website
- Hacker News: Whistle: Speech to Text in 16.9 MB
- Hacker News: Show HN: Needle2: 14MB agentic LLM for phones, wearables, smart home and robots
- Hacker News: Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash
- Devtoolwatch Board, the week of Nov 8–14, 2026
Cactus README badge
Maintainers can show the tool's weekly Board rank in their README:
[](https://index.devtoolwatch.com/tools/cactus-compute-cactus/)How this page is made: Devtoolwatch writes each review from the project's README, releases, package metadata and website, with an AI model, then checks every claim against the source it cites and drops what the sources don't support. The numbers come from Devtoolwatch's daily GitHub snapshots, GitHub's stargazer history, and the npm and PyPI download APIs. Spotted an error? Email [email protected].