gmi/google/gemini-3.1-flash-lite.
Use GMI when you want one API key for several hosted model families, including
Anthropic, DeepSeek, Google, Moonshot, OpenAI, and Z.AI routes exposed by GMI’s
catalog. It works as a secondary provider for model fallback, for comparing
hosted routes across vendors, or when GMI has a model available before your
primary provider does. OpenClaw owns the provider id, auth profile, aliases,
model catalog seed, and base URL; GMI owns live model availability, billing,
rate limits, and any provider-side routing policy.
| Property | Value |
|---|---|
| Provider id | gmi (aliases: gmi-cloud, gmicloud) |
| Package | @openclaw/gmi-provider |
| Auth env var | GMI_API_KEY |
| API | OpenAI-compatible (openai-completions) |
| Base URL | https://api.gmi-serving.com/v1 |
| Default model | gmi/google/gemini-3.1-flash-lite |
Setup
Install the plugin, restart the gateway, then create an API key in GMI Cloud (https://www.gmicloud.ai/):
--gmi-api-key <key>, or set:
When to choose GMI
- You want a hosted OpenAI-compatible endpoint rather than a local model server.
- You want to try several commercial and open-weight model families through one provider account.
- You want a fallback provider with different upstream routing from DeepInfra, OpenRouter, Together, or the direct vendor APIs.
- You need GMI-specific model ids, pricing, or account controls.
Models
The plugin catalog seeds commonly available GMI Cloud route ids:| Model ref | Input | Context | Max output |
|---|---|---|---|
gmi/anthropic/claude-sonnet-4.6 | text + image | 200,000 | 64,000 |
gmi/deepseek-ai/DeepSeek-V3.2 | text | 163,840 | 65,536 |
gmi/google/gemini-3.1-flash-lite | text + image | 1,048,576 | 65,536 |
gmi/moonshotai/Kimi-K2.5 | text + image | 262,144 | 65,536 |
gmi/openai/gpt-5.4 | text + image | 400,000 | 128,000 |
gmi/zai-org/GLM-5.1-FP8 | text | 202,752 | 65,536 |
Troubleshooting
401or403: check thatGMI_API_KEYis set for the process running OpenClaw, or re-run onboarding to store the key in the provider auth profile.- Unknown model errors: confirm the model exists in your GMI account and use the
full
gmi/<route-id>ref shown byopenclaw models list --provider gmi. - Intermittent provider errors: try a different GMI route or configure GMI as a fallback rather than the only primary model provider.