---
title: MiniMax: MiniMax M2.5 API | Text Generation | ModelsLab
description: 229B MoE LLM (10B active/token) with 197K context, SOTA coding (80.2% SWE-Bench), agentic tools, multilingual support, and ultra-low costs for.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/minimax/minimax-minimax-m2.5/api.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/minimax/minimax-minimax-m2.5/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-13T10:53:31.225348Z
---

MiniMax: MiniMax M2.5
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/minimax-minimax-m2.5/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/minimax/minimax-minimax-m2.5.md)

minimax-minimax-m2.5 minimax Closed Source Model $0.650000 / call

MiniMax: MiniMax M2.5
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### MiniMax: MiniMax M2.5

minimax minimax-minimax-m2.5

Copy model ID

PricingInput $0.15 / 1M tokens

Output $1.15 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[OG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-4o-2024-08-06)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI: GPT-4o (2024-08-06)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-4o-2024-08-06)

[L3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/nvidia-Llama-3.1-Nemotron-70B-Instruct-HF)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta)

 [Llama 3.1 Nemotron 70B Instruct HF

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/nvidia-Llama-3.1-Nemotron-70B-Instruct-HF)

[DV](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-V3.1)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Deepseek V3.1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-V3.1)

[NN](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nvidia-nemotron-3-nano-30b-a3b-free)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [NVIDIA: Nemotron 3 Nano 30B A3B (free)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nvidia-nemotron-3-nano-30b-a3b-free)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-next-80b-a3b-thinking)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 Next 80B A3B Thinking

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-next-80b-a3b-thinking)

[DV](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-V4-Pro)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Deepseek V4 Pro

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-V4-Pro)

[G4](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/zai-org-GLM-4.7)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [GLM 4.7 Fp8

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/zai-org-GLM-4.7)

[N3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.2-90b-vision-instruct)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [nim/meta/llama-3.2-90b-vision-instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.2-90b-vision-instruct)

[QV](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-VL-235B-A22B-Instruct-FP8)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen3-VL-235B-A22B-Instruct-FP8

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-VL-235B-A22B-Instruct-FP8)

[NN](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nvidia-nemotron-3-nano-30b-a3b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [NVIDIA: Nemotron 3 Nano 30B A3B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nvidia-nemotron-3-nano-30b-a3b)

[DR](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/deepseek-deepseek-r1)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [DeepSeek: R1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/deepseek-deepseek-r1)

[Q3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen2.5-32B)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen2.5 32B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen2.5-32B)

[N3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.1-8b-instruct)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [nim/meta/llama-3.1-8b-instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.1-8b-instruct)

[ML](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-Llama-3-8b-chat-hf)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Meta Llama 3 8B Instruct Reference

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-Llama-3-8b-chat-hf)

[G2](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google_deepmind/google-gemma-2-27b-it)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google_deepmind)

 [Gemma-2 Instruct (27B)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google_deepmind/google-gemma-2-27b-it)

[SS](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/stepfun-step-3.5-flash)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [StepFun: Step 3.5 Flash

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/stepfun-step-3.5-flash)

[OG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-oss-120b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI: gpt-oss-120b

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-oss-120b)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-vl-30b-a3b-instruct)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 VL 30B A3B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-vl-30b-a3b-instruct)

About MiniMax: MiniMax M2.5
---

MiniMax-M2.5 is a SOTA large language model designed for real-world productivity. Trained in a diverse range of complex real-world digital working environments, M2.5 builds upon the coding expertise of M2.1...

### Technical Specifications

Model IDminimax-minimax-m2.5CategoryLLM ModelsTaskText GenerationPrice$0.650000 per million tokensAddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate MiniMax: MiniMax M2.5 into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "minimax-minimax-m2.5",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/minimax/minimax-minimax-m2.5/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

MiniMax: MiniMax M2.5 API costs $0.650000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Learn more about MiniMax: MiniMax M2.5](https://modelslab-frontend-v2-927501783998.us-east4.run.app/minimax-minimax-m25) [Browse LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from Minimax](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

MiniMax: MiniMax M2.5 FAQ
---

### What is MiniMax: MiniMax M2.5?

MiniMax-M2.5 is a SOTA large language model designed for real-world productivity. Trained in a diverse range of complex real-world digital working environments, M2.5 builds upon the coding expertise of M2.1...

### How do I use the MiniMax: MiniMax M2.5 API?

You can integrate MiniMax: MiniMax M2.5 into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "minimax-minimax-m2.5" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does MiniMax: MiniMax M2.5 cost?

MiniMax: MiniMax M2.5 costs $0.650000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the MiniMax: MiniMax M2.5 model ID?

The model ID for MiniMax: MiniMax M2.5 is "minimax-minimax-m2.5". Use this ID in your API requests to specify this model.

### Does MiniMax: MiniMax M2.5 have a free tier?

Yes, ModelsLab offers a free tier that lets you try MiniMax: MiniMax M2.5 and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-05-13*