Hi everyone,
I've been trying to set up OpenClaw on Windows 11 for 2 days now, but I cannot get any provider to work. I've tried Ollama, Groq, and OpenRouter, but all fail with different errors.
Environment:
- Windows 11 native (not WSL2)
- OpenClaw version: 2026.3.13
Ollama: - Ollama is running with qwen2.5:3b model
- Gateway starts correctly showing: [gateway] agent model: ollama/qwen2.5:3b
- But when I send a message in TUI, I get:
Agent failed before reply: No API key found for provider "ollama".
Auth store: C:\Users\Administrator.openclaw\agents\main\agent\auth-profiles.json
text
- I created auth-profiles.json with:
json
{
"ollama": {
"provider": "ollama",
"mode": "none"
}
}
But still the same error.
Groq:
API key: gsk_xxx...
Base URL: https://api.groq.com/openai/v1
Model set to llama-3.1-8b-instant
Gateway log shows: [gateway] agent model: openai/llama-3.1-8b-instant
TUI error:
text
Agent failed before reply: Unknown model: openai/llama-3.1-8b-instant
OpenRouter:
API key: sk-or-v1-xxx...
Base URL: https://openrouter.ai/api/v1
Model set to openrouter/free
TUI error:
text
Agent failed before reply: No API key found for provider "openrouter"
What I've tried:
Setting environment variables (OPENAI_API_KEY, OPENAI_BASE_URL)
Creating auth-profiles.json in various formats
Running openclaw doctor --fix
Deleting all config and reinstalling multiple times
Setting gateway.mode local
Gateway always starts fine and TUI connects, but when I send a message, it always fails with one of the above errors.
Is there any known working configuration for Windows native? Or do I need to use WSL2? Any help would be greatly appreciated!
Thank you!