Skip to content
Skip the setup

Want us to handle everything? Get fully managed hosting, free to start.

Back to Deploy Options

Deploy to Cloudflare Workers

Serverless deployment with global edge distribution.

Advantages

  • Global edge network - 300+ locations worldwide
  • Auto-scaling - Handles traffic spikes automatically
  • DDoS protection - Enterprise-grade security included
  • Low cost - $5/month Workers Paid plan
  • No server management - Cloudflare handles infrastructure
  • Slack works great - Socket Mode fully supported

Limitations

  • No Telegram - Containers hibernate, breaking polling
  • Containers beta - Requires beta enrollment
  • Cold starts - First request after idle may be slow
  • Storage limits - Limited persistent storage options
  • Cloudflare Access required - Extra setup for admin UI

Why Telegram doesn't work

Telegram bots require a persistent connection (long-polling) to receive messages. Cloudflare Workers containers hibernate when not receiving HTTP requests, killing this connection. Webhook mode fails because the auth middleware blocks Telegram's callbacks. Use VPS deployment for Telegram.

Things to Consider

Best for: Users who only need Slack or Discord integration, want zero server management, and value global edge performance over messaging platform flexibility.

Cloudflare Access:You'll need to set up Cloudflare Access (free) to protect the admin UI. This adds authentication but requires extra configuration steps.

Cold starts:If your worker hasn't been used for a while, the first request may take 1-3 seconds as the container starts up. Subsequent requests are fast.

Step 1: API Credentials

You'll need a Cloudflare account and an AI provider API key.

Create one at Cloudflare API Tokens using "Edit Cloudflare Workers" template.

This will be your worker URL: openclaw.workers.dev

OpenRouter lets you use models from multiple providers with one API key.

Get one at OpenRouter Dashboard

Prerequisites
  • - Cloudflare account with Workers Paid plan ($5/mo)
  • - Workers Containers beta enabled (enable here)
  • - AI provider API key (OpenAI or OpenRouter)