Latest NewsAgentsAutomationToolsSecurity

I Run OpenClaw for Under $5/Month. Here’s Exactly How.

There’s a number floating around Reddit, Discord, and every “is
OpenClaw worth it?” thread you’ve ever read:
$600/month.

Six hundred dollars. For an AI assistant. Every month.

I’ve seen people screenshot their API bills and post them like war
wounds. I’ve seen newcomers bounce off OpenClaw entirely because they
Googled “openclaw API cost” and decided it was a rich person’s toy.

Here’s what nobody tells you: those people are doing it
wrong.

I run OpenClaw daily — automations, email triage, calendar
management, web research, file organisation, even managing a South
African rental property from a different continent. My bill last month?
$4.12. The month before? $3.87.

Not a typo. Not a limited setup. A fully functional, genuinely useful
AI assistant for the price of a flat white.

Let me show you exactly how.

Why Everyone’s
OpenClaw API Cost Is So High

Before the budget playbook, you need to understand why costs spiral.
It’s almost always one of three things — and most people are guilty of
all three.

1. Wrong Model for the Wrong
Task

This is the big one. Imagine hiring a barrister to sort your post.
That’s what happens when people run Claude Opus or GPT-4o for every
single interaction.

Opus is extraordinary. It’s also extraordinarily expensive. When your
assistant checks whether you have new emails, it doesn’t need a
PhD-level reasoning engine. It needs to read a list and tell you if
anything looks important. That’s a job for a model that costs 95%
less.

Most OpenClaw users never touch model overrides. They leave the
default on the most capable (read: most expensive) model and let every
heartbeat, every cron job, every trivial automation burn through tokens
at premium rates.

2. No Rate Discipline

OpenClaw’s heartbeat system polls at regular intervals. Out of the
box, you might have it checking in every 15-30 minutes. That’s fine — if
you’ve configured it to be cheap.

But if each heartbeat fires up Opus with extended thinking to check
whether anything happened (spoiler: at 3 AM, nothing happened), you’re
paying for a genius to stare at an empty inbox every half hour, all
night long.

3. Chatty Automations
and Runaway Sub-Agents

Sub-agents are powerful. They let OpenClaw spin up separate sessions
to handle tasks in parallel. But if your sub-agent config defaults to
your most expensive model, a single “research this topic” command can
spawn three sub-agents, each burning through Sonnet-level tokens.

Multiply that by automations that trigger more often than they need
to, and you’ve built yourself a $600/month bill.

The fix for all three? Intentional configuration.
Let’s get into it.

The Budget Stack: Right
Model, Right Job

The core principle of cheap OpenClaw is brutal model selection. You
match cognitive demand to model capability, and you never pay for
intelligence you don’t need.

Here’s the stack I use:

Gemini Flash — The
Workhorse (~$0.00 – $0.01/day)

Google’s Gemini Flash models are absurdly cheap. We’re talking
fractions of a cent per call. This is your clerical layer:

For these tasks, Flash isn’t just “good enough” — it’s literally
indistinguishable from a model costing 50x more. The output is the same.
The cost is essentially zero.

Claude Haiku —
The Reliable Middle (~$0.01 – $0.05/day)

Haiku handles anything that needs slightly more nuance but still
isn’t complex reasoning:

Haiku is fast, cheap, and surprisingly capable. It’s the model that
handles 60% of my daily interactions.

Claude Sonnet —
The Decision Maker (~$0.02 – $0.10/day)

Sonnet comes in when judgment matters:

I use Sonnet maybe 3-5 times a day. It’s the sweet spot of quality
and cost.

Claude Opus — The
Nuclear Option (~$0.10 – $0.50/use)

Opus is for when I genuinely need the best reasoning available:

I use Opus maybe 2-3 times a week. When I do, it’s worth
every penny. But the key is that I choose when to deploy it,
rather than having it run by default on everything.

The Config That Makes It
Work

