GUIDE 02Intermediate22 pagesFree

Cut Your OpenClaw
API Bill by 90%

Users report API bills of $50–$150/month from misconfigured defaults. This guide shows you exactly how to get that down to $8–$20/month — or $0 with local models — without losing any capability.

Heartbeat TuningModel RoutingSOUL.md OptimizationContext ManagementOllama IntegrationSpending Limits

Default Setup

$50–$150/mo

After This Guide

$8–$20/mo

With Ollama

$0/mo

Share your before/after API costs in the community — help others know what's possible.

Get help from real practitioners doing this every day.

Join Free

The heartbeat is OpenClaw's "check-in" — it wakes up the agent on a schedule to run your HEARTBEAT.md instructions. The default interval is 1,800 seconds (30 minutes). That means your agent is making LLM calls 48 times per day, every day, even when you're not using it.

SAVINGS TIP

Think of it like leaving your car engine running all night. The heartbeat is useful, but the default setting is wasteful. Most people only need it every 2–4 hours, not every 30 minutes.

Change the heartbeat interval in openclaw.json:

json
{
  "heartbeatInterval": 7200,
  "heartbeatEnabled": true
}
// 7200 = 2 hours (was 1800 = 30 minutes)
// This alone cuts ~40% of your token usage

If you don't use HEARTBEAT.md at all, disable it entirely:

json
{
  "heartbeatEnabled": false
}

WHY THIS MATTERS

Changing from 30-minute to 2-hour heartbeat typically saves $15–$30/month on its own. If you disable it entirely and only use OpenClaw interactively, you'll save even more.

What model routing setup are you using? Share it in the community.

Get help from real practitioners doing this every day.

Join Free

Your Savings Roadmap

Extend heartbeat to 2 hours
Easy~$15–30/mo
Trim SOUL.md to under 500 words
Easy~$5–15/mo
Enable tiered model routing
Medium~$10–25/mo
Disable title/tag generation
Easy~$3–8/mo
Set hard spending limit
EasySafety net
Switch to Ollama for routine tasks
Medium~$20–50/mo

Post your monthly API bill before and after applying this guide — we celebrate wins in the community.

Get help from real practitioners doing this every day.

Join Free

Download All Formats — Free

PDF guide, config templates, and checklist

Up Next

Guide 03: Run OpenClaw for Free with Ollama

The complete local model setup guide.

Read Guide 03
Ask the AI anything about OpenClaw →