An OpenAI-compatible gateway skill that aggregates, load-balances, and manages routing for Chinese LLM providers like MiMo, DeepSeek, Qwen, and GLM.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install mimo-china-api-gateway
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install mimo-china-api-gateway using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Integrating multiple Chinese AI providers can be highly repetitive and complex, as each platform has its own API format and onboarding flows. The China API Gateway skill solves this by wrapping services like MiMo, DeepSeek, Alibaba Qwen, and Zhipu GLM into a single OpenAI-compatible interface. This allows developers to easily transition between models or stack them to leverage massive free token credits.
As a core integration within your Openclaw Skills ecosystem, this skill simplifies load balancing, failover handling, and cost management. Rather than hardcoding different client SDKs, developers can configure a central, resilient gateway to handle high-frequency requests, automated retries, and prioritized routing across domestic LLMs.
To initialize the gateway config within your project, follow these setup guidelines.
First, set up your respective provider API Keys in your environment:
export MIMO_API_KEY="your-mimo-key"
export DEEPSEEK_API_KEY="your-deepseek-key"
export ALI_API_KEY="your-alibaba-dashscope-key"
Next, install the required OpenAI Python client:
pip install openai
Deploy a self-hosted API gateway container (using New API or One API) for robust visual routing controls:
docker run -d \
--name new-api \
-p 3000:3000 \
-v ./data:/data \
calm/new-api:latest
The skill relies on a structured routing layout and maps incoming requests to corresponding provider metadata as structured below:
| Parameter | Type | Description | Required |
|---|---|---|---|
providers |
Array | A list of structured provider configurations. | Yes |
routing.strategy |
String | Execution method: priority, round_robin, or random. |
Yes |
routing.fallback |
Boolean | Activates automated failovers to secondary providers. | Yes |
routing.timeout |
Integer | Connection limit in seconds before fallback triggers. | Yes |
providers:
- name: mimo
base_url: https://api.xiaomimimo.com/v1
api_key: ${MIMO_API_KEY}
models: [mimo-v2.5]
priority: 1
- name: deepseek
base_url: https://api.deepseek.com/v1
api_key: ${DEEPSEEK_API_KEY}
models: [deepseek-chat]
priority: 2
Loading
A highly comprehensive developer playbook and refactoring blueprint to upgrade legacy EmpireCMS 7.5 installations for full compatibility with PHP 8.x environments.

A privacy-first code quality and security analysis tool designed to diagnose Java and Spring Boot projects, providing structured health reports and safe auto-fixes.

Automatically search, aggregate, and generate beautiful, interactive HTML software tutorials and learning roadmaps from top web resources.

A robust macOS GUI control skill that enables AI agents to interact with desktops through screenshots, AppleScript, keyboard/mouse emulation, and template matching.

An automated PR copywriting and visual poster generator that creates professional-grade corporate headlines and multi-channel content for enterprises.

An AI-powered charting skill that automatically converts multi-dimensional data tables into interactive, high-fidelity Sankey flow diagrams via CLI.








































