AI Engineer Guide

How to use MiniMax M2 in Droid

MiniMax M2 a new open source model (open weight) that is specifically built for coding & agentic workflows.

In term of cost, it is Input tokens - $0.30/million and $1.20/million for output token.

For limited period they’re offering their service for free (until Nov 7, 2025)

Let’s see how to use it in Droid CLI

Getting Started

First, you need to get the MiniMax API key which you can get it platform

And make sure that you’ve Droid CLI installed.

If not, you can install it by running this command

curl -fsSL https://app.factory.ai/cli | sh

Droid CLI Config

MiniMax has Anthropic like API endpoint which we can use it when using it with Droid CLI.

In droid cli, you can add a new custom models by adding them in ~/.factory/config.json

{
    "custom_models": [
        {
            "model_display_name": "MiniMax-M2",
            "model": "MiniMax-M2",
            "base_url": "https://api.minimax.io/anthropic",
            "api_key": "<MINIMAX_API_KEY>",
            "provider": "anthropic",
            "max_tokens": 16384
        }
    ]
}

You can refer to their docs on how to use it in VS Code Extention, Cursor, Codex, etc

Reference

#Claude-Code #Minimax-M2

Stay Updated

Get the latest AI engineering insights delivered to your inbox.

No spam. Unsubscribe at any time.