
cloudflare/moltworker
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
OpenClaw(旧Moltbot、旧Clawdbot)をCloudflare Workers上で実行してください
概要
OpenClaw(旧Moltbot、旧Clawdbot)というパーソナルAIアシスタントをCloudflareサンドボックスで実行します。 これはOpenClawがCloudflare Sandboxで動作できることを示す概念実証です。公式にはサポートされておらず、予告なく故障する可能性があります。使用は自己責任で行ってください。 - ワーカーズペイドプラン(月額5米ドル) — Cloudflare Sandboxコンテナに必須です。コンテナの運用には追加の計算コストが発生します。詳細は下記のコンテナコスト見積もりをご覧ください。- Anthropic APIキー — Claudeアクセス用、またはAI Gatewayの統一課金(Unified Billing)を利用できます 本プロジェクトで使用されている以下のCloudflare機能は無料プランがあります:- Cloudflare Access(認証) - ブラウザレンダリング(ブラウザナビゲーション用) - AI Gateway(オプション、APIルーティング/分析用) - R2ストレージ(永続性用 オプション) このプロジェクトは標準1のCloudflareコンテナインスタンス(1/2 vCPU、4 GiBメモリ、8 GBディスク)を使用しています。
概要(AI 翻訳)
OpenClaw(旧Moltbot、旧Clawdbot)というパーソナルAIアシスタントをCloudflareサンドボックスで実行します。
実験的: これはOpenClawがCloudflare Sandboxで動作できることを示す概念実証です。公式にはサポートされておらず、予告なく故障する可能性があります。使用は自己責任で行ってください。
要件
- ワーカーズペイドプラン(月額5米ドル) — Cloudflareサンドボックスコンテナに必要です。コンテナの運用には追加の計算コストが発生します。詳細は以下のコンテナコスト見積もりをご覧ください。
- Anthropic APIキー — Claudeアクセス用、またはAI Gatewayの統一課金(Unified Billing)を利用できます
このプロジェクトで使用されている以下のCloudflare機能は無料プランがあります:
- Cloudflare Access(認証)
- ブラウザレンダリング(ブラウザナビゲーション用)
- AIゲートウェイ(オプション、APIルーティング/分析用)
- R2ストレージ(永続性のためオプション)
コンテナコスト見積もり
このプロジェクトはstandard-1のCloudflareコンテナインスタンス(1/2 vCPU、4 GiBメモリ、8 GBディスク)を使用しています。以下は、コンテナが24時間稼働している場合の概算月額コストです。Cloudflare Containersの価格に基づいています:
|リソース |プロビジョニング済み |月間使用量 |無料含まれ |超過料金 |おおよそのコスト |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
OpenClaw on Cloudflare Workers
Run OpenClaw (formerly Moltbot, formerly Clawdbot) personal AI assistant in a Cloudflare Sandbox.
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.,
liteat 256 MiB/$0.50/mo memory orstandard-4at 12 GiB for heavier workloads).
What is OpenClaw?
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add cloudflare/moltworker