llm-router
⚠Review·Scanned 2/17/2026
Provides a CLI and Python client to route requests to 70+ LLMs via AIsa and documents API usage. The skill reads the AISA_API_KEY, makes network calls to https://api.aisa.one/v1, and includes example shell commands like curl and python3 {baseDir}/scripts/llm_router_client.py.
from clawhub.ai·v9543313·28.2 KB·0 installs
Scanned from 1.0.0 at 9543313 · Transparency log ↗
$ vett add clawhub.ai/chaimengphp/llm-routerReview findings below
OpenClaw LLM Router 🧠
Unified LLM Gateway for autonomous agents. Powered by AIsa.
One API key. 70+ models. Route requests to GPT, Claude, Gemini, Grok and more.
Quick Start
# Set your API key
export AISA_API_KEY="your-key"
# Simple chat completion
python3 scripts/llm_router_client.py chat --model gpt-4.1 --message "Hello!"
# Stream response
python3 scripts/llm_router_client.py chat --model claude-sonnet-4-5 --message "Write a poem" --stream
# Vision analysis
python3 scripts/llm_router_client.py vision --model gpt-4o --image "https://example.com/image.jpg" --prompt "Describe this"
# Compare models
python3 scripts/llm_router_client.py compare --models "gpt-4.1,claude-sonnet-4-5" --message "Explain AI"
# List models
python3 scripts/llm_router_client.py models
Using with OpenAI SDK
from openai import OpenAI
import os
client = OpenAI(
api_key=os.environ["AISA_API_KEY"],
base_url="https://api.aisa.one/v1"
)
response = client.chat.completions.create(
model="gpt-4.1", # Or claude-sonnet-4-5, gemini-2.5-flash, etc.
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
Supported Models
| Family | Models |
|---|---|
| OpenAI | gpt-5.2, gpt-5, gpt-5-mini, gpt-4.1, gpt-4.1-mini, gpt-4o, gpt-4o-mini |
| Anthropic | claude-sonnet-4-5, claude-opus-4-1, claude-opus-4, claude-sonnet-4, claude-haiku-4-5 |
| gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite, gemini-3-pro-preview | |
| xAI | grok-4, grok-3 |
| Meta | llama-3.1-405b, llama-3.1-70b, llama-3.1-8b |
| Mistral | mistral-large, mistral-medium, mixtral-8x7b |
Check marketplace.aisa.one/pricing for full model list.
See SKILL.md for full documentation.