DEV Community

Cover image for Build Your Own 24/7 AI Assistant with OpenClaw + Crazyrouter: From Deploy to Power User
xujfcn
xujfcn

Posted on

Build Your Own 24/7 AI Assistant with OpenClaw + Crazyrouter: From Deploy to Power User

ChatGPT Plus is $20/month. Claude Pro is another $20. Gemini Advanced? $20 more.

That's $60/month for 3 models, each locked in its own app.

What if you could access 300+ AI models through a single gateway, pay only for what you use, and chat with your AI from Telegram, Discord, or Slack — 24/7?

Meet OpenClaw + Crazyrouter.

Deploy in 30 Seconds

Grab a Linux server (1-2GB RAM is enough) and run:

curl -fsSL https://raw.githubusercontent.com/xujfcn/crazyrouter-openclaw/main/install.sh | bash
Enter fullscreen mode Exit fullscreen mode

The installer handles everything:

  • Node.js installation
  • 15+ pre-configured AI models (Claude, GPT, Gemini, DeepSeek)
  • Telegram Bot setup (interactive)
  • Auto-start on boot (systemd/launchd)

Get your free API key at crazyrouter.com.

Power Move #1: Smart Model Routing

Switch models mid-conversation:

/model claude-opus-4-6    → Complex reasoning
/model gpt-5-mini         → Quick chat (cheap)
/model deepseek-r1        → Code generation
/model gemini-3-flash     → Fast multilingual
Enter fullscreen mode Exit fullscreen mode

My routing strategy:

  • Casual chat → GPT-5 Mini ($0.15/M tokens)
  • Coding → DeepSeek R1 or Claude Opus
  • Translation → Gemini Flash
  • Deep analysis → Claude Opus

One bot, all scenarios. No more switching between 4 apps.

Power Move #2: Use It as Your Coding Backend

OpenClaw is OpenAI API-compatible. Point your coding tools at it:

Cursor

Settings → Models → OpenAI API Key
Base URL: http://your-server:18789/v1
API Key: your-crazyrouter-key
Enter fullscreen mode Exit fullscreen mode

Cline (VS Code)

API Provider: OpenAI Compatible
Base URL: http://your-server:18789/v1
Model: claude-opus-4-6
Enter fullscreen mode Exit fullscreen mode

Aider

export OPENAI_API_BASE=http://your-server:18789/v1
export OPENAI_API_KEY=your-key
aider --model claude-opus-4-6
Enter fullscreen mode Exit fullscreen mode

Unified billing, unified management. All your AI tools through one gateway.

Power Move #3: Multi-Platform Presence

Run your AI on multiple platforms simultaneously:

# ~/.openclaw/config.yaml
plugins:
  telegram:
    token: "your-tg-token"
  discord:
    token: "your-discord-token"
  slack:
    token: "your-slack-token"
Enter fullscreen mode Exit fullscreen mode

One AI assistant, everywhere your team communicates.

Power Move #4: Scheduled Tasks

Make your AI proactive with cron jobs:

openclaw cron add --name "morning-brief" \
  --schedule "0 8 * * *" \
  --task "Summarize today's tech news and send to Telegram"
Enter fullscreen mode Exit fullscreen mode

Real use cases:

  • Daily news digest at 8 AM
  • Email summary every 4 hours
  • Weekly project status reports
  • Competitor monitoring alerts

Power Move #5: Memory System

Your AI remembers context across conversations:

  • Short-term: Automatic context within conversations
  • Long-term: Remembers your preferences, projects, tech stack
  • File system: AI can read/write local files
You: Remember, my project uses Python + FastAPI on AWS
AI: Noted. I'll consider this stack for future answers.

(3 days later)
You: Write me an API endpoint
AI: Based on your FastAPI project, here's the code...
Enter fullscreen mode Exit fullscreen mode

Cost Comparison

Solution Monthly Models Platforms
ChatGPT Plus $20 1 Web only
Claude Pro $20 1 Web only
Both $40 2 Web only
OpenClaw + Crazyrouter $5-15 300+ TG/Discord/Slack/API

Pay per use. Light users spend under $5/month.

Get Started

curl -fsSL https://raw.githubusercontent.com/xujfcn/crazyrouter-openclaw/main/install.sh | bash
Enter fullscreen mode Exit fullscreen mode

What's your AI assistant setup? Drop a comment below 👇

Top comments (0)