An intelligent proxy that classifies incoming requests by complexity and routes them to the most cost-effective LLM provider.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install llmrouter
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install llmrouter using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
LLM Router is a sophisticated proxy layer designed to optimize token usage and significantly reduce API expenses by dynamically directing incoming requests to appropriate language models. By analyzing the inherent complexity of a prompt, the system ensures that simple tasks like greetings or basic acknowledgments are handled by lightweight, inexpensive models, while reserving high-performance models for intense coding, system architecture, or complex reasoning.
Built to enhance the efficiency of Openclaw Skills, this tool provides a unified OpenAI-compatible API that bridges multiple providers including Anthropic, OpenAI, Google Gemini, and local Ollama instances. It empowers developers to maintain high performance without the high costs typically associated with premium LLM usage by automating the model selection process based on real-time task analysis.
To get started with this skill, ensure you have Python 3.10+ installed. Follow these steps to deploy the router:
# Clone the repository and enter the directory
git clone https://github.com/alexrudloff/llmrouter.git
cd llmrouter
# Create and activate a virtual environment
python3 -m venv venv
source venv/bin/activate
# Install required dependencies
pip install -r requirements.txt
# Prepare your configuration
cp config.yaml.example config.yaml
# Edit config.yaml with your specific API keys and model preferences
# Launch the server with compatibility for Openclaw Skills
python server.py --openclaw
The skill manages its logic and routing through a structured set of files and API mappings:
| Component | Function |
|---|---|
| config.yaml | The primary configuration file defining model assignments for each complexity tier and classifier settings. |
| ROUTES.md | A customizable markdown file used by the classifier to tune how different types of messages are categorized. |
| API Endpoint | A standard /v1/chat/completions interface that mimics the OpenAI API for easy integration. |
| Openclaw Config | Integration settings stored in ~/.openclaw/openclaw.json to register the router as a provider. |
Loading
Conduct multi-source deep research with verifiable citations and interactive follow-up chat via the Caesar API.

A historical mapping tool to explore the legacy of entertainment, nightlife, and cultural venues in Tel Aviv and Haifa.

A real-time OSINT monitoring tool that aggregates data across eight signal categories to estimate US-Iran military strike probability.

A specialized tool for searching medications and verifying real-time inventory levels at Maccabi Pharmacies across Israel.

A hardware-aware advisor that detects system specs to recommend the best-fitting local LLMs with optimal quantization and speed estimates.

A standardized prompt assembly framework designed to guarantee AI agent stability by preventing token overflow through intelligent memory orchestration.








































