cloudflare /moltworker
Run OpenClaw, (formerly Moltbot, formerly Clawdbot) on Cloudflare Workers
★ 9,945⑂ 1,699👁 45⑃ 234● 132▤ 0
-1
日增长
9,945
stars
1,699
forks
45
watchers
234
prs
132
issues
0
releases
README
OpenClaw on Cloudflare Workers Run OpenClaw (formerly Moltbot, formerly Clawdbot) personal AI assistant in a Cloudflare Sandbox. !moltworker architecture Experimental: This is a proof of concept demonstrating that OpenClaw can run in Cloudflare Sandbox. It is not officially supported and may break without notice. Use at your own risk. Requirements - Workers Paid plan ($5 USD/month) — required for Cloudflare Sandbox containers. Running the container incurs additional compute costs; see Container Cost Estimate below for details. - Anthropic API key — for Claude access, or you can use AI Gateway's Unified Billing The following Cloudflare features used by this project have free tiers: - Cloudflare Access (authentication) - Browser Rendering (for browser navigation) - AI Gateway (optional, for API routing/analytics) - R2 Storage (optional, for persistence) Container Cost Estimate This project uses a standard-1 Cloudflare Container instance (1/2 vCPU, 4 GiB memory, 8 GB disk). Below are approximate monthly costs assuming the container runs 24/7, based on Cloudflare Containers pricing: | Resource | Provisioned | Monthly Usage | Included Free | Overage | Approx. Cost | |----------|-------------|---------------|---------------|---------|--------------| | Memory | 4 GiB | 2,920 GiB-hrs | 25 GiB-hrs | 2,895 GiB-hrs | ~$26/mo | | CPU (at ~10% utilization) | 1/2 vCPU | ~2,190 vCPU-min | 375 vCPU-min | ~1,815 vCPU-min | ~$2/mo | | Disk | 8 GB | 5,840 GB-hrs | 200 GB-hrs | 5,640 GB-hrs | ~$1.50/mo | | Workers Paid plan | | | | | $5/mo | | Total | | | | | ~$34.50/mo | Notes: - CPU is billed on active usage only, not provisioned capacity. The 10% utilization estimate is a rough baseline for a lightly-used personal assistant; your actual cost will vary with usage. - Memory and disk are billed on provisioned capacity for the full time the container is running. - To reduce costs, configure SANDBOX_SLEEP_AFTER (e.g., 10m) so the container sleeps when idle. A container that only runs 4 hours/day would cost roughly ~$5-6/mo in compute on top of the $5 plan fee. - Network egress, Workers/Durable Objects requests, and logs are additional but typically minimal for personal use. - See the instance types table for other options (e.g., lite at 256 MiB/$0.50/mo memory or standard-4 at 12 GiB for heavier workloads). What is OpenClaw? OpenClaw (formerly Moltbot, formerly Clawdbot) is a personal AI assistant with a gateway architecture that connects to multiple chat platforms. Key features: - Control UI - Web-based chat interface at the gateway - Multi-channel support - Telegram, Discord, Slack - Device pairing - Secure DM authentication requiring explicit approval - Persistent conversations - Chat history and context across sessions - Agent runtime - Extensible AI capabilities with workspace and skills This project packages OpenClaw to run in a Cloudflare Sandbox container, providing a fully managed, always-on deployment without needing to self-host. Optiona
Top issues
#49Support GEMINI API19 comments · 2026-01-30#139SANDBOX_SLEEP_AFTER never doesn't work. My container is still sleeping!11 comments · 2026-02-02#70Please add availabilty to change to Moonshot Kimi K2.512 comments · 2026-01-30#50Support for GLM-4.7 through Z.AI endpoint (or OpenRouter)?11 comments · 2026-01-30#326Container doesn't start anymore5 comments · 2026-03-25#287brew not installed5 comments · 2026-02-24#253Memory Runaway: Linear Memory Growth in OpenClaw on Cloudflare Sandbox4 comments · 2026-02-15#104Telegram HTTP 403: forbidden: Request not allowed4 comments · 2026-02-01