MiniMax-M2 Now on SiliconFlow: Frontier-Style Coding and Agentic Intelligence

Nov 5, 2025

Table of Contents

Ring-1T Now on SiliconFlow

TL;DR: MiniMax-M2​, the latest open-source MoE model from the MiniMax AI, is now available on ​SiliconFlow​. With ​230B total parameters and 10B active​, it delivers frontier-level reasoning, coding, and agentic performance in a compact, efficient form. M2 strikes the perfect balance between intelligence, speed, and cost, ​achieving top benchmark results while offering fast inference and affordable pricing through SiliconFlow's API. Try MiniMax-M2 on SiliconFlow — explore frontier-grade intelligence at a fraction of the cost.

SiliconFlow is excited to introduce ​MiniMax-M2​, a compact yet powerful model designed for advanced coding and agentic workflows, now available on our platform. It is a compact and efficient MoE model (230B total parameters with 10B active) designed for strong performance in coding and agentic tasks while maintaining robust general intelligence. With 10B active parameters, it delivers advanced reasoning and tool-use capabilities comparable to larger models.

Through SiliconFlow's MiniMax-M2 API, you can expect:

  • Budget-friendly Pricing​: MiniMax-M2 $0.3/M tokens (input) and $1.2/M tokens (output).

  • 192K​ Context Window: ​Perfect for long documents, complex reasoning, and extended agentic tasks.

  • Proven Real-World Performance: Ranked #1 among open-source models on Artificial Analysis benchmarks, excelling in math, science, instruction following, coding, and agentic tasks.

Key Features & Benchmark Performance

In today's fast-moving era of intelligent Agents, most teams still face a familiar dilemma: no single model truly balances ​performance, cost, and speed​. Top-tier models deliver frontier-level results but are ​expensive and slow​, while lighter alternatives are affordable yet limited in reasoning depth and responsiveness.

MiniMax M2 is positioned to break this trade-off, delivering frontier-level coding, tool-use, and reasoning with fast inference and exceptional cost efficiency. Based on SiliconFlow's API pricing, running M2 costs around 92% less than ​​**Claude Sonnet 4.5** — while delivering ​comparable coding and reasoning capabilities​.

  • Superior Intelligence: ​According to benchmarks from Artificial Analysis, MiniMax-M2 demonstrates highly competitive general intelligence across mathematics, science, instruction following, coding, and agentic tool use. Its composite score ​ranks #1 among open-source models globally​.


  • Advanced Coding: ​Engineered for end-to-end developer workflows, MiniMax-M2 excels at multi-file edits, coding-run-fix loops, and test-validated repairs. Strong performance on Terminal-Bench and (Multi-)SWE-Bench–style tasks demonstrates practical effectiveness in terminals, IDEs, and CI across languages.

  • Agent Performance: ​Plans and executes long-horizon toolchains across shell, browser, retrieval, and code runners. In BrowseComp-style evaluations, it consistently locates hard-to-surface sources, maintains evidence traceable, and gracefully recovers from flaky steps.

Use SiliconFlow's MiniMax-M2 API

Let's take a look at MiniMax-M2 in action — running on SiliconFlow's API via ​Claude Code​, tackling a real-world coding task:

"Create a space-themed brick breaker game in React using HTML5 Canvas. Spaceship paddle moves with arrow keys, glowing ball bounces to destroy alien bricks. Include dark starry background, 5 rows of colorful bricks, score display, and 3 lives. Game over when lives run out, win when all bricks cleared. Add simple particle effects when bricks break and use Vite for setup."

Claude Code

Now, you can easily integrate SiliconFlow's MiniMax-M2 API into ​​​**Claude Code**​.

Step 1: Get Your SiliconFlow API Key

  1. Log in to your SiliconFlow dashboard.

  2. Navigate to API Keys section.

  3. Generate a new API key for MiniMax-M2​ ​access.

  4. Copy and secure your API key.

Step 2: Configure Environment Variables

Open your terminal and set the following environment variables:

export ANTHROPIC_BASE_URL="https://api.siliconflow.com/v1/chat/completions"
export ANTHROPIC_MODEL="MiniMaxAI/MiniMax-M2"  # You can modify this to use other models as needed
export ANTHROPIC_API_KEY="YOUR_SILICONFLOW_API_KEY" # Please replace with your actual API Key

Step 3: Start Using Claude Code with MiniMax-M2 ​

Navigate to your project directory and launch Claude Code:

cd

Claude Code will now use MiniMax-M2 via SiliconFlow's API service for all your coding assistance needs!

What's more, you can also access SiliconFlow's MiniMax-M2​ ​model through gen-cli and Cline.

Gen-CLI

Gen-CLI is based on the open-source Gemini-CLI and is now available on GitHub. Install using the following steps:

  1. Ensure your system has Node.js 18+ installed.

  2. Set the API key environment variable:

export SILICONFLOW_API_KEY="YOUR_API_KEY"
  1. Run Gen-CLI:

Via npx:

npx https://github.com/gen-cli/gen-cli

Or install via npm:

npm install -g @gen-cli/gen-cli
gen

Get Started Immediately

  1. Explore: Try MiniMax-M2 in the SiliconFlow Playground.

  2. Integrate: Use our OpenAI-compatible API. Explore the full API specifications in the SiliconFlow API documentation.

import requests

url = "https://api.siliconflow.com/v1/chat/completions"

payload = {
    "model": "MiniMaxAI/MiniMax-M2",
    "messages": [
        {
            "role": "user",
            "content": "Please provide information about a person in the following JSON format:"
        }
    ],
    "max_tokens": 4096,
    "stream": True,
    "enable_thinking": False,
    "temperature": 0.1,
    "response_format": {"type": "json_object"}
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.request("POST", url, json=payload, headers=headers)

print(response.text)

Ready to accelerate your AI development?

Ready to accelerate your AI development?