Skip to main content
🌐

This article is also available in Chinese閱讀中文版 →

AI in Practice · · 15 min read

OpenClaw Deploy Cost Guide: Build Your Personal AI Assistant for $0-8/month

OpenClaw Deploy Cost Guide: Build Your Personal AI Assistant for $0-8/month

TL;DR

RouteCloud HostingLLM APIMonthly Cost
Free TrialOracle Cloud ARMGemini 2.5 Flash free tier$0
Ultra LowOracle Cloud ARMGPT-OSS-120B~$2-5
Daily WorkHetzner CAX11GPT-OSS-120B~$7
FlagshipHetzner CAX11GPT-5.4 / Sonnet 4.6 / Opus 4.6~$140-330
LocalMac Mini M4Any$599+ one-time

Monthly cost = VM + LLM API (tasks + heartbeat). Token usage assumptions and calculations in Part 2.


Introduction

“This is the closest thing to JARVIS I’ve ever used.”

That’s what developers are saying about OpenClaw—an open source AI agent framework that lets you run your own personal AI assistant 24/7, responding via Telegram, Discord, or WhatsApp.

Over 250K GitHub stars (surpassing React in just 60 days to become the most-starred software project on GitHub), viral TikTok demos—developers call it “the closest thing to JARVIS.” But one question keeps coming up:

“What’s the actual OpenClaw hosting cost?”

What do you need to run an AI bot?

Think of it like opening a 24/7 coffee shop.

First, you need a space—you can buy or rent. This is the “hardware” where OpenClaw runs.

Buy (self-hosted locally)? Many choose a Mac Mini M4—under $600, quiet, energy-efficient. Or use an old PC. You own the hardware, but you handle power outages, networking, and 24/7 uptime yourself.

Rent (cloud hosting)? Your server lives in Amazon, Google, or Oracle’s data center. No hardware maintenance, reliable uptime, starting at $0-4/month—but you pay monthly.

This guide focuses on renting—finding the cheapest cloud setup for your self-hosted AI agent.

With a space secured, you also need a barista. OpenClaw is just the framework—you need an AI brain to think and respond. That’s an LLM (Large Language Model) like ChatGPT, Claude, or Gemini.

Two ways to get a barista:

  • Self-serve (Local LLM): AI runs on your machine, no API fees. Instant coffee (7B models) works on basic hardware; premium espresso (70B+) needs expensive GPUs costing thousands of dollars
  • Delivery (API LLM): AI runs in the cloud, pay per use. Any computer can access top-tier models

This guide focuses on API LLMs—lowest hardware barrier, no GPU investment needed.

API pricing varies:

  • Budget but capable: GPT-OSS-120B, Gemini Flash
  • Premium: GPT-5.4, Claude Sonnet / Opus

How do they charge? By tokens—the text processed.

  • Your message to AI = input tokens
  • AI’s response = output tokens (usually pricier—generating is harder than reading)

More complex requests = higher cost. But agent token usage is much larger than you’d expect—each task carries system prompts, tool definitions, and conversation history, and a single task typically runs 3-8 LLM calls. We’ll break down the real numbers below.


Concepts covered. Let’s do the math—this guide focuses on the “rent + delivery” combination:

  • Cloud hosting: Rent a remote server to run OpenClaw
  • API LLM: Use cloud-based AI models to process messages

Goal: Show you the real cost of every combination, from free to flagship.


Part 1: How much does cloud hosting cost?


What are OpenClaw’s minimum hardware requirements?

Per OpenClaw docs:

SpecMinimumRecommendedBrowser Automation
vCPU22-44+
RAM2 GB4 GB8 GB
Storage2 GB10 GB+40 GB+
OSUbuntu 22.04+ / macOSUbuntu 24.04-
DependenciesNode.js 22+Docker (optional)Docker 24+

OpenClaw Gateway is lightweight—even a Raspberry Pi 4 can run it. But for multiple channels, browser automation, or media tools, use 4GB+ RAM.

