# Cactus review

> Cactus is a Python package for running small text, speech and vision models locally on consumer devices, with tool calling and transcription.

Devtoolwatch Board, the week of Nov 8–14, 2026. Canonical page: https://index.devtoolwatch.com/tools/cactus-compute-cactus/

## 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.

## Cactus at a glance

- **Category:** [Inference and training](https://index.devtoolwatch.com/categories/inference-and-training/)
- **Maintained by:** Cactus Compute, Inc. (organization, [@cactus-compute](https://github.com/cactus-compute) on GitHub)
- **License:** Apache 2.0
- **Language:** Python, JavaScript, CSS
- **Repository:** [github.com/cactus-compute/cactus](https://github.com/cactus-compute/cactus)
- **Website:** [cactuscompute.com](https://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 Cactus

**With pip**

```
pip install -U cactus-compute
```

### Requirements

- 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

1. Install Cactus with pip, then import cactus in Python.
2. Define a function with the @cactus.tool decorator and pass it to cactus.Cactus(tools=[...]).
3. Call agent.run() to execute tools, or complete() to inspect proposed calls before running them.
4. 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

- 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.

## Usage data (the week of Nov 8–14, 2026)

- Board rank: #128 overall, #16 in Inference and training, momentum score 60
- New GitHub stars per week (last 12 weeks): Aug 23: 1.1k; Aug 30: 676; Sep 6: 566; Sep 13: 790; Sep 20: 1k; Sep 27: 440; Oct 4: 681; Oct 11: 277; Oct 18: 197; Oct 25: 174; Nov 1: 147; Nov 8: 192

## Cactus alternatives

| Rank | Tool | Stars | Downloads/wk |
|---|---|---|---|
| #1 | [dsh-our-free-model](https://index.devtoolwatch.com/tools/ebony-vinyl-dsh-our-free-model/) | 74.3k | – |
| #2 | [magpie](https://index.devtoolwatch.com/tools/yetone-magpie/) | 36.5k | – |
| #3 | [edge0](https://index.devtoolwatch.com/tools/edge0-ai-edge0/) | 11.4k | – |
| #4 | [Strata](https://index.devtoolwatch.com/tools/niko1221-strata/) | 44.2k | – |
| #5 | [kimi-k3-in-c](https://index.devtoolwatch.com/tools/fareedkhan-dev-kimi-k3-in-c/) | 12.1k | – |
| #6 | [OmniRoute](https://index.devtoolwatch.com/tools/cheaper-inference-omniroute/) | 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

1. [cactus-compute/cactus on GitHub](https://github.com/cactus-compute/cactus)
2. [Cactus README](https://github.com/cactus-compute/cactus/blob/main/README.md)
3. [Cactus website](https://cactuscompute.com)
4. [Hacker News: Whistle: Speech to Text in 16.9 MB](https://news.ycombinator.com/item?id=50008427)
5. [Hacker News: Show HN: Needle2: 14MB agentic LLM for phones, wearables, smart home and robots](https://news.ycombinator.com/item?id=49246804)
6. [Hacker News: Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash](https://news.ycombinator.com/item?id=49748553)
7. [Devtoolwatch Board, the week of Nov 8–14, 2026](https://index.devtoolwatch.com/)
