How to Run OpenClaw Fully Local with Ollama

A user on r/clawdbot has shared a method for running the OpenClaw agent framework entirely on a local machine, eliminating the need for paid cloud APIs.
Setup Process
The described process involves several specific steps:
- Use LLMFit to benchmark and find the best-performing language model your local hardware can handle. The source links to the tool's GitHub repository: https://github.com/AlexsJones/llmfit.
- Install Ollama.
- Pull your selected model locally using Ollama.
- Link Ollama to OpenClaw.
- Restart the OpenClaw Gateway.
Reported Benefits
According to the source, this setup provides several advantages:
- No API keys required.
- No token limits.
- No per-request billing.
- Fully self-hosted.
- Useful for experimentation and automation.
The post suggests this method is particularly applicable for building internal agents, automation workflows, or for aggressive testing scenarios. The original author also solicits community feedback, asking what models others are running locally with Ollama and agent frameworks, what hardware they use, and how the performance is.
📖 Read the full source: r/clawdbot
👀 See Also

Qwen3.5-397B MoE Runs on 14GB RAM via Paged Expert Loading on M1 Ultra
Paged MoE engine keeps only 20 experts resident and lazy-loads the rest from SSD, running a 209GB 397B model on a 64GB Mac Studio with 1.59 tok/s and 14GB peak RAM. Includes smaller model benchmarks.

Solving Gemini CLI write_file Not Found in OpenClaw: Two Fixes Required
OpenClaw agents using google-gemini-cli can't write files (write_file / default_api_write_file missing) due to wrong tools.profile and missing --approval-mode auto_edit flag in the subprocess. Fix: set profile to full and inject the flag via cliBackends config.

Optimizing GLM-4.7-Flash on M4 Mac Mini with 24GB RAM
A developer shares specific configuration details for running GLM-4.7-Flash on an M4 Mac Mini with 24GB RAM, including Q3_K_XL quantization, 32k context size with MLA, and memory allocation realities for Metal.

How to Optimize Your OpenClaw Setup with Specific Instructions and Refinements
OpenClaw optimization relies on precise instructions and continuous refinement of agent personalities and cost-effective model utilization.