Xiaomi MiMo
OpenClaw で Xiaomi MiMo (mimo-v2-flash) を使用
Xiaomi MiMo は <strong>MiMo</strong> モデルの API プラットフォームです。OpenAI および Anthropic 形式と互換性のある
OpenAI and Anthropic formats and uses API keys for authentication. Create your API key in
the '<a href="https://platform.xiaomimimo.com/#/console/api-keys" className="text-emerald-400 hover:text-emerald-300 transition-colors">'Xiaomi MiMo console'</a>'. OpenClaw uses
'<code className="bg-white/10 px-1.5 py-0.5 rounded text-emerald-300 text-sm">'xiaomi'</code>' プロバイダーを使用します。
モデルの概要
- <strong>mimo-v2-flash</strong>:262144 トークンのコンテキストウィンドウ、Anthropic Messages API 互換。
- ベース URL:'<code className="bg-white/10 px-1.5 py-0.5 rounded text-emerald-300 text-sm">'https://api.xiaomimimo.com/anthropic'</code>'
- Authorization: '<code className="bg-white/10 px-1.5 py-0.5 rounded text-emerald-300 text-sm">'Bearer $XIAOMI_API_KEY'</code>'
CLI setup
openclaw onboard --auth-choice xiaomi-api-key openclaw onboard --auth-choice xiaomi-api-key --xiaomi-api-key "$XIAOMI_API_KEY"
設定スニペット
{
env: { XIAOMI_API_KEY: "your-key" },
agents: { defaults: { model: { primary: "xiaomi/mimo-v2-flash" } } },
models: {
mode: "merge",
providers: {
xiaomi: {
baseUrl: "https://api.xiaomimimo.com/anthropic",
api: "anthropic-messages",
apiKey: "XIAOMI_API_KEY",
models: [
{
id: "mimo-v2-flash",
name: "Xiaomi MiMo V2 Flash",
reasoning: false,
input: ["text"],
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
contextWindow: 262144,
maxTokens: 8192,
},
],
},
},
},
}Notes
- モデル参照:'<code className="bg-white/10 px-1.5 py-0.5 rounded text-emerald-300 text-sm">'xiaomi/mimo-v2-flash'</code>'。
- '<code className="bg-white/10 px-1.5 py-0.5 rounded text-emerald-300 text-sm">'XIAOMI_API_KEY'</code>' が設定されている場合(または認証プロファイルが存在する場合)、プロバイダーは自動的に挿入されます。
- プロバイダー規則については、'<a href="/concepts/model-providers" className="text-emerald-400 hover:text-emerald-300 transition-colors">'/concepts/model-providers'</a>' を参照してください。