llm-router
Unified LLM Gateway - One API for 70+ AI models. Route to GPT, Claude, Gemini, Qwen, Deepseek, Grok and more with a single API key.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bowen-dotcom/aisa-llm-router-skillWhat This Skill Does
The llm-router skill acts as a high-performance, unified intelligence gateway for your OpenClaw agents. By consolidating 70+ AI models behind a single OpenAI-compatible API, it eliminates the need to manage dozens of individual API keys or rewrite code when switching between model providers like OpenAI, Anthropic, Google, and Deepseek. It simplifies your infrastructure by providing a single endpoint for all inference tasks, complete with built-in fallbacks, intelligent routing, and centralized billing.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/bowen-dotcom/aisa-llm-router-skill
After installation, ensure your environment variable is set: export AISA_API_KEY="your-key-here".
Use Cases
- Production-Grade Fallbacks: Configure your agent to query a premium model like GPT-4, and if it fails due to rate limits or downtime, automatically trigger a secondary request to Claude or Gemini to ensure service continuity.
- Cost-Effective Routing: Dynamically route simple chat interactions to high-speed, low-cost models (like gpt-4o-mini or gemini-flash) while escalating complex reasoning tasks to high-end models like Deepseek-R1.
- A/B Testing AI Logic: Compare how different model families respond to the exact same prompt to identify which underlying intelligence performs best for your specific agent tasks.
Example Prompts
- "Use the llm-router to compare the coding performance of deepseek-v3 and gpt-4o for a simple python script generator."
- "If the primary LLM fails to process the current prompt, use the fallback strategy to route the request to claude-3-5-sonnet."
- "Route all user-facing chat messages to gemini-2.0-flash to save costs, but use gpt-4o for any image analysis tasks."
Tips & Limitations
- Model Availability: Always verify supported models via the official marketplace documentation, as providers frequently update their catalogs.
- Temperature Control: While the router handles standard OpenAI parameters, be aware that some smaller or specialized models may have varying sensitivity to temperature settings.
- Latency: While the router is optimized for low latency, remember that choosing larger, reasoning-heavy models will naturally increase total response time. Monitor your usage logs within the AIsa dashboard to track costs and performance trends effectively.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bowen-dotcom-aisa-llm-router-skill": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api
Related Skills
openclaw-media-gen
Generate images & videos with AIsa. Gemini 3 Pro Image (image) + Qwen Wan 2.6 (video) via one API key.
Twitter Command Center (Search + Post)
Searches and reads X (Twitter): profiles, timelines, mentions, followers, tweet search, trends, lists, communities, and Spaces. Publishes posts after the user completes OAuth in the browser. Use when the user asks about Twitter/X data, social listening, or posting without sharing account passwords.
perplexity-search
Perplexity Sonar search and answer generation through AIsa. Use when the task is specifically to call Perplexity Sonar, Sonar Pro, Sonar Reasoning Pro, or Sonar Deep Research for citation-backed web answers, analytical reasoning, or long-form research reports.
openclaw-youtube
YouTube SERP Scout for agents. Search top-ranking videos, channels, and trends for content research and competitor tracking.
openclaw-search
Intelligent search for agents. Multi-source retrieval across web, scholar, Tavily, and Perplexity Sonar models.