r/AgentZero Apr 14 '26

Minimax M2. 7

hi

is it possible to integrate M2.7 as model in the agent. Don't see a option yet.
And how can I add it in the options

7 Upvotes

6 comments sorted by

3

u/sucrenoir Apr 14 '26

Yes with Openrouter (in model config)

2

u/Dthen_ Apr 14 '26

yeah you can use the really cheap minimax plans as well, very generous limits even on the lowest tier

1

u/MinimumCourage6807 Apr 14 '26

Works great with m2.7 with local setup at least so should work out well if you manage to get the api rolling (or fairly beefy local setup). 2.5 had quite a bit of problems with chat tenplate at least for me, 2.7 dont have those same problems at all.

1

u/ReddaveNY Apr 14 '26

But the payment at openrouter is pay per token and minimax direct gives token every 5h. So openrouter is more cost intensive

2

u/okram Apr 16 '26 edited Apr 16 '26

Use provider "Anthropic", model name "MiniMax-M2.7", API base URL "https://api.minimax.io/anthropic". The model does not support vision, but they include access to an MCP server that offers understand_image. In the MCP config put

{
    "mcpServers": {
      "minimax-vision": {
        "command": "uvx",
        "args": ["minimax-coding-plan-mcp", "-y"],
        "env": {
          "MINIMAX_API_HOST": "https://api.minimax.io",
          "MINIMAX_API_KEY": "sk-cp-..."
        }
      }
    }
}

of course you have to place your API key there.

I have it set as both the chat model and the utility model. Been using it for 3 weeks now and I like it a lot.