Real-world advice: For smooth operation, use at least 2 vCPU + 4GB RAM. The Chrome DevTools attach mode added in v2026.3.13 (browser automation) uses an additional 1-2 GB RAM per instance.


Which cloud provider is cheapest?

ProviderPlanvCPURAMStorageMonthlyNotes
Oracle CloudARM Flex44 GB100 GBFreeRisk of deletion
HetznerCAX1124 GB40 GB~$4Stable choice (rising to ~$5 on 4/1)
AWSt4g.small22 GBEBS extra$12.26Free trial until 2026/12
GCPe2-small22 GB10 GB$12.23-
AzureB2s24 GBExtra$30.37Most expensive

Oracle offers the most generous free tier in the industry:

Always Free ARM specs:

  • 4 OCPU (= 8 vCPU) + 24 GB RAM
  • 200 GB Block Storage
  • 10 TB/month bandwidth
  • Forever free (not 12-month trial)

Suggested config:

OpenClaw doesn’t need much—2 OCPU (4 vCPU) + 4 GB RAM works great. Or max it out at 4 OCPU + 24 GB—it’s all free.

Avoid idle reclamation: Upgrade to Pay As You Go. Your Always Free resources stay free—you only pay if you manually create resources beyond the free limits. Upgrading prevents idle shutdown.

Known risk: Without PAYG upgrade, some users report accounts terminated without warning—deployments deleted, unrecoverable.

Recommendation: Add a credit card, upgrade to PAYG. Set a Budget Alert (e.g., $1) in OCI Console for email notifications. Free and peace of mind.


For stability without hassle:

PlanvCPURAMStorageMonthly
CAX112 (ARM)4 GB40 GB NVMe~$4

Transparent pricing, no hidden fees, no idle reclamation, stable performance. Want zero friction? Choose this.

Price increase notice: Hetzner announced a price hike effective 2026/4/1 in Germany/Finland regions—CAX11 goes from €3.29 to €4.49 (+36%). Still the cheapest option at this spec level.


Big Three Comparison (AWS / GCP / Azure)

If you prefer mainstream clouds:

ProviderPlanvCPURAMStorageMonthly
AWSt4g.small22 GB10 GB~$13
GCPe2-small22 GB10 GB~$13
AzureB2s24 GB10 GB~$31

AWS, GCP, and Azure have free tiers that meet minimum requirements (1 vCPU + 1 GB), but struggle with complex tasks—multiple channels, browser automation, or heavy messaging may lag.

ProviderPlanSpecs
GCPe2-micro1 vCPU, 1 GB
AzureB1s1 vCPU, 1 GB
AWS LightsailLowest1 vCPU, 512 MB

OK for testing. For production, use 2 vCPU + 2 GB minimum.


Part 2: How much does the LLM API cost?

How should you choose a model?

  1. Must support Vision (image analysis)—OpenClaw supports sending images to AI, very useful
  2. Agent capability must be strong enough—OpenClaw is an agent, not a chatbot

The second point matters. OpenClaw agents need accurate tool calling, multi-step reasoning, and the ability to persist through complex tasks. Weak models cause the agent to pick wrong tools, loop mid-task, or produce poor results.

Not recommended for OpenClaw: Qwen3 VL Flash, Gemini 2.5 Flash-Lite, GPT-4.1-mini—cheap but insufficient tool calling and multi-step reasoning. Saving on API fees costs you the experience. For details on how OpenClaw’s 26 Tools and 53 Skills work, see the Tools & Skills Complete Guide.


Price: USD / 1M tokens | sorted by input price

ProviderModelInputOutputFree TierAgent Capability
OpenAIGPT-OSS-120B$0.039$0.10None⭐⭐⭐⭐⭐
GoogleGemini 2.5 Flash$0.30$2.5010 RPM, 250/day⭐⭐⭐
GoogleGemini 3 Flash$0.50$3.00Free⭐⭐⭐⭐
GoogleGemini 2.5 Pro$1.25$10.005 RPM, 100/day⭐⭐⭐⭐⭐
OpenAIGPT-5.2$1.75$14.00None⭐⭐⭐⭐⭐
OpenAIGPT-4.1$2.00$8.00None⭐⭐⭐⭐
OpenAIGPT-5.4$2.50$15.00None⭐⭐⭐⭐⭐
AnthropicClaude Sonnet 4.6$3.00$15.00None⭐⭐⭐⭐⭐
AnthropicClaude Opus 4.6$5.00$25.00None⭐⭐⭐⭐⭐

