---
title: MiniMax: MiniMax M1 API | Text Generation | ModelsLab
description: Open-weight hybrid MoE reasoning model with 456B parameters, 1M token context, 80K thinking budget, and lightning attention for complex problem-solving.
url: https://modelslab.com/models/minimax/minimax-minimax-m1/api.md
canonical: https://modelslab.com/models/minimax/minimax-minimax-m1/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-28T08:07:40.962398Z
---

MiniMax: MiniMax M1
---

 [LLMs.txt](https://modelslab.com/models/open_router/minimax-minimax-m1/llms.txt) [.md](https://modelslab.com/models/minimax/minimax-minimax-m1.md)

minimax-minimax-m1 minimax Closed Source Model $1.300000 / call

MiniMax: MiniMax M1
---

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 M1

minimax minimax-minimax-m1

Copy model ID

PricingInput $0.40 / 1M tokens

Output $2.20 / 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.com/models?feature=llmaster)

[DR](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-R1-Distill-Qwen-14B)[Together AI](https://modelslab.com/models/together_ai)

 [DeepSeek R1 Distill Qwen 14B

Closed Source Model](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-R1-Distill-Qwen-14B)

[![Gemini 3 Pro Preview](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/1846e76f-9d5c-4a35-a43a-82db45b7bb8b.png)](https://modelslab.com/models/google/gemini-3-pro-preview)[Google](https://modelslab.com/models/google)

 [Gemini 3 Pro Preview

Closed Source Model](https://modelslab.com/models/google/gemini-3-pro-preview)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-4.5v)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 4.5V

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-4.5v)

[ML](https://modelslab.com/models/meta/meta-llama-Meta-Llama-3-70B-Instruct-Turbo)[ModelsLab](https://modelslab.com/models/meta)

 [Meta Llama 3 70B Instruct Turbo

Closed Source Model](https://modelslab.com/models/meta/meta-llama-Meta-Llama-3-70B-Instruct-Turbo)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-30b-a3b)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 30B A3B

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-30b-a3b)

[OG](https://modelslab.com/models/open_router/openai-gpt-4o-2024-05-13)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-4o (2024-05-13)

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-4o-2024-05-13)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-coder-free)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 Coder 480B A35B (free)

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-coder-free)

[BS](https://modelslab.com/models/open_router/bytedance-seed-seed-1.6)[Open Router](https://modelslab.com/models/open_router)

 [ByteDance Seed: Seed 1.6

Closed Source Model](https://modelslab.com/models/open_router/bytedance-seed-seed-1.6)

[AN](https://modelslab.com/models/open_router/amazon-nova-pro-v1)[Open Router](https://modelslab.com/models/open_router)

 [Amazon: Nova Pro 1.0

Closed Source Model](https://modelslab.com/models/open_router/amazon-nova-pro-v1)

[AC](https://modelslab.com/models/open_router/anthropic-claude-opus-latest)[Open Router](https://modelslab.com/models/open_router)

 [Anthropic: Claude Opus Latest

Closed Source Model](https://modelslab.com/models/open_router/anthropic-claude-opus-latest)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3.5-plus-20260420)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3.5 Plus 2026-04-20

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3.5-plus-20260420)

[RF](https://modelslab.com/models/open_router/rekaai-reka-flash-3)[Open Router](https://modelslab.com/models/open_router)

 [Reka Flash 3

Closed Source Model](https://modelslab.com/models/open_router/rekaai-reka-flash-3)

[GG](https://modelslab.com/models/open_router/google-gemma-3-4b-it)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemma 3 4B

Closed Source Model](https://modelslab.com/models/open_router/google-gemma-3-4b-it)

[GG](https://modelslab.com/models/open_router/google-gemini-3.1-pro-preview-customtools)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemini 3.1 Pro Preview Custom Tools

Closed Source Model](https://modelslab.com/models/open_router/google-gemini-3.1-pro-preview-customtools)

[D1](https://modelslab.com/models/together_ai/agentica-org-DeepCoder-14B-Preview)[Together AI](https://modelslab.com/models/together_ai)

 [Deepcoder 14B Preview

Closed Source Model](https://modelslab.com/models/together_ai/agentica-org-DeepCoder-14B-Preview)

[Q4](https://modelslab.com/models/together_ai/Qwen-Qwen3-4B-Base)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 4B Base

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-4B-Base)

[ML](https://modelslab.com/models/meta/meta-llama-Meta-Llama-3.1-405B-Instruct-Turbo)[ModelsLab](https://modelslab.com/models/meta)

 [Meta Llama 3.1 405B Instruct Turbo

Closed Source Model](https://modelslab.com/models/meta/meta-llama-Meta-Llama-3.1-405B-Instruct-Turbo)

[XG](https://modelslab.com/models/open_router/x-ai-grok-4)[Open Router](https://modelslab.com/models/open_router)

 [xAI: Grok 4

Closed Source Model](https://modelslab.com/models/open_router/x-ai-grok-4)

About MiniMax: MiniMax M1
---

MiniMax-M1 is a large-scale, open-weight reasoning model designed for extended context and high-efficiency inference. It leverages a hybrid Mixture-of-Experts (MoE) architecture paired with a custom "lightning attention" mechanism, allowing it...

### Technical Specifications

Model IDminimax-minimax-m1CategoryLLM ModelsTaskText GenerationPrice$1.300000 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 M1 into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/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-m1",
        "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.com/models/minimax/minimax-minimax-m1/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

MiniMax: MiniMax M1 API costs $1.300000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

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

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Minimax](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

MiniMax: MiniMax M1 FAQ
---

### What is MiniMax: MiniMax M1?

MiniMax-M1 is a large-scale, open-weight reasoning model designed for extended context and high-efficiency inference. It leverages a hybrid Mixture-of-Experts (MoE) architecture paired with a custom "lightning attention" mechanism, allowing it...

### How do I use the MiniMax: MiniMax M1 API?

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

### How much does MiniMax: MiniMax M1 cost?

MiniMax: MiniMax M1 costs $1.300000 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 M1 model ID?

The model ID for MiniMax: MiniMax M1 is "minimax-minimax-m1". Use this ID in your API requests to specify this model.

### Does MiniMax: MiniMax M1 have a free tier?

Yes, ModelsLab offers a free tier that lets you try MiniMax: MiniMax M1 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-04-28*