How to Run ClawdBot (MoltBot) on Cloudflare for $5/Month and Ditch Mac Mini

Skip the $500+ Mac mini. Run Moltbot (ClawdBot) AI assistant on Cloudflare Workers for just $5/month. Complete setup guide with step-by-step instructions.

Ashley Innocent

Ashley Innocent

30 January 2026

How to Run ClawdBot (MoltBot) on Cloudflare for $5/Month and Ditch Mac Mini

Moltbot (formerly ClawdBot) is a self-hosted AI assistant that runs on your device and executes tasks through chat apps like WhatsApp and Discord. Instead of buying a $500+ Mac mini, deploy it on Cloudflare Workers for just $5/month using Moltworker. This serverless approach gives you 24/7 uptime, automatic scaling, zero hardware maintenance, and built-in persistence—all while testing API integrations with tools like Apidog.

button

Introduction

The internet went wild in January 2026 when Moltbot (originally ClawdBot) went viral. This self-hosted AI assistant promised to be your personal "intern"—controlling your computer, managing files, automating workflows, and responding through chat apps. The hype was real: Cloudflare's stock surged 20%, Mac minis sold out everywhere, and developers scrambled to get their hands on this powerful automation tool.

But here's the problem: Most tutorials told you to buy a $500+ Mac mini just to keep Moltbot running 24/7. That's expensive, power-hungry, and requires physical hardware maintenance.

What if you could run Moltbot in the cloud for just $5 per month? No hardware. No electricity bills. No maintenance. Just pure serverless automation.

What is Moltbot (ClawdBot)?

Moltbot (formerly ClawdBot) is an open-source, self-hosted personal AI assistant created by Peter Steinberger in late 2025. Unlike cloud-based AI assistants like ChatGPT or Claude, Moltbot runs on your own infrastructure and has full access to your local system.

Key Features

Multi-Platform Chat Integration. Moltbot connects to messaging platforms including WhatsApp, Telegram, Slack, Discord, iMessage, and Signal. You send natural language commands through chat, and Moltbot executes them on your machine.

Full System Access. Unlike restricted cloud assistants, Moltbot can:

Proactive Intelligence. Moltbot doesn't just wait for commands. It can:

Extensible Skill System. The Moltbot community has created over 100 skills (plugins) for tasks like:

Model Flexibility. Moltbot is model-agnostic. While originally optimized for Anthropic's Claude 3.5 Sonnet, you can connect it to several model

The Viral Rise and Rebranding

In January 2026, ClawdBot exploded in popularity after TechCrunch covered it and developers shared demos on social media. However, Anthropic issued a trademark request because "Clawd" sounded too similar to "Claude."

The project was quickly rebranded to Moltbot, keeping the lovable lobster mascot. According to this DEV Community post, the rename happened within days, but the community adapted fast.

Why Developers Love It

Moltbot represents a shift toward agentic AI—AI that takes actions, not just answers questions. As MacStories noted, "Moltbot showed me what the future of personal AI assistants looks like."

For developers, it's the perfect tool for:

Why Everyone Was Buying Mac Minis

When Moltbot went viral, a strange thing happened: Mac mini sales skyrocketed. Developers started buying $500-$700 Mac minis just to run this AI assistant 24/7.

The Logic Behind Mac Mini Deployments

Always-On Requirement: For Moltbot to be truly useful, it needs to run continuously. You want it to:

This meant you couldn't just run it on your laptop—you needed dedicated hardware.

Low Power Consumption : Compared to full desktop PCs, Mac minis consume only 10-30 watts. For 24/7 operation, this translates to roughly $3-5/month in electricity costs.

Reliable macOS Environment: Moltbot was originally developed on macOS, and many early adopters were Mac developers. The Mac mini offered a familiar, stable environment.

One-Time Cost: At $500-$700, a Mac mini seemed like a reasonable investment compared to ongoing cloud hosting fees (or so people thought).

The Hidden Costs

But the Mac mini approach had serious downsides:

Cost Factor Mac Mini Reality
Initial Hardware $500–$700 upfront
Electricity (24/7) $36–$60 per year
Internet/Networking Stable home network required
Maintenance OS updates, hardware failures
Scaling Buy another Mac mini for redundancy
Portability Physical location-dependent
Noise/Heat Occupies physical space

If you calculate the total cost of ownership over 3 years:

And if the hardware fails after 2-3 years? You're buying another one.

The VPS Alternative

Some developers turned to VPS hosting at $3-5/month, running Moltbot on DigitalOcean, Railway, or AWS EC2. This was smarter than Mac mini, but still had limitations:

Enter Cloudflare Moltworker: The Smart Solution

Cloudflare released Moltworker—an official proof-of-concept that runs Moltbot on Cloudflare Workers instead of dedicated hardware.

According to Cloudflare's, Moltworker demonstrates how a self-hosted AI agent can operate in a serverless, sandbox environment while retaining persistent state.

High-level architecture diagram of Moltworker.

What is Moltworker?

Moltworker is a middleware solution that:

Think of it as "Moltbot-as-a-Service" on Cloudflare's global edge network.

Cloudflare Moltworker Pricing

Workers Paid Plan: $5/month

