← Back to Plugins
Tools

Teamorouter Provider

2867297362mjb-sketch By 2867297362mjb-sketch 👁 28 views ▲ 0 votes

TeamoRouter model provider for OpenClaw: one OpenAI-compatible key for Qwen, Kimi, GLM, DeepSeek, MiniMax, Claude, GPT and Gemini, catalog read live from TeamoRouter's price list.

GitHub

Install

npm install
npm

README

# openclaw-teamorouter-provider

English | [中文](README.zh.md)

> Maintained by TeamoRouter: the author works at TeamoRouter, the service this plugin connects to. TeamoRouter is not affiliated with OpenClaw.

TeamoRouter as a model provider for [OpenClaw](https://github.com/openclaw/openclaw). One key gives the model picker Qwen, Kimi, GLM, DeepSeek, MiniMax, Claude, GPT and Gemini chat models from [TeamoRouter](https://teamorouter.com).

- **Live model list.** The catalog is read from TeamoRouter's public price list (`GET https://api.teamorouter.com/v1/models/pricing`), with context windows and per-million-token prices, so new models show up without a plugin update. Image/video generators and `-free` promotional variants are left out.
- **OpenAI-compatible route.** Requests go to `https://api.teamorouter.com/v1/chat/completions` through OpenClaw's own `openai-completions` transport (streaming, tools and images are OpenClaw's code paths).
- **Starter models:** `teamorouter/qwen3.8-max` (default), `teamorouter/kimi-k3`, `teamorouter/qwen3.8-flash`, `teamorouter/glm-5.3`, `teamorouter/deepseek-v4-flash`.

## Pricing

Pay as you go — no subscription. Top up from $5 by card or USDT. Per-model prices are on [teamorouter.com/models](https://teamorouter.com/models).

## Install

From ClawHub (once published):

```sh
openclaw plugins install @2867297362mjb-sketch/openclaw-teamorouter-provider --accept-capabilities
```

From the release tarball (works today):

```sh
curl -LO https://github.com/2867297362mjb-sketch/openclaw-teamorouter-provider/releases/download/v0.1.0/2867297362mjb-sketch-openclaw-teamorouter-provider-0.1.0.tgz
openclaw plugins install npm-pack:./2867297362mjb-sketch-openclaw-teamorouter-provider-0.1.0.tgz --force --accept-capabilities
```

`--force` confirms the local archive (OpenClaw cancels archive installs without it). Restart the Gateway after installing.

## Add your key

1. Create a key at [teamorouter.com/dashboard](https://teamorouter.com/dashboard) (starts with `sk-teamo-`).
2. Either pick **TeamoRouter API key** in `openclaw onboard`, or put `TEAMOROUTER_API_KEY=sk-teamo-...` in `~/.openclaw/.env`.
3. Choose a model:

```sh
openclaw models set teamorouter/qwen3.8-max
```

or per run: `openclaw agent exec "..." --model teamorouter/kimi-k3`.

## What it sends where

- `GET https://api.teamorouter.com/v1/models/pricing` when OpenClaw refreshes the model catalog.
- Your chat requests to `https://api.teamorouter.com/v1/chat/completions`, with the header `X-Client-Source: teamorouter-openclaw` so TeamoRouter can count usage that comes through this plugin. It carries no user data.

Nothing else: no tools, hooks, commands or background processes.

## Tested

OpenClaw 2026.11.2 on macOS, Node 24: installed from the packed tarball with `npm-pack:`, `openclaw plugins inspect teamorouter --runtime` reports the plugin loaded with the `teamorouter` provider, and `openclaw agent exec ... --model teamorouter/qwen3.8-flash` completes.

## Development

```sh
npm install
npm run build      # esbuild src/*.ts -> dist/
npm run typecheck
npm test           # builds, then runs test/*.test.mjs
```

`dist/` is committed so the package can be packed without a build toolchain.

## License

MIT
tools

Comments

Sign in to leave a comment

Loading comments...