@unigateway

UniGateway

UniGateway LLM provider plugin for OpenClaw — Multi-provider LLM aggregator

当前版本
v1.0.0
code-plugin社区source-linked

@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

  1. Get your API key from UniGateway Dashboard
  2. 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

ComponentDetails
TransportOpenAI-compatible API at https://unigateway.ai/v1
Model Routingunigateway/<model-id> prefix routes through plugin, suffix forwarded to UniGateway
AuthenticationSingle UNIGATEWAY_API_KEY environment variable
Model DiscoveryDynamic 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

源码与版本

源码仓库

unigateway-ai/openclaw-unigateway-provider

打开仓库

源码提交

eb5ba506c4e2a2dd533ad354f612e406e35329cd

查看提交

安装命令

openclaw plugins install clawhub:@unigateway/openclaw-unigateway-provider

元数据

  • 包名: @unigateway/openclaw-unigateway-provider
  • 创建时间: 2026/06/09
  • 更新时间: 2026/06/09
  • 执行代码:
  • 源码标签: eb5ba506c4e2a2dd533ad354f612e406e35329cd

兼容性

  • 构建于 OpenClaw: 2026.4.14
  • 插件 API 范围: >=2026.4.14
  • 标签: latest
  • 文件数: 30