# OpenClaw Ollama setup: connect your first local model

Canonical: https://cwyn.com/pages/openclaw-guide-first-local-ollama-model.html
Last updated: 2026-11-23T18:28:16-05:00

OpenClaw operations guide

Short answer. Use Local only in the OpenClaw onboarding wizard, select an Ollama model on the Gateway host, and verify the default before your first chat. This setup uses Ollama and OpenClaw on the same machine. Start with the OpenClaw CLI installed.

Last updated November 23, 2026 · Published November 19, 2026

The [OpenClaw Complete Setup Pack](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html) is an optional paid kit ($14.95). After the first reply, use its tool and model-usage checklists before connecting a channel.

OpenClaw Complete Setup Pack $14.95

Start an OpenClaw workspace with editable instructions, local Gateway and tool presets, and checklists for pairing, memory, costs and rollback.

By CWYN · Reviewed November 19, 2026 against OpenClaw 2026.11.5

This setup uses Ollama and OpenClaw on the same machine. Start with the OpenClaw CLI installed. You’ll choose Ollama as the first chat provider and check what the wizard saved.

## 1. Start Ollama on the Gateway host

Install and start Ollama using the link in the [Ollama setup reference](https://docs.openclaw.ai/providers/ollama/setup). Pull a model that fits your machine. The reference uses `ollama pull gemma4` as an example.

Considering Inkling 2 Mini? [Check whether your machine can run it](https://cwyn.com/tools/will-it-run/) and find the OpenClaw launch command for a supported setup.

## 2. Select Ollama in the wizard

Run `openclaw onboard`. In the provider picker, select Ollama, then Local only. Use the local base URL offered by the wizard for a same-host Ollama installation. A loopback Ollama host needs no cloud credential.

## 3. Choose a model and let the wizard test it

Select the installed chat model when asked. Automatic onboarding discovery looks for eligible models already loaded in memory, so a model on disk may be missing from the initial suggestions. Explicitly selecting Ollama and Local only makes setup inspect installed models. If none supports tools, the wizard can ask before pulling a recommended model. The [guided flow](https://docs.openclaw.ai/cli/onboard) saves the selected model route after a real completion succeeds.

## 4. Check the registered model and default

After finishing the wizard, run `openclaw models list --provider ollama` to see the registered Ollama choices. Run `openclaw models status` and check that the resolved default is the `ollama/` model you selected. The [models CLI reference](https://docs.openclaw.ai/cli/models) explains the status output.

## 5. Send one dashboard message

Run `openclaw dashboard` and send a short text prompt in a fresh chat. Confirm the reply before adding channels or tools. If the wizard’s model test failed, read the original error and verify Ollama is running on the Gateway host before retrying setup.

[Get your free CWYN Score](https://cwyn.com/pages/score.html)

## Related guides

- [OpenClaw Ollama tool calls fail: verify the model and native route](https://cwyn.com/pages/openclaw-guide-ollama-tool-calls.html)
- [OpenClaw model fallback: test rate limits and control cost](https://cwyn.com/pages/openclaw-guide-model-fallbacks.html)
- [OpenClaw Ollama Cloud rejects max_tokens](https://cwyn.com/pages/openclaw-guide-ollama-cloud-max-tokens.html)
- [Set up OpenClaw with a local LM Studio model](https://cwyn.com/pages/openclaw-guide-first-lm-studio-model.html)

## Next steps

- [All 135 OpenClaw guides](https://cwyn.com/guides/openclaw/)
- [OpenClaw setup walkthrough](https://cwyn.com/setup/openclaw/)
- [Estimate your AI costs](https://cwyn.com/score/ai-cost-calculator/)
- [Local Agent Setup Pack ($14.95)](https://cwyn.com/pages/pack-local-agent-setup-pack.html)
