llm-router

Review·Scanned 2/17/2026

This skill provides a Python CLI and client for routing requests to many LLMs via the AIsa gateway (https://api.aisa.one/v1) and includes example curl and python3 commands. It requires the AISA_API_KEY environment variable and performs outbound HTTP calls to https://api.aisa.one.

from clawhub.ai·v2af68d0·26.9 KB·0 installs
Scanned from 1.0.0 at 2af68d0 · Transparency log ↗
$ vett add clawhub.ai/aisadocs/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, Qwen, Deepseek, 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-3-sonnet --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-3-sonnet" --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-3-sonnet, gemini-2.0-flash, etc.
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Supported Models

FamilyModels
OpenAIgpt-4.1, gpt-4o, gpt-4o-mini, o1, o1-mini, o3-mini
Anthropicclaude-3-5-sonnet, claude-3-opus, claude-3-sonnet
Googlegemini-2.0-flash, gemini-1.5-pro, gemini-1.5-flash
Alibabaqwen-max, qwen-plus, qwen2.5-72b-instruct
Deepseekdeepseek-chat, deepseek-coder, deepseek-v3, deepseek-r1
xAIgrok-2, grok-beta

Check marketplace.aisa.one/pricing for full model list.

See SKILL.md for full documentation.