{"id":222,"date":"2026-03-21T22:47:23","date_gmt":"2026-03-21T14:47:23","guid":{"rendered":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/providers-minimax\/"},"modified":"2026-03-21T23:08:54","modified_gmt":"2026-03-21T15:08:54","slug":"providers-minimax","status":"publish","type":"post","link":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/providers-minimax\/","title":{"rendered":"MiniMax"},"content":{"rendered":"<h1>MiniMax<\/h1>\n<p>MiniMax \u662f\u4e00\u5bb6 AI \u516c\u53f8\uff0c\u6784\u5efa\u4e86 <strong>M2\/M2.5<\/strong> \u6a21\u578b\u5bb6\u65cf\u3002\u5f53\u524d<br \/>\n\u9762\u5411\u7f16\u7801\u7684\u7248\u672c\u662f <strong>MiniMax M2.5<\/strong>\uff082025 \u5e74 12 \u6708 23 \u65e5\uff09\uff0c\u4e13\u4e3a<br \/>\n\u73b0\u5b9e\u4e16\u754c\u4e2d\u7684\u590d\u6742\u4efb\u52a1\u6253\u9020\u3002<\/p>\n<p>\u6765\u6e90\uff1a<a href=\"https:\/\/www.minimax.io\/news\/minimax-m25\">MiniMax M2.5 \u53d1\u5e03\u8bf4\u660e<\/a><\/p>\n<h2>\u6a21\u578b\u6982\u89c8\uff08M2.5\uff09<\/h2>\n<p>MiniMax \u5728 M2.5 \u4e2d\u91cd\u70b9\u5f3a\u8c03\u4e86\u4ee5\u4e0b\u6539\u8fdb\uff1a<\/p>\n<ul>\n<li>\u66f4\u5f3a\u7684<strong>\u591a\u8bed\u8a00\u7f16\u7801<\/strong>\u80fd\u529b\uff08Rust\u3001Java\u3001Go\u3001C++\u3001Kotlin\u3001Objective-C\u3001TS\/JS\uff09\u3002<\/li>\n<li>\u66f4\u597d\u7684<strong>Web\/\u5e94\u7528\u5f00\u53d1<\/strong>\u548c\u7f8e\u5b66\u8f93\u51fa\u8d28\u91cf\uff08\u5305\u62ec\u539f\u751f\u79fb\u52a8\u7aef\uff09\u3002<\/li>\n<li>\u5728\u4ea4\u9519\u601d\u8003\u548c\u96c6\u6210\u7ea6\u675f\u6267\u884c\u7684\u57fa\u7840\u4e0a\uff0c\u6539\u8fdb\u4e86\u9762\u5411\u529e\u516c\u7c7b\u5de5\u4f5c\u6d41\u7684<strong>\u590d\u5408\u6307\u4ee4<\/strong>\u5904\u7406\u3002<\/li>\n<li><strong>\u66f4\u7b80\u6d01\u7684\u54cd\u5e94<\/strong>\uff0ctoken \u4f7f\u7528\u91cf\u66f4\u4f4e\uff0c\u8fed\u4ee3\u5faa\u73af\u66f4\u5feb\u3002<\/li>\n<li>\u66f4\u5f3a\u7684<strong>\u5de5\u5177\/\u667a\u80fd\u4f53\u6846\u67b6<\/strong>\u517c\u5bb9\u6027\u548c\u4e0a\u4e0b\u6587\u7ba1\u7406\u80fd\u529b\uff08Claude Code\u3001<br \/>\n  Droid\/Factory AI\u3001Cline\u3001Kilo Code\u3001Roo Code\u3001BlackBox\uff09\u3002<\/li>\n<li>\u66f4\u9ad8\u8d28\u91cf\u7684<strong>\u5bf9\u8bdd\u548c\u6280\u672f\u5199\u4f5c<\/strong>\u8f93\u51fa\u3002<\/li>\n<\/ul>\n<h2>MiniMax M2.5 \u4e0e MiniMax M2.5 Highspeed<\/h2>\n<ul>\n<li><strong>\u901f\u5ea6\uff1a<\/strong> <code>MiniMax-M2.5-highspeed<\/code> \u662f MiniMax \u6587\u6863\u4e2d\u7684\u5b98\u65b9\u9ad8\u901f\u5c42\u7ea7\u3002<\/li>\n<li><strong>\u6210\u672c\uff1a<\/strong> MiniMax \u5b9a\u4ef7\u663e\u793a\uff0c\u9ad8\u901f\u7248\u7684\u8f93\u5165\u6210\u672c\u76f8\u540c\uff0c\u800c\u8f93\u51fa\u6210\u672c\u66f4\u9ad8\u3002<\/li>\n<li><strong>\u5f53\u524d\u6a21\u578b ID\uff1a<\/strong> \u4f7f\u7528 <code>MiniMax-M2.5<\/code> \u6216 <code>MiniMax-M2.5-highspeed<\/code>\u3002<\/li>\n<\/ul>\n<h2>\u9009\u62e9\u4e00\u79cd\u8bbe\u7f6e\u65b9\u5f0f<\/h2>\n<h3>MiniMax OAuth\uff08Coding Plan\uff09\u2014\u2014 \u63a8\u8350<\/h3>\n<p><strong>\u6700\u9002\u5408\uff1a<\/strong> \u901a\u8fc7 OAuth \u4f7f\u7528 MiniMax Coding Plan \u5feb\u901f\u8bbe\u7f6e\uff0c\u65e0\u9700 API key\u3002<\/p>\n<p>\u542f\u7528\u5185\u7f6e OAuth \u63d2\u4ef6\u5e76\u5b8c\u6210\u8ba4\u8bc1\uff1a<\/p>\n<p>&#8220;`bash  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\nopenclaw plugins enable minimax  # \u5982\u679c\u5df2\u52a0\u8f7d\u5219\u8df3\u8fc7\u3002<br \/>\nopenclaw gateway restart  # \u5982\u679c gateway \u5df2\u5728\u8fd0\u884c\uff0c\u5219\u91cd\u542f<br \/>\nopenclaw onboard &#8211;auth-choice minimax-portal<\/p>\n<pre><code>\n\u7cfb\u7edf\u4f1a\u63d0\u793a\u4f60\u9009\u62e9\u4e00\u4e2a\u7aef\u70b9\uff1a\n\n* **Global** - \u56fd\u9645\u7528\u6237\uff08`api.minimax.io`\uff09\n* **CN** - \u4e2d\u56fd\u7528\u6237\uff08`api.minimaxi.com`\uff09\n\n\u8be6\u60c5\u8bf7\u53c2\u9605 [MiniMax plugin README](https:\/\/github.com\/openclaw\/openclaw\/tree\/main\/extensions\/minimax)\u3002\n\n### MiniMax M2.5\uff08API key\uff09\n\n**\u6700\u9002\u5408\uff1a** \u4f7f\u7528\u4e0e Anthropic \u517c\u5bb9 API \u7684\u6258\u7ba1 MiniMax\u3002\n\n\u901a\u8fc7 CLI \u914d\u7f6e\uff1a\n\n* \u8fd0\u884c `openclaw configure`\n* \u9009\u62e9 **Model\/auth**\n* \u9009\u62e9 **MiniMax M2.5**\n\n```json5  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\n{\n  env: { MINIMAX_API_KEY: &quot;sk-...&quot; },\n  agents: { defaults: { model: { primary: &quot;minimax\/MiniMax-M2.5&quot; } } },\n  models: {\n    mode: &quot;merge&quot;,\n    providers: {\n      minimax: {\n        baseUrl: &quot;https:\/\/api.minimax.io\/anthropic&quot;,\n        apiKey: &quot;${MINIMAX_API_KEY}&quot;,\n        api: &quot;anthropic-messages&quot;,\n        models: [\n          {\n            id: &quot;MiniMax-M2.5&quot;,\n            name: &quot;MiniMax M2.5&quot;,\n            reasoning: true,\n            input: [&quot;text&quot;],\n            cost: { input: 0.3, output: 1.2, cacheRead: 0.03, cacheWrite: 0.12 },\n            contextWindow: 200000,\n            maxTokens: 8192,\n          },\n          {\n            id: &quot;MiniMax-M2.5-highspeed&quot;,\n            name: &quot;MiniMax M2.5 Highspeed&quot;,\n            reasoning: true,\n            input: [&quot;text&quot;],\n            cost: { input: 0.3, output: 1.2, cacheRead: 0.03, cacheWrite: 0.12 },\n            contextWindow: 200000,\n            maxTokens: 8192,\n          },\n        ],\n      },\n    },\n  },\n}\n<\/code><\/pre>\n<h3>\u5c06 MiniMax M2.5 \u4f5c\u4e3a\u56de\u9000\u6a21\u578b\uff08\u793a\u4f8b\uff09<\/h3>\n<p><strong>\u6700\u9002\u5408\uff1a<\/strong> \u4fdd\u6301\u4f60\u6700\u5f3a\u7684\u6700\u65b0\u4e00\u4ee3\u6a21\u578b\u4f5c\u4e3a\u4e3b\u6a21\u578b\uff0c\u5e76\u5728\u5931\u8d25\u65f6\u56de\u9000\u5230 MiniMax M2.5\u3002<br \/>\n\u4e0b\u9762\u7684\u793a\u4f8b\u4f7f\u7528 Opus \u4f5c\u4e3a\u5177\u4f53\u4e3b\u6a21\u578b\uff1b\u4f60\u53ef\u4ee5\u66ff\u6362\u6210\u81ea\u5df1\u504f\u597d\u7684\u6700\u65b0\u4e00\u4ee3\u4e3b\u6a21\u578b\u3002<\/p>\n<p>&#8220;`json5  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\n{<br \/>\n  env: { MINIMAX_API_KEY: &#8220;sk-&#8230;&#8221; },<br \/>\n  agents: {<br \/>\n    defaults: {<br \/>\n      models: {<br \/>\n        &#8220;anthropic\/claude-opus-4-6&#8221;: { alias: &#8220;primary&#8221; },<br \/>\n        &#8220;minimax\/MiniMax-M2.5&#8221;: { alias: &#8220;minimax&#8221; },<br \/>\n      },<br \/>\n      model: {<br \/>\n        primary: &#8220;anthropic\/claude-opus-4-6&#8221;,<br \/>\n        fallbacks: [&#8220;minimax\/MiniMax-M2.5&#8221;],<br \/>\n      },<br \/>\n    },<br \/>\n  },<br \/>\n}<\/p>\n<pre><code>\n### \u53ef\u9009\uff1a\u901a\u8fc7 LM Studio \u672c\u5730\u8fd0\u884c\uff08\u624b\u52a8\uff09\n\n**\u6700\u9002\u5408\uff1a** \u901a\u8fc7 LM Studio \u8fdb\u884c\u672c\u5730\u63a8\u7406\u3002\n\u6211\u4eec\u5df2\u7ecf\u770b\u5230\uff0c\u5728\u5f3a\u529b\u786c\u4ef6\u4e0a\uff08\u4f8b\u5982\u53f0\u5f0f\u673a\/\u670d\u52a1\u5668\uff09\u4f7f\u7528 LM Studio \u7684\u672c\u5730\u670d\u52a1\u5668\u8fd0\u884c MiniMax M2.5 \u65f6\uff0c\u6548\u679c\u975e\u5e38\u5f3a\u3002\n\n\u901a\u8fc7 `openclaw.json` \u624b\u52a8\u914d\u7f6e\uff1a\n\n```json5  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\n{\n  agents: {\n    defaults: {\n      model: { primary: &quot;lmstudio\/minimax-m2.5-gs32&quot; },\n      models: { &quot;lmstudio\/minimax-m2.5-gs32&quot;: { alias: &quot;Minimax&quot; } },\n    },\n  },\n  models: {\n    mode: &quot;merge&quot;,\n    providers: {\n      lmstudio: {\n        baseUrl: &quot;http:\/\/127.0.0.1:1234\/v1&quot;,\n        apiKey: &quot;lmstudio&quot;,\n        api: &quot;openai-responses&quot;,\n        models: [\n          {\n            id: &quot;minimax-m2.5-gs32&quot;,\n            name: &quot;MiniMax M2.5 GS32&quot;,\n            reasoning: true,\n            input: [&quot;text&quot;],\n            cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },\n            contextWindow: 196608,\n            maxTokens: 8192,\n          },\n        ],\n      },\n    },\n  },\n}\n<\/code><\/pre>\n<h2>\u901a\u8fc7 <code>openclaw configure<\/code> \u914d\u7f6e<\/h2>\n<p>\u4f7f\u7528\u4ea4\u4e92\u5f0f\u914d\u7f6e\u5411\u5bfc\u8bbe\u7f6e MiniMax\uff0c\u800c\u65e0\u9700\u7f16\u8f91 JSON\uff1a<\/p>\n<ol>\n<li>\u8fd0\u884c <code>openclaw configure<\/code>\u3002<\/li>\n<li>\u9009\u62e9 <strong>Model\/auth<\/strong>\u3002<\/li>\n<li>\u9009\u62e9 <strong>MiniMax M2.5<\/strong>\u3002<\/li>\n<li>\u5728\u63d0\u793a\u65f6\u9009\u62e9\u4f60\u7684\u9ed8\u8ba4\u6a21\u578b\u3002<\/li>\n<\/ol>\n<h2>\u914d\u7f6e\u9009\u9879<\/h2>\n<ul>\n<li><code>models.providers.minimax.baseUrl<\/code>\uff1a\u4f18\u5148\u4f7f\u7528 <code>https:\/\/api.minimax.io\/anthropic<\/code>\uff08\u4e0e Anthropic \u517c\u5bb9\uff09\uff1b<code>https:\/\/api.minimax.io\/v1<\/code> \u53ef\u9009\uff0c\u7528\u4e8e\u4e0e OpenAI \u517c\u5bb9\u7684\u8d1f\u8f7d\u3002<\/li>\n<li><code>models.providers.minimax.api<\/code>\uff1a\u4f18\u5148\u4f7f\u7528 <code>anthropic-messages<\/code>\uff1b<code>openai-completions<\/code> \u53ef\u9009\uff0c\u7528\u4e8e\u4e0e OpenAI \u517c\u5bb9\u7684\u8d1f\u8f7d\u3002<\/li>\n<li><code>models.providers.minimax.apiKey<\/code>\uff1aMiniMax API key\uff08<code>MINIMAX_API_KEY<\/code>\uff09\u3002<\/li>\n<li><code>models.providers.minimax.models<\/code>\uff1a\u5b9a\u4e49 <code>id<\/code>\u3001<code>name<\/code>\u3001<code>reasoning<\/code>\u3001<code>contextWindow<\/code>\u3001<code>maxTokens<\/code>\u3001<code>cost<\/code>\u3002<\/li>\n<li><code>agents.defaults.models<\/code>\uff1a\u4e3a\u4f60\u5e0c\u671b\u653e\u5165\u5141\u8bb8\u5217\u8868\u7684\u6a21\u578b\u8bbe\u7f6e\u522b\u540d\u3002<\/li>\n<li><code>models.mode<\/code>\uff1a\u5982\u679c\u4f60\u5e0c\u671b\u5728\u5185\u7f6e\u6a21\u578b\u4e4b\u5916\u6dfb\u52a0 MiniMax\uff0c\u8bf7\u4fdd\u6301\u4e3a <code>merge<\/code>\u3002<\/li>\n<\/ul>\n<h2>\u8bf4\u660e<\/h2>\n<ul>\n<li>\u6a21\u578b\u5f15\u7528\u683c\u5f0f\u4e3a <code>minimax\/&lt;model&gt;<\/code>\u3002<\/li>\n<li>\u63a8\u8350\u6a21\u578b ID\uff1a<code>MiniMax-M2.5<\/code> \u548c <code>MiniMax-M2.5-highspeed<\/code>\u3002<\/li>\n<li>Coding Plan \u7528\u91cf API\uff1a<code>https:\/\/api.minimaxi.com\/v1\/api\/openplatform\/coding_plan\/remains<\/code>\uff08\u9700\u8981 coding plan key\uff09\u3002<\/li>\n<li>\u5982\u679c\u4f60\u9700\u8981\u7cbe\u786e\u6210\u672c\u8ddf\u8e2a\uff0c\u8bf7\u66f4\u65b0 <code>models.json<\/code> \u4e2d\u7684\u5b9a\u4ef7\u503c\u3002<\/li>\n<li>MiniMax Coding Plan \u63a8\u8350\u94fe\u63a5\uff08\u4e5d\u6298\uff09\uff1a<a href=\"https:\/\/platform.minimax.io\/subscribe\/coding-plan?code=DbXJTRClnb&amp;source=link\">https:\/\/platform.minimax.io\/subscribe\/coding-plan?code=DbXJTRClnb&amp;source=link<\/a><\/li>\n<li>\u5173\u4e8e\u63d0\u4f9b\u5546\u89c4\u5219\uff0c\u8bf7\u53c2\u9605 <a href=\"\/concepts\/model-providers\">\/concepts\/model-providers<\/a>\u3002<\/li>\n<li>\u4f7f\u7528 <code>openclaw models list<\/code> \u548c <code>openclaw models set minimax\/MiniMax-M2.5<\/code> \u8fdb\u884c\u5207\u6362\u3002<\/li>\n<\/ul>\n<h2>\u6545\u969c\u6392\u9664<\/h2>\n<h3>\u201cUnknown model: minimax\/MiniMax-M2.5\u201d<\/h3>\n<p>\u8fd9\u901a\u5e38\u610f\u5473\u7740 <strong>MiniMax \u63d0\u4f9b\u5546\u672a\u914d\u7f6e<\/strong>\uff08\u6ca1\u6709\u63d0\u4f9b\u5546\u6761\u76ee\uff0c<br \/>\n\u5e76\u4e14\u4e5f\u672a\u627e\u5230 MiniMax \u51ed\u8bc1\u914d\u7f6e\u6587\u4ef6\/\u73af\u5883\u53d8\u91cf key\uff09\u3002\u5bf9\u6b64\u68c0\u6d4b\u95ee\u9898\u7684\u4fee\u590d\u5df2\u5305\u542b\u5728<br \/>\n<strong>2026.1.12<\/strong> \u4e2d\uff08\u5728\u64b0\u5199\u672c\u6587\u65f6\u5c1a\u672a\u53d1\u5e03\uff09\u3002\u4fee\u590d\u65b9\u6cd5\uff1a<\/p>\n<ul>\n<li>\u5347\u7ea7\u5230 <strong>2026.1.12<\/strong>\uff08\u6216\u4ece\u6e90\u7801\u8fd0\u884c <code>main<\/code>\uff09\uff0c\u7136\u540e\u91cd\u542f gateway\u3002<\/li>\n<li>\u8fd0\u884c <code>openclaw configure<\/code> \u5e76\u9009\u62e9 <strong>MiniMax M2.5<\/strong>\uff0c\u6216\u8005<\/li>\n<li>\u624b\u52a8\u6dfb\u52a0 <code>models.providers.minimax<\/code> \u914d\u7f6e\u5757\uff0c\u6216\u8005<\/li>\n<li>\u8bbe\u7f6e <code>MINIMAX_API_KEY<\/code>\uff08\u6216 MiniMax \u51ed\u8bc1\u914d\u7f6e\u6587\u4ef6\uff09\uff0c\u4ee5\u4fbf\u6ce8\u5165\u8be5\u63d0\u4f9b\u5546\u3002<\/li>\n<\/ul>\n<p>\u8bf7\u786e\u4fdd\u6a21\u578b id <strong>\u533a\u5206\u5927\u5c0f\u5199<\/strong>\uff1a<\/p>\n<ul>\n<li><code>minimax\/MiniMax-M2.5<\/code><\/li>\n<li><code>minimax\/MiniMax-M2.5-highspeed<\/code><\/li>\n<\/ul>\n<p>\u7136\u540e\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u91cd\u65b0\u68c0\u67e5\uff1a<\/p>\n<p><code>bash  theme={\"theme\":{\"light\":\"min-light\",\"dark\":\"min-dark\"}}<br \/>\nopenclaw models list<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MiniMax MiniMax \u662f\u4e00\u5bb6 AI \u516c\u53f8\uff0c\u6784\u5efa\u4e86 M2\/M2.5 \u6a21\u578b\u5bb6\u65cf\u3002\u5f53\u524d \u9762\u5411\u7f16\u7801\u7684\u7248\u672c\u662f  [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-222","post","type-post","status-publish","format-standard","hentry","category-docs"],"_links":{"self":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/comments?post=222"}],"version-history":[{"count":1,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/222\/revisions"}],"predecessor-version":[{"id":517,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/222\/revisions\/517"}],"wp:attachment":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/media?parent=222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/categories?post=222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/tags?post=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}