Knowing which models to use is step one. Step two is telling OpenClaw
to actually use them. Here’s where the concrete savings happen.

Model Overrides

In your OpenClaw config, you can set model overrides for different
contexts. This is the single highest-impact change you can make:

# Default model for main conversation
model: anthropic/claude-sonnet-4

# Heartbeat/cron jobs — use the cheapest option
heartbeat_model: google/gemini-2.0-flash

# Sub-agents — default to cheap, upgrade manually when needed
sub_agent_model: anthropic/claude-haiku-3.5

This one change alone can cut your bill by 80%. Every heartbeat,
every background check, every sub-agent task now runs on a model that
costs a fraction of what you were paying.

Thinking Levels

OpenClaw supports configurable thinking levels for models that
support extended thinking. For budget operation:

# Low thinking for routine tasks (fewer thinking tokens = lower cost)
thinking: low

Extended thinking is powerful but expensive — the model literally
generates more tokens internally before responding. Setting thinking to
low or disabling it for routine contexts saves a surprising
amount. Reserve higher thinking levels for your main Sonnet/Opus
interactions where you want deep reasoning.

Cron Scheduling to Waking
Hours Only

Why pay for your assistant to check things while you’re asleep?
Unless you have genuinely time-sensitive overnight automations, restrict
your cron jobs to waking hours:

# Only run periodic checks during waking hours
cron:
  - schedule: "0 8-23 * * *"  # Every hour, 8 AM to 11 PM
    task: "Check email and calendar"
    model: google/gemini-2.0-flash

This eliminates 8-10 hours of unnecessary API calls every single day.
Over a month, that’s roughly a third of your bill — gone.

Heartbeat Batching

Instead of checking email at one heartbeat, calendar at the next, and
notifications at a third, batch everything into a single call:

<!-- HEARTBEAT.md -->
Check all of the following in ONE pass:
1. New emails (urgent only)
2. Calendar events in next 2 hours
3. Any pending notifications
If nothing actionable, reply HEARTBEAT_OK.

One API call instead of three. Same information. A third of the cost.
This is the kind of optimisation that compounds — if your heartbeat
fires 30 times a day, you’ve just eliminated 60 unnecessary API calls
daily.

Debounce Settings

If you’re using OpenClaw in a group chat or monitoring channel,
debounce prevents it from responding to every single message in a rapid
conversation. Instead of firing on each message, it waits for a pause
and responds once. This isn’t just better socially — it’s dramatically
cheaper.

Sub-Agent Model Selection

When OpenClaw spawns sub-agents for complex tasks, each one is a
separate API session. By defaulting sub-agents to Haiku, you keep
parallel task costs minimal. When a specific sub-agent task genuinely
needs more capability, you override it for that task only:

sub_agent_model: anthropic/claude-haiku-3.5

# For a specific high-stakes task, override in the spawn command
# "Use sonnet for this research task"

The clawdbot community on Discord figured this pattern out early —
most shared configs you’ll find there use this approach. And if you look
at how moltbot handles multi-step automations, it’s the same principle:
cheap by default, expensive by exception.

The Real Numbers: My Cost
Breakdown

Here’s my actual January 2026 breakdown:

Category Model Used Daily Calls Cost/Call (avg) Monthly Cost
Heartbeats Gemini Flash ~30 $0.0003 $0.27
Email triage Haiku ~8 $0.003 $0.72
Casual chat Haiku ~5 $0.004 $0.60
Research/writing Sonnet ~4 $0.012 $1.44
Deep analysis Opus ~0.4 $0.35 $0.84
Sub-agents Haiku/Flash ~6 $0.002 $0.36
Total $4.23

For a deeper dive into how these numbers are calculated and where
every token goes, check out our full OpenClaw
cost breakdown
.

The key insight: 90% of my interactions use models that cost
fractions of a cent.
The expensive models only fire when I
consciously choose to use them.

The Local Models
Escape Hatch: Near-Zero Cost

Want to go even cheaper? Here’s the nuclear option: run local
models with Ollama
.

