Connect a model
Give Claw a model to think with, either a hosted provider or a model server on your own network, and know why a model of your own needs a GPU.
Goal
A model listed under Settings → AI, marked CONNECTED and Primary, for Claw and its agents to use. You know whether it should be a hosted provider or a model of your own, and what a model of your own needs to keep up.
Before you start
Claw is the general agent in Studio, and it has twenty specialists beside it. All of them reason with the one model you give them here. Which model, where it runs and what it may be sent is an administrator's decision, and Running AI safely is the course on it. This lesson is the part an engineer needs to get going.
Open Settings → AI. AI Settings: Providers power classification, recommendations, and Claw. The first enabled global provider is primary; the rest are fallbacks, and a workspace-scoped provider overrides them for its workspace. With no provider, Claw has nothing to think with.
Know what Claw sends. Every message to Claw carries about 26,000 tokens before your question: the descriptions of the tools it may call and its instructions. A hosted model reads that in seconds. A model of your own has to read it too, on your hardware.
On the example install,
qwen2.5:3bon four CPU cores took 22 minutes to read it the first time. Studio waits five minutes for a reply to begin, so without help that first reply never arrives. Once the model has read it, it keeps it until another kind of request takes its place, and the next questions to Claw began within seconds. A model of your own needs a GPU to keep up, and a larger model than this one answers better. A hosted model is faster and better still.
Get the model server ready. Skip this step for a hosted provider. On the machine with the model, install Ollama and run
ollama pull qwen2.5:3b, or a larger model if it has the memory. Ollama answers only on its own machine unless you start it withOLLAMA_HOST=0.0.0.0. On the Studio host, the.envfile needs this line, thendocker compose up -d:TALON_ALLOW_PRIVATE_AI_BASE_URLS=trueWithout it, Studio refuses a model on a private address.
Open the dialog. Press Add an AI provider. Name it
Local Ollama, keep Scope at Global (all workspaces), and choose a provider. For a hosted one, choose it, paste the key and go on to the next step.For a model of your own, choose Self-hosted, Any OpenAI-compatible URL, not Ollama. The Ollama choice is fixed at
http://localhost:11434/v1, and inside Studio's container that address is Studio itself. Keep PURPOSE at Chat: The default model — powers the assistant, copilot replies, and agent reasoning. In Base URL type the server's address with/v1on the end,http://ollama.corp.example:11434/v1on the example install.
Test it, and add it. Press Test connection, then Add provider. Studio tests it again as it adds it, and a provider that does not answer is not added. The card reads Local Ollama, CONNECTED, Primary, Global, Chat and the model's name. Studio names the server Ollama under it, because it knows the server.

You should now see
One provider under Settings → AI, CONNECTED and Primary. Claw and every agent now use it. If it is a model of your own on CPU alone, expect the first reply of each kind of conversation to take minutes, and plan to move it to a GPU or a hosted provider.
The example install answers the next lesson's questions with qwen2.5:3b. For the third lesson, where an agent drafts a detection, it moved to qwen3:4b-instruct-2507-q4_K_M, because the 3B model could not fill in a detection draft at all. To change the model, delete the provider and add it again: Configure does not change it.
Quick check
Go deeper
- AI settings, for every provider, purpose and option.
- Claw, for what the agents are and what they may do.
