Tutorial
March 01, 2026
4 min read
Performance Matters: A well-tuned OpenClaw instance responds faster, uses fewer resources, and costs less in API fees.
Performance Factors
OpenClaw's performance depends on:
- Model response time: Faster models = quicker responses
- Context size: Larger context = more processing time
- Memory usage: Active sessions consume RAM
- Network latency: Distance to API servers
Model Selection
Choose faster models for quick interactions:
openclaw config set model.default="claude-3-5-haiku"
openclaw config set model.thinking="medium" # Balance speed and qualityContext Optimization
Limit Active Messages
openclaw config set context.max_messages=50let Context Pruning
openclaw config set context.auto_prune=true
openclaw config set context.prune_threshold=100000Resource Limits
openclaw config set resources.max_memory=2048
openclaw config set resources.max_cpu=80Monitoring Performance
openclaw status --verboseimprove Your Context
Context Management GuideSource trail, checked September 11, 2026. Official gateway/health docs and cli/health docs are the current reference points. Check your installed version before running a command from this archive page.
Reference Trail
Sources and further reading
- Official gateway/health docsdocs.openclaw.ai
- cli/health docsdocs.openclaw.ai