OpenClaw can route to local models running on your own hardware via
Ollama. The API cost? Literally zero. You’re paying for electricity and
that’s it.

The setup:

  1. Install Ollama on your machine
  2. Pull a capable small model (Llama 3.1 8B, Mistral, Phi-3)
  3. Point OpenClaw’s config at your local endpoint
# For heartbeats and simple tasks, use local models
heartbeat_model: ollama/llama3.1:8b

Local models won’t match Sonnet for complex reasoning, but for
heartbeat checks, simple file operations, and routine triage? They’re
perfectly fine. And they’re free.

If you’re running OpenClaw on a Mac Mini or a decent desktop (which
many people do — it’s a popular always-on setup), you’ve already got the
hardware. The marginal cost of running a 8B parameter model for
heartbeats is effectively zero.

This hybrid approach — local models for the boring stuff, cloud API
for the smart stuff — can push your monthly bill below $2. At that
point, you’re running a genuine AI assistant for less than a streaming
service.

Worried about running AI locally? We’ve covered the security
considerations of OpenClaw setups
in detail — including local model
configurations.

Cost-Saving Tricks Most
People Miss

A few more optimisations that shave dollars off the monthly bill:

1. Keep HEARTBEAT.md tiny. Every token in your
heartbeat file gets sent with every heartbeat call. A 500-word heartbeat
file multiplied by 30 daily calls is 15,000 words of input tokens per
day — for no reason. Keep it under 100 words.

2. Clean your context regularly. Long conversation
histories mean more input tokens per call. Use CONTEXT.md for persistent
threads and let old conversations compact naturally.

3. Use web_fetch over browser automation. The
browser tool is powerful but token-heavy (screenshots, DOM snapshots).
For simple page reads, web_fetch is dramatically
cheaper.

4. Schedule heavy tasks for batch runs. Instead of
researching things ad-hoc throughout the day, batch research tasks into
a single daily session. One Sonnet session doing five research tasks is
cheaper than five separate sessions due to reduced overhead.

5. Audit your cron jobs monthly. It’s easy to set up
a cron job and forget about it. Review them regularly — kill anything
you’re not actively using.

The Monthly Cost Comparison

Here’s what OpenClaw actually costs across three real usage
patterns:

🪶 Budget ⚖️ Moderate 🚀 Power User
Main model Sonnet Sonnet Opus
Heartbeat model Gemini Flash Haiku Sonnet
Sub-agent model Flash/Haiku Haiku Sonnet
Thinking level Low Low High
Heartbeat frequency Waking hours only Every 30 min Every 15 min
Local models Yes (heartbeats) No No
Daily interactions 20-30 50-80 100-200
Opus usage 2-3x/week 1-2x/day Primary model
Monthly cost $3-5 $15-40 $150-400+

The gap between budget and power user isn’t about getting less value.
It’s about being intentional. The budget setup handles 95% of what the
power user setup does — it just routes tasks more carefully.

The Bottom Line

The “$600/month OpenClaw” meme comes from people who set their
default model to Opus, enable extended thinking on everything, run
heartbeats 24/7, and never once look at their model configuration.

That’s not OpenClaw being expensive. That’s a Ferrari left idling in
the driveway.

The actual OpenClaw API cost for a well-configured setup is
$3-5/month.
You get a genuine AI assistant — one that manages
your email, monitors your calendar, organises your files, helps you
think, and runs automations — for less than you spend on coffee in a
day.

The trick isn’t some secret hack. It’s just being intentional about
which brain you use for which task. Flash for the boring stuff. Haiku
for the routine. Sonnet when it matters. Opus when it really
matters.

Configure it once. Forget about it. Check your bill at the end of the
month and wonder what all the fuss was about.


Running OpenClaw and want to optimise your costs further? Check
out our complete cost
breakdown guide
for token-level analysis, or read about OpenClaw’s security
model
if you’re considering the local model route.

Keep Reading