#ollama cloud

1 messages · Page 1 of 1 (latest)

serene quiver
#

hi I recently got openclaw running on vps but it was auto setup so i automatically went to the openclaw dasbboard. problem is i want to set my model up with ollama cloud api key, i know it would be To just use the OpenClaw onboard feature, but like I said, I have it set up with a Docker application on VPS, and it automatically routes me to the dashboard GUI.

So, I'm not quite sure how to configure it there. Any suggestions?

mossy lakeBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

south hazelBOT
#

First, please paste openclaw --version if this doesn’t line up — model setup has changed a bit recently.

For Ollama Cloud only, the key bits are:

  • Use Ollama native mode, not /v1.
  • baseUrl should be https://ollama.com.
  • Set OLLAMA_API_KEY in the Docker app/container env if possible.
  • Then set the model as ollama/<ollama-cloud-model-id>. (docs.openclaw.ai)

If you’re doing it from the dashboard: open the Config panel, edit/apply the config, then restart from the UI. The Control UI can edit ~/.openclaw/openclaw.json and apply+restart with validation. (docs.openclaw.ai)

Example shape:

{
  models: {
#
    providers: {
      ollama: {
        baseUrl: "https://ollama.com",
        apiKey: "OLLAMA_API_KEY",
        api: "ollama",
        models: [
          {
            id: "your-model:cloud",
            name: "your-model:cloud",
            input: ["text"],
            contextWindow: 128000,
            maxTokens: 8192
          }
        ]
      }
#
    }
  },
  agents: {
    defaults: {
      model: { primary: "ollama/your-model:cloud" }
    }
  }
}

Better path if you have shell access to the container:

docker compose exec <service> openclaw configure --section model