Install
openclaw skills install astrai-inference-routerClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Route all LLM calls through Astrai for 40%+ cost savings with intelligent routing and privacy controls
openclaw skills install astrai-inference-routerRoute every LLM call through Astrai's intelligent router. Save 40%+ on API costs. Privacy controls built in.
ASTRAI_API_KEY in your environment or skill configenhanced)| Variable | Required | Description | Default |
|---|---|---|---|
ASTRAI_API_KEY | Yes | Your API key from as-trai.com | — |
PRIVACY_MODE | No | standard, enhanced, max | enhanced |
REGION | No | any, eu, us | any |
DAILY_BUDGET | No | Max daily spend in USD (0 = unlimited) | 10 |
| Endpoint | Purpose | Data Sent |
|---|---|---|
https://as-trai.com/v1/chat/completions | LLM inference routing | Prompts (with PII stripped if enhanced/max mode) |
https://as-trai.com/v1/signup | Free API key registration | Email address |
This skill intercepts outgoing LLM API calls and reroutes them through the Astrai gateway. The gateway selects the optimal provider and model based on task type, cost, and quality. Your prompts are processed by third-party LLM providers (Anthropic, OpenAI, Google, Mistral, etc.) according to your region and privacy settings.