Claw is ~120s slower than direct Ollama/Qwen2.5:7b calls on a local setup
Author: ghostCreated Jun 18, 2026Updated Sep 7, 2026
Claw is configured for a local Ollama-backed qwen2.5:7b setup on Linux Mint. It loads both ~/.claw/settings.json and /home/prakhar/claw-code/rust/.claw.json, resolves the model as qwen2.5:7b, and uses workspace-write permissions. The shell environment contains:
OPENAI_BASE_URL=http://127.0.0.1:11434/v1
Ollama itself appears healthy and local:
curl -v http://127.0.0.1:11434/api/tagsreturns HTTP 200 and showsqwen2.5:7b.ss -tlnpconfirms Ollama is listening on127.0.0.1:11434.- A direct OpenAI-compatible request to
http://127.0.0.1:11434/v1/chat/completionscompletes in approximately7.4sfor a trivial prompt.
However, Claw interactive prompts such as:
HiHow are you?
take approximately 2 minutes to return a response.
Additional observations:
- The issue reproduces even when Claw is started from an unrelated directory outside the repository.
straceshows Claw connecting directly to127.0.0.1:11434.- No connections to external providers were observed during testing.
- Direct requests to the same local Ollama endpoint complete in approximately 7 seconds, while equivalent prompts through Claw take approximately 120 seconds.
Attached files:
claw.txt- strace output captured during a slow interaction.Report.txt- additional diagnostics and command output.
Please let me know if there are additional diagnostics I should collect.
Source: ultraworkers/claw-code