This includes:

For a typical Moltbot usage pattern:

Estimated monthly cost: $5.00 (base plan covers everything)

According to Cloudflare's pricing documentation, even heavy usage rarely exceeds $5-8/month for personal AI agents.

Step-by-Step Setup Guide: Run Moltbot on Cloudflare

Now let's get your hands dirty. This section walks you through deploying Moltworker from scratch.

Prerequisites

Before starting, you'll need:

Chat platform bot token:

Step 1: Upgrade to Workers Paid Plan

Note: The free Workers tier doesn't include Sandboxes (required for Moltworker).

Step 2: Get Your Cloudflare Account ID and API Token

Find Account ID:

Create API Token:

Copy the token (starts with _)—you'll need this for Wrangler CLI

Step 3: Install Wrangler CLI

Wrangler is Cloudflare's official CLI for Workers development.

# Install globally
npm install -g wrangler
# Login to Cloudflare
wrangler login
# This opens a browser for OAuth authentication
# Verify your account
wrangler whoami
Expected output:
You are logged in with an OAuth Token, associated with the email '<your-email>@example.com'!
Account: <Your Account Name>
Account ID: a1b2c3d4e5f6g7h8i9j0

Step 4: Clone and Configure Moltworker

# Clone the official Moltworker repository
git clone https://github.com/cloudflare/moltworker.git
cd moltworker
# Install dependencies
npm install
Now edit wrangler.toml to add your Account ID:

name = "moltworker"
main = "src/index.ts"
compatibility_date = "2026-01-01"
# Add your Account ID here
account_id = "YOUR_ACCOUNT_ID_HERE"
# Durable Object bindings
[[durable_objects.bindings]]
name = "MOLTBOT_STATE"
class_name = "MoltbotDurableObject"
script_name = "moltworker"
# Optional R2 storage for files
[[r2_buckets]]
binding = "MOLTBOT_FILES"
bucket_name = "moltbot-storage"
Replace YOUR_ACCOUNT_ID_HERE with your actual Account ID from Step 2.

Step 5: Configure Secrets (API Keys & Bot Tokens)

Moltworker needs several secrets. Never commit these to Git—use Wrangler's secret management.

Set Anthropic API Key:

wrangler secret put ANTHROPIC_API_KEY
# Paste your Claude API key when prompted (sk-ant-...)

Set Discord Bot Token (if using Discord):

wrangler secret put DISCORD_BOT_TOKEN
# Paste your Discord bot token

Set Telegram Bot Token (if using Telegram):

wrangler secret put TELEGRAM_BOT_TOKEN
# Paste your Telegram bot token from @BotFather

Step 6: Deploy to Cloudflare

Now the exciting part—deploy your Moltbot instance to the edge!

npm run deploy
# Or directly:
wrangler deploy

Expected output:

⛅️ Uploading... (2.3 MB)
✨ Uploaded successfully
🌎 Publishing to Cloudflare...
✨ Published moltworker (2.1 sec)
  https://moltworker.your-subdomain.workers.dev

Important: Save that URL! This is your Moltbot API endpoint.

Step 8: Test Your Moltbot

Send a test message to your bot:

Discord: @YourBot hello. Telegram: /start then what can you do? Slack: @YourBot help

Expected response:

Hello! I'm Moltbot, your personal AI assistant running on Cloudflare Workers.
I can help you with:
- File management
- System commands
- Web searches
- Automation tasks
- And much more!

Try asking me: "What's the weather in San Francisco?" or "Create a summary of my inbox"

If you get this response, congratulations! Your Moltbot is live on Cloudflare.

Testing Moltbot APIs with Apidog

Your Moltbot is running, but how do you monitor API calls, debug webhook failures, or test custom integrations? This is where Apidog shines.

Why Use Apidog for Moltbot Development?

Apidog is an all-in-one API development platform that combines design, testing, documentation, and mocking. For Moltbot deployments, it's perfect for:

Conclusion

The Moltbot (ClawdBot) hype sparked a Mac mini buying frenzy, but as we've shown, you don't need $500+ hardware to run a 24/7 AI assistant. Cloudflare Moltworker delivers the same functionality for just $5/month.

button

Explore more

Apidog Test Suites: A Smarter Way to Automate API Testing

Apidog Test Suites: A Smarter Way to Automate API Testing

When test cases and scenarios pile up, managing them becomes a burden. Apidog Test Suites fix that with filter rules (folder, tag, priority)—static mode for fixed sets, dynamic for zero-maintenance regression. Run from the UI, CLI, or scheduled tasks; get one report.

30 January 2026

How to run Kimi K2.5 with ClawdBot (MoltBot) ?

How to run Kimi K2.5 with ClawdBot (MoltBot) ?

Learn exactly how to connect Kimi K2.5 (Moonshot AI's powerful multimodal 1T-parameter model) to MoltBot (rebranded from ClawdBot) using API or local deployment.

30 January 2026

How to Use Murf AI API

How to Use Murf AI API

This guide walks you through everything from authentication to generating your first voiceover. By the end, you'll have a working integration that converts text to speech programmatically.

29 January 2026

Practice API Design-first in Apidog

Discover an easier way to build and use APIs