@unigateway/openclaw-unigateway-provider
OpenClaw plugin that integrates UniGateway, a multi-provider LLM aggregator. Use any model from Claude, GPT, Gemini, and others through a single unified OpenAI-compatible API.
Quick Start
Install
From ClawHub (recommended):
openclaw plugins install clawhub:@unigateway/openclaw-unigateway-provider
openclaw gateway restart
Local development:
openclaw plugins install -l /path/to/openclaw-unigateway
Configure
- Get your API key from UniGateway Dashboard
- Set up the plugin:
openclaw onboard --unigateway-api-key "$UNIGATEWAY_API_KEY" --auth-choice unigateway-api-key --flow manual --accept-risk --non-interactive
Or set the environment variable:
export UNIGATEWAY_API_KEY=sk-...
Use
openclaw chat -m unigateway/gpt-5.5 "hello"
openclaw chat -m unigateway/claude-sonnet-4.6 "hello"
openclaw chat -m unigateway/gemini-3.1-pro-preview "hello"
Available models are discovered dynamically; if the API is unreachable, a static fallback catalog is used.
How It Works
| Component | Details |
|---|---|
| Transport | OpenAI-compatible API at https://unigateway.ai/v1 |
| Model Routing | unigateway/<model-id> prefix routes through plugin, suffix forwarded to UniGateway |
| Authentication | Single UNIGATEWAY_API_KEY environment variable |
| Model Discovery | Dynamic catalog from https://unigateway.ai/models with in-memory cache |
Requirements
- OpenClaw
>= 2026.4.14
Development
npm install
npm run typecheck # TypeScript validation
npm test # Unit tests
UNIGATEWAY_API_KEY=sk-... npm run test:live
License
MIT — see LICENSE