---
title: "Local models first · HolaClaw"
description: "HolaClaw is a private personal assistant built around local models that run on your own hardware. It works offline, keeps memory on your machine, and your conversations never pass through us."
updated: 2026-11-19
canonical: https://holaclaw.ai/features/local
---

# Private by default. Local models first.

HolaClaw was built around models that run on your own hardware, not around the cloud with “local” as an option. Prompts stay small enough for a model on a laptop, and the whole assistant works with the internet unplugged.

- [Download for Mac](/download.md)
- Run it on your server: `curl -fsSL https://holaclaw.ai/install.sh | bash`

## What “local” means here

Most assistants are designed for a large cloud model and then “support” local ones. A prompt built for a 200B model is handed to a 7B one, which answers badly.

HolaClaw goes the other way. It assumes the model is small and the context is scarce:

1. **A prompt budget.** Every request is built to fit the context window you declare for your model (`context` in `config.toml`). The fixed parts are capped: 300 tokens for the core prompt, 150 per built-in tool. History takes what is left, and older turns are summarised.
2. **Memory on disk, not in the prompt.** What HolaClaw remembers lives in a database on your machine. Before each turn it searches that memory and sends the model at most five relevant entries.
3. **Offline is a mode, not an outage.** With no connection and a local model, the assistant keeps working in the Mac app and in the terminal (`holaclaw chat`), with its memory, skills and tasks. Chat apps and web pages wait for the network.
4. **Nothing of yours passes through us.** Conversations, memory and traces stay on your machine. HolaClaw Server has no account, no telemetry and no update check.

### Example: the same request built two ways

Ana asks on WhatsApp: “Are we still on for Friday?” The model is a 7B one with an 8,192-token window.

| Part of the prompt | Built for a 200B model | Built by HolaClaw |
| --- | --- | --- |
| System prompt | 3,200 tokens, written for a large model | 284 tokens, core capped at 300 tokens |
| Tools | 7,800 tokens, 46 long tool schemas | 895 tokens, 9 default tools, 150 tokens each at most |
| Skills | 4,100 tokens, every skill in full | 180 tokens, an index; a skill loads when needed |
| Memory | 9,600 tokens, everything it knows | 240 tokens, 2 notes, retrieved (5 at most) |
| Conversation | 12,400 tokens, 412 messages | 690 tokens, the newest messages that fit |
| Message | 12 tokens | 12 tokens |
| **Total** | **37,112 / 8,192: over budget by 28,920 tokens.** The model drops part of the prompt and answers badly. | **2,301 / 8,192: fits,** with room left for the answer. |

Illustrative example. Real token counts depend on the model and the message.

## On your Mac

HolaClaw Desktop runs the model for you. When you create an assistant, choose the Local provider. The app lists the models your Mac can run, with the best fit selected, and downloads the one you pick. It runs on your Mac with a bundled llama.cpp server.

A rough guide to what fits:

- **16 GB:** the minimum. Runs Gemma 4 E4B, the default, the smaller Gemma 4 E2B, and models up to 14B.
- **24 GB:** adds Qwen3.8 27B in a smaller quant, the first of the large models.
- **32 GB and up:** recommended. Fits the 26B to 31B models, for better judgment on open-ended tasks.

The provider and the model are chosen when you create the assistant.

## On a server

HolaClaw Server talks to the model server you already run: Ollama, llama.cpp’s `llama-server`, LM Studio, vLLM, or anything else that speaks the OpenAI Chat Completions API. A local endpoint needs no API key. Point the config file at it:

```toml
[providers.ollama]
type = "openai-compatible"
base_url = "http://localhost:11434/v1"

[models.local]
provider = "ollama"
id = "gemma4:e2b"
context = 8192
tools = true
```

Then pick it for the agent in `agents/main/agent.toml`, with `chat = "local"` under `[models]`. Set `context` to the window your model server really runs.

## Models in the Desktop catalog

The download size and the memory each one needs. The app shows the full list and marks the best fit for your Mac.

| Model | Size | Verdict |
| --- | --- | --- |
| Gemma 4 E2B | 4.1 GB | Smallest and fastest. Needs 8 GB of memory. |
| Gemma 4 E4B | 6.0 GB | The default: balanced quality and speed. Needs 12 GB. |
| Qwen3.5 9B | 7.1 GB | Reads images. Needs 13 GB. |
| Ministral 3 14B Instruct | 9.1 GB | Mid-size instruct model. Needs 15 GB. |
| Qwen3.8 27B, smaller quant | 14.4 GB | The 27B model at a quant that fits a 24 GB Mac. Needs 22 GB. |
| Gemma 4 26B MoE | 18.1 GB | Quality close to the large models at the speed of a smaller one. Needs 26 GB. |
| Qwen3.8 27B | 18.0 GB | Agentic vision model; thinks briefly before it answers. Needs 27 GB. |
| Gemma 4 31B | 19.5 GB | Best quality among the models that fit a 32 GB Mac. Needs 28 GB. |

## What to expect

Local models are good at what an assistant does all day: remembering, reminding, drafting a short message, checking a page. They’re weaker at long documents and hard multi-step reasoning. A cloud model still wins there.

So keep a local model as the default, with a cloud model within reach. On Server, an agent can name an opt-in fallback model for when the main one times out or fails, and the trace tells you which one answered. On Desktop, keep a local assistant and a cloud one side by side.

## Set it up

- Desktop: [Choose a model](/docs/desktop/choose-a-provider.md)
- Server: [Configure a model](/docs/guides/configure-a-local-model.md)
- Desktop and Server: [Mixing local and cloud models](/docs/concepts/ai-providers.md)

## Frequently asked questions

### Does HolaClaw send my data to the cloud?

Only if you choose a cloud model, which receives the context of each turn, or connect a chat app, which carries the messages through its own service. HolaClaw Server sends no telemetry. HolaClaw Desktop’s anonymous usage metrics are off until you turn them on, and never include your prompts or conversations.

### What hardware do I need to run a local model?

On Desktop, an Apple Silicon Mac with at least 16 GB of memory; 32 GB or more is recommended. On a server, the model has to fit in the memory of the machine that runs your model server. A GPU helps a lot, but small models run on a CPU.

### Can I use a cloud model like GPT or Claude with HolaClaw?

Yes. On Desktop, choose OpenRouter or ChatGPT when you create the assistant. The provider can’t be changed afterwards, so a different one means a new assistant. On Server, add the provider and the model to `config.toml` and name it in the agent’s config.

### Is HolaClaw open source?

The engine (HolaClaw Server) is open source under the Apache 2.0 license. The Mac app, HolaClaw Desktop, is not.

