Five Common OpenClaw Configuration Issues That Inflate API Costs

A Reddit post from r/openclaw outlines five frequent configuration mistakes in OpenClaw instances that cause unnecessary API credit expenditure. The author, based on experience helping users, provides specific fixes for each issue.
Key Configuration Problems and Fixes
- Using the wrong model for routine tasks: The default configuration often points to the most expensive model available. For basic tasks like answering FAQs or routing messages, you don't need models like Opus or GPT-4. Switching to Sonnet or DeepSeek for routine tasks and reserving heavy models for complex reasoning can reduce costs by 60-80%.
- No token budget limits set: If you haven't set parameters like
max_tokens_per_dayin your config, a bad loop or a chatty user can drain your API balance overnight. The post mentions setups burning through over $200 in a single day due to the lack of a ceiling. The recommendation is to set a daily budget. - Gateway is wide open: Check your gateway config. If
auth.enabledis set to false (the default), anyone who finds your instance can read your messages, control your agent, and access your API keys. Recent scans indicate over 220,000 exposed instances. The fix is to enable authentication, set up TLS, and avoid binding to0.0.0.0unless necessary. - Memory is eating your tokens: If long-term memory is enabled but never configured with pruning or summarization, the context window fills with old conversations, making each request more expensive over time. The solution is to set up memory pruning intervals and use summarization for older entries.
- Unaudited skills from ClawHub: Not all skills on ClawHub are safe; roughly 20% have been flagged as malicious or poorly written. Before installing any skill, read the source code, check for unexpected external API calls, and audit permissions. A bad skill can leak data or increase your bill.
The author concludes by inviting readers to share other issues in the comments for troubleshooting.
📖 Read the full source: r/openclaw
👀 See Also

Treating OpenClaw Subagents as Stateless Functions Instead of Persistent Team Members
A developer shares their experience shifting from treating OpenClaw subagents as persistent team members with personalities to viewing them as stateless function calls with specialized purposes.

OpenClaw: Your Ultimate Quick Reference Cheatsheet
Dive into the nitty-gritty of OpenClaw with our handy reference cheatsheet. Extract critical features and functionalities to streamline your AI coding experience.

Modifying OpenClaw's default system prompt to bypass content restrictions
A user modified OpenClaw's configuration file to change the default system prompt from "You are a helpful, respectful and honest assistant" to a custom prompt that ignores external safety filters, effectively removing content restrictions. The process involves editing config.js in the node-llama-cpp installation directory.

OpenClaw setup tips from a user's experience: Gmail MCP, profile flags, and networking issues
A user running OpenClaw on a Mac via UTM with Ubuntu VM shares specific configuration issues encountered: the Gmail MCP server requires html_body instead of body parameter, the --profile prod flag is needed to avoid a hardcoded dev identity, and API keys must be placed in auth-profiles.json via paste-token command.