Devtoolwatch BoardGet it every Monday

Cactus review

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

Updated Nov 15, 2026. Review written Nov 8, 2026 from the project's own sources; usage data refreshed every Monday.

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

New GitHub stars per week for Cactus12 weeks from Aug 23, 2026: 1.1k, 676, 566, 790, 1k, 440, 681, 277, 197, 174, 147, 192 new stars, an average of 519 a week.Aug 23week of Nov 8
New GitHub stars per week for the last 12 weeks, from GitHub's stargazer history (today's stargazers by the week they starred).
Show the weekly numbers
New GitHub stars per week for Cactus
Week ofNew stars
Aug 23, 20261.1k
Aug 30, 2026676
Sep 6, 2026566
Sep 13, 2026790
Sep 20, 20261k
Sep 27, 2026440
Oct 4, 2026681
Oct 11, 2026277
Oct 18, 2026197
Oct 25, 2026174
Nov 1, 2026147
Nov 8, 2026192

On Hacker News

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:

Inference and training ranked by momentum, the week of Nov 8–14, 2026
RankToolStarsDownloads/wk
#1dsh-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–
#2magpiemagpie is a local gateway and app that lets coding agents like Claude Code, Codex and Gemini CLI use any provider's model.36.5k–
#3edge0edge0 is an open-source streaming inference framework that runs large sparse mixture-of-experts models on consumer hardware by streaming…11.4k–
#4StrataStrata is a local inference engine and app that runs large open models like Qwen3.8-Flash-Next on consumer hardware with…44.2k–
#5kimi-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–
#6OmniRouteOmniRoute is an MIT-licensed, self-hostable AI gateway that routes requests across many model providers through one OpenAI-compatible…87.5k–

All LLM inference and training tools, ranked

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
  2. Cactus README
  3. Cactus website
  4. Hacker News: Whistle: Speech to Text in 16.9 MB
  5. Hacker News: Show HN: Needle2: 14MB agentic LLM for phones, wearables, smart home and robots
  6. Hacker News: Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash
  7. Devtoolwatch Board, the week of Nov 8–14, 2026

Cactus README badge

Maintainers can show the tool's weekly Board rank in their README:

Devtoolwatch badge for Cactus

[![Devtoolwatch](https://index.devtoolwatch.com/badge/cactus-compute-cactus.svg)](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].