by Cactus Compute
Open-source engine that runs LLM, speech and vision models on phones and wearables, with 6 language bindings and cloud handoff.
Pick Cactus if you ship a mobile or wearable app and want answers generated on the device, with a confidence score that sends only hard queries to a cloud model. The routing probe adds about 65,000 parameters. Skip it if you only need a desktop runner.
Per-answer confidence that decides between the on-device model and a cloud model.
Kernels, a custom quantizer and a hybrid confidence probe are hard to copy quickly, but the code is open and large vendors are shipping on-device runtimes of their own.
Main trade-off
No published pricing or support terms for the cloud side of hybrid routing.
The engine and CLI are free and open source. Cactus lists no prices on its site: the /pricing URL returns a 404 and the cloud and fine-tuning rates are blank.
Cactus is an open-source inference engine from YC-backed Cactus Compute that runs language, speech and vision models on phones and wearables. Its README reports Gemma-4-E2B at 4-bit decoding 37 tokens per second on an iPhone 17 Pro using 644 MB of RAM. App developers can call it from Python, Rust, Flutter and mobile native code.
OpenAI-compatible engine
The C engine offers chat completion, streaming, tool calling, transcription, embeddings, RAG and vision behind OpenAI-style APIs.
Rotation-based quantization
Weights compress from 4-bit down to 1-bit, and the README shows Gemma-4-E2B at 4-bit scoring 71.20 on GSM8K against 73.67 at FP16.
Hybrid cloud handoff
A probe of about 65,000 parameters scores confidence per answer, and prompts below your threshold route to a cloud model.
Six language bindings
Swift, Kotlin, Flutter, React Native, Python and Rust bindings ship in the repository for app developers.
Tiny task models
Needle covers on-device function calling, and Whistle transcribes seven languages in 16.9 MB on CPU.
Built-in benchmark command
The cactus benchmark command measures speed on a connected iPhone or Android device with an optional flag.
Most users expect these and they are not currently supported.
| Tool | Price from | Free plan | Runs on | Rating |
|---|---|---|---|---|
| Free | Yes | iOS · Android · Mac | -- | |
| $20/mo | Yes | Web · Mac · Windows · Linux | 4.0 | |
| Free | Yes | Mac · Windows · Linux | -- | |
| $20/mo | Yes | Mac · Windows · Linux | 3.9 |
Permissive open-source license (MIT-style text in the repository LICENSE file)
Cactus publishes no price list. The engine and command line tool are free and open source, the site has no pricing page at all, and charges for cloud handoff or Needle fine-tuning are unstated. Ask the team at founders@cactuscompute.com before planning a budget around the hosted parts.
The engine, the CLI and the published model checkpoints can be used without paying, under the permissive license in the repository. Creating an account is only needed to fine-tune and deploy Needle. The cloud model you hand off to is billed by its own provider.
Use Ollama or LM Studio for a local model server on a laptop. Use llama.cpp when you want the widest model compatibility and are comfortable building from source. Hugging Face hosts the model files all of these runners load.
For an app that ships to phones or wearables, yes, because Cactus has Swift, Kotlin, Flutter and React Native bindings and a confidence-based cloud handoff. For a desktop model server with a large public library, Ollama is simpler. The two solve different deployment problems.
On a Mac, install with brew install cactus-compute/cactus/cactus and run cactus run, which downloads a model on first use. Mobile work means adding a binding such as Swift or Kotlin to your project. Running cactus benchmark with the iOS or Android flag then measures speed on a connected phone.
Cactus comes from Cactus Compute, a Y Combinator Summer 2025 company based in San Francisco. The project is an open-source inference stack that keeps a model on the user's hardware, whether that is a handset, a smartwatch or a laptop, and exposes OpenAI-compatible APIs so an app can swap a cloud call for a local one. The code is a stack of four layers: an engine, a zero-copy computation graph, ARM kernels and a rotation-based quantizer that compresses weights from 4 bits down to 1 bit.
The mechanism that sets it apart from desktop runners such as Ollama, llama.cpp and LM Studio is hybrid routing. A probe of about 65,000 parameters reads the local model's hidden states and returns a confidence score with every answer. Above your threshold the on-device answer is used. Below it, the same prompt goes to a larger cloud model. Cactus publishes checkpoints for this on Hugging Face, including post-trained versions of Google's open Gemma 4 models that hand off to Gemini 3.1 Flash-Lite.
It suits mobile and embedded developers who need tool calling, transcription or small vision tasks to work offline. Its own models target that gap: Needle is a small function-calling model, and Whistle is a 16.9 MB speech recognition model for seven languages that runs on CPU only. App bindings cover Apple and Android platforms plus Flutter, React Native, Python and Rust, and Pebble says it runs Needle locally in its ring app.
The engine is free to use under a permissive license published in the repository. Cactus does not publish prices for cloud handoff or Needle fine-tuning on its site, so budget for those only after talking to the team. If you want a desktop chat app instead of an SDK, Jan, GPT4All, AnythingLLM or Msty are closer matches. Liquid models are among the families the project tests, and Liquid AI is on Hokai as a company.
Product facts on this page (pricing, plans, integrations, compliance) are read from Cactus Compute's own pages and documentation. The verdict is Hokai's reading of them, not the vendor's claim.