Skip to main content
OpenClaw talks to Ollama’s native API (/api/chat), not the OpenAI-compatible /v1 endpoint. Three modes are supported: For cloud-only setup with the dedicated ollama-cloud provider id, see Ollama Cloud. Use ollama-cloud/<model> refs when you want cloud routing kept separate from a local ollama provider.
Do not use the /v1 OpenAI-compatible URL (http://host:11434/v1). It breaks tool calling and models can emit raw tool-call JSON as plain text. Use the native URL: baseUrl: "http://host:11434" (no /v1).
The canonical config key is baseUrl. baseURL is also accepted for OpenAI-SDK-style examples, but new config should use baseUrl. This page is an index. Ollama is documented on nine pages, one per reader job. Open the page that matches your task.

Where each section moved

Every anchor the single-page version published still resolves here, so an existing link such as /providers/ollama#node-local-inference keeps working. Each entry points at the page that now holds the content. Ollama setup Ollama model discovery Ollama node-local inference Ollama vision and image description Ollama configuration Ollama config recipes Ollama Web Search Ollama advanced configuration Ollama troubleshooting

Ollama Cloud

Cloud-only setup with the dedicated ollama-cloud provider.

Model providers

Overview of all providers, model refs, and failover behavior.

Model selection

How to choose and configure models.

Ollama Web Search

Full setup and behavior details for Ollama-powered web search.

LM Studio

Another local runner for GGUF or MLX models, as a GUI app or a headless server.

Memory LanceDB

Long-term memory in LanceDB, with local Ollama-compatible embeddings.

Configuration

Full config reference.