What is GPT-OSS-120B? OpenAI’s open-weight 117B MoE model (Apache 2.0), activating only 5.1B parameters per pass, runs on a single H100. Scores 68% on TauBench (tool calling), outperforming o4-mini’s 65%; math (AIME 2025: 97.9%) and code (HumanEval: 92.1) are also top-tier. Yet it costs 1/50th of flagship models.

Free tier notes:

  • RPM (Requests Per Minute) = requests allowed per minute
  • /day = daily request limit, resets at midnight Pacific Time
  • Google AI Studio works without credit card—exceeding limits blocks requests temporarily, no charges

How many tokens does an agent actually use per month?

OpenClaw’s LLM costs come from two sources:

  1. Task consumption — tokens generated when you give commands and the agent does work
  2. Heartbeat consumption — even when you do nothing, OpenClaw periodically sends LLM requests in the background to check for scheduled tasks

You control the first one (less usage = less cost). Many people don’t even know the second one exists. Let’s start with task consumption—most cost estimates just count “messages per day × a few hundred tokens each,” which severely underestimates real agent usage.

Token structure of each OpenClaw agent task:

ComponentInput TokensNotes
System prompt + persona~2KSent every LLM call
Tool definitions (26 tools)~3-5KSent every LLM call
Skills context~1-3KActive skill descriptions
Conversation history (multi-turn)~2-10KAccumulates with each step
User input~0.5-1KYour actual command

A single task typically runs 3-8 LLM calls (think → pick tool → execute → evaluate → pick again → complete), so a medium task consumes 80K-150K input tokens.

Three user profiles:

ProfileTasks/DayMonthly InputMonthly Output
Light5-10~5M~1M
Daily15-25~20M~5M
Heavy40+~80M~20M

What is heartbeat, and why does it silently burn money?

Heartbeat is like your barista doing regular rounds: “Any new orders? Did the boss leave instructions?”—even when there are no customers, they still check.

This mechanism lets OpenClaw periodically check for pending tasks, read scheduled jobs from HEARTBEAT.md (e.g., push a Daily Brief every morning), or report system status—even when you haven’t given any commands. If you’ve set up scheduled tasks, heartbeat is the engine that drives them.

The problem: heartbeat is enabled by default, sending an LLM request every 30 minutes (60 minutes for Anthropic accounts), even if you haven’t set up any scheduled tasks. Each heartbeat sends the full workspace context (SOUL.md, AGENTS.md, MEMORY.md, etc.), consuming 8K-15K input tokens.

That’s ~38 calls/day × 15K = ~570K input tokens per day, burning money while doing nothing.

Cost-saving tips:

  • No scheduled tasks? Disable it: every: "0m"
  • Need scheduling but want to save? Enable isolatedSession: true + lightContext: true to reduce each heartbeat to ~2-5K tokens—90% savings

What’s the actual monthly bill? (Including Heartbeat)

Based on a daily user (20M input / 5M output) + default heartbeat (~570K input / ~19K output per day):

ModelTask CostHeartbeat CostMonthly Total (LLM only)
GPT-OSS-120B$1.28$0.72~$2
Gemini 2.5 Flash$18.50$5.27~$24
Gemini 2.5 Pro$75.00$29.25~$104
GPT-5.2$105.00$30.75~$136
GPT-4.1$80.00$22.38~$102
GPT-5.4$125.00$35.48~$160
Sonnet 4.6$135.00$52.73~$188
Opus 4.6$225.00$99.75~$325

Gemini free tier (2.5 Flash: 250/day, 2.5 Pro: 100/day) works for light users, but in agent mode 100 requests/day only covers about 10-15 medium tasks.


Part 3: Which combination is right for you?

Free Trial

ItemChoice
CloudOracle Cloud ARM (2 OCPU + 4GB)
LLMGoogle AI Studio Gemini 2.5 Flash free tier
HeartbeatDisabled (every: "0m")
Monthly$0
Best forTesting, light use (10-15 tasks/day max)
LimitsOracle idle reclamation risk, Gemini 250/day / 10 RPM

Gemini 2.5 Flash has ⭐⭐⭐ agent capability—fine for simple tasks, but complex multi-step operations may stall or pick wrong tools. This setup is for experiencing how OpenClaw works at zero cost, not as a daily driver. Once you see the value, upgrade to GPT-OSS-120B or stronger.


Ultra Low Cost (~$2-5/mo)

ItemChoice
CloudOracle Cloud ARM (free)
LLMGPT-OSS-120B
HeartbeatEven enabled, only ~$0.72/mo
Monthly~$2-5
Best forReal agent capability on a budget
RisksOracle idle reclamation

GPT-OSS-120B’s tool calling outperforms o4-mini, and even heavy use costs only ~$5/month. The best value combo available right now.


Daily Work (~$7/mo)

ItemChoice
CloudHetzner CAX11 (~$4-5)
LLMGPT-OSS-120B
HeartbeatEven enabled, only ~$0.72/mo
Monthly~$7
Best forDaily use, work integration, stable VM without hassle
vs. Ultra LowVM switches from Oracle (free but risky) to Hetzner (stable, paid)

GPT-OSS-120B has ⭐⭐⭐⭐⭐ agent capability—more than enough for daily work. $7/month for a 24/7 AI agent is the price of a coffee.


Flagship Experience (~$140-330/mo)

ItemChoice
CloudHetzner CAX11 (~$4-5)
LLMGPT-5.4 / Claude Sonnet 4.6 / Opus 4.6
HeartbeatIncluded (Opus heartbeat alone is ~$100/mo)
Monthly~$144-330
Best forStrongest reasoning, full automation, highest response quality
NoteOpus 4.6 heartbeat alone costs ~$100/mo—make sure you need it

The jump from $7 to $140+ is a 20x price difference. Flagship models are genuinely stronger at complex reasoning, code quality, and nuanced language understanding, but for most daily tasks GPT-OSS-120B handles them well. Start with OSS-120B, upgrade when you hit a ceiling.


Decision Flowchart

What's your budget?
|
├─ $0 (Free) → Oracle + Gemini 2.5 Flash free tier (disable heartbeat)
|
├─ < $5 → Oracle + GPT-OSS-120B (free VM, idle risk)
|
├─ < $10 → Hetzner + GPT-OSS-120B (stable VM, best value)
|
└─ Unlimited → Hetzner + GPT-5.4 / Sonnet 4.6 / Opus 4.6

My Setup

I personally use Azure B2s (2 vCPU + 4GB RAM) + Azure OpenAI GPT-5.2.

Why not the cheaper Oracle or Hetzner options? Because I got $25,000 in free Azure credits (valid for one year) through Microsoft for Startups—covering both cloud hosting and LLM API. My current monthly cost is $0.

If you’re an indie hacker or early-stage founder, this path is worth considering: zero cost for both hardware and LLM.

What do I actually do with it? OpenClaw is my mobile gateway to my entire AI second brain—when I’m away from my computer, it pushes a Daily Brief every morning, reports task status on demand, and lets me interact with the whole system from my phone.


Conclusion

Self-hosted AI agent costs depend on two things: which model you choose and whether you disable heartbeat.

Your NeedRecommendedMonthly
Just testingOracle + Gemini 2.5 Flash free tier$0
Budget but capableOracle + GPT-OSS-120B~$2-5
Daily workHetzner + GPT-OSS-120B~$7
FlagshipHetzner + GPT-5.4 / Sonnet 4.6 / Opus 4.6~$140-330

Oracle Cloud free tier is the best free option—but be prepared to migrate if needed.

Hetzner VPS is the best value for money—$4-5/month for stability.

GPT-OSS-120B is the cost game changer—tool calling outperforms o4-mini, yet costs just $2-5/month. If budget matters, start here.


Next Step: Deploy OpenClaw in 30 Minutes

You know the costs. Now take action.

Recommended starting path:

  1. Sign up for Oracle Cloud (free, 5 min)
  2. Create an ARM VM (2 OCPU + 4GB)
  3. Follow the OpenClaw deployment guide
  4. Connect Google AI Studio (free Gemini 2.5 Flash API)
  5. Disable heartbeat (every: "0m") to save tokens—enable it later once you’re familiar

In 30 minutes, you’ll have your own 24/7 personal AI assistant.

Before deploying, read the OpenClaw Security Guide—set up token limits, tool allowlists, and network isolation to avoid security pitfalls.

Stuck? Ask in the OpenClaw Discord—the community is active and helpful.


FAQ

How much does it cost to deploy OpenClaw per month?

It depends on your LLM model and VM choice. Free setup (Oracle Cloud + Gemini free tier) costs $0/month; ultra low cost (Oracle + GPT-OSS-120B) runs about $2-5/month; daily work (Hetzner + GPT-OSS-120B) about $7/month; flagship (Hetzner + Opus 4.6) can reach $330/month. You can start with GPT-OSS-120B and upgrade if needed.

What is OpenClaw heartbeat and does it cost extra?

Heartbeat is a background mechanism enabled by default that sends an LLM request every 30 minutes to check for scheduled tasks. Each request consumes 8K-15K input tokens. With flagship models, heartbeat alone can cost $30-100/month. Disable it with every: "0m", or enable isolatedSession: true + lightContext: true to reduce costs by 90%.

Is GPT-OSS-120B good enough for OpenClaw?

Yes. GPT-OSS-120B is OpenAI’s open-weight 117B MoE model with tool calling that outperforms o4-mini (TauBench 68% vs 65%). API pricing is just $0.039/$0.10 per 1M tokens, costing about $2/month for daily use. It’s the best value option for OpenClaw right now.

Is Oracle Cloud free tier really free forever?

Yes. Oracle Cloud Always Free ARM resources (up to 4 OCPU + 24 GB RAM) are free indefinitely, not a 12-month trial. However, upgrading to Pay As You Go and setting a Budget Alert is recommended to avoid idle account reclamation.



Resources

Cloud Hosting

LLM API Pricing

OpenClaw


Last updated: 2026-03-17

Enjoyed this? Connect with me on LinkedIn — I’m always happy to chat about AI, systems, and building things solo.

#AI #indie hacker #developer tools #OpenClaw #self-hosted AI

Last updated: March 17, 2026

FAQ

How much does it cost to deploy OpenClaw per month?
It depends on your LLM model and VM choice. Free setup (Oracle Cloud + Gemini free tier) costs $0/mo; ultra low cost (Oracle + GPT-OSS-120B) runs about $2-5/mo; daily work (Hetzner + GPT-OSS-120B) about $7/mo; flagship (Hetzner + Opus 4.6) can reach $330/mo. You can start with GPT-OSS-120B and upgrade if needed.
What is OpenClaw heartbeat and does it cost extra?
Heartbeat is a background mechanism enabled by default that sends an LLM request every 30 minutes to check for scheduled tasks. Each request consumes 8K-15K input tokens. With flagship models, heartbeat alone can cost $30-100/month. Disable it with every: 0m, or enable isolatedSession + lightContext to reduce costs by 90%.
Is GPT-OSS-120B good enough for OpenClaw?
Yes. GPT-OSS-120B is OpenAI's open-weight 117B MoE model with tool calling that outperforms o4-mini (TauBench 68% vs 65%). API pricing is just $0.039/$0.10 per 1M tokens, costing about $2/month for daily use. It's the best value option for OpenClaw right now.
Is Oracle Cloud free tier really free forever?
Yes. Oracle Cloud Always Free ARM resources (up to 4 OCPU + 24 GB RAM) are free indefinitely, not a 12-month trial. However, upgrading to Pay As You Go and setting a Budget Alert is recommended to avoid idle account reclamation.

Related Posts