Using OpenClaw with Yi-AI Router
OpenClaw is an open-source AI agent platform that brings conversational AI to messaging channels including Telegram, Discord, Slack, Signal, iMessage, and WhatsApp. Route OpenClaw through Yi-AI Router for centralized billing and access to all major model providers.
One-Line Install
KEY="sk-yi-your-key"; curl -sS "https://www.yiairouter.com/api/v1/init-claw?key=$KEY" | bash
openclaw gateway run
The setup script is AES-256 encrypted — the script content cannot be viewed directly. It automatically configures environment variables and model settings.
Monitoring Usage
Track your OpenClaw usage on the Yi-AI Router Dashboard.
Common Errors
"No API key found for provider"
Fix: Ensure YI_AI_API_KEY is set in your environment to your valid Yi-AI API key. The init script above configures this automatically.
Authentication errors (401/403)
Fix: Verify your API key at Yi-AI Dashboard and check your account balance.