---
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-frontend-v2-927501783998.us-east4.run.app/models/minimax/minimax-minimax-m1/api.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/minimax/minimax-minimax-m1/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-13T10:53:31.033745Z
---

MiniMax: MiniMax M1
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/minimax-minimax-m1/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/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-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[AN](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/amazon-nova-micro-v1)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Amazon: Nova Micro 1.0

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/amazon-nova-micro-v1)

[XG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/x-ai-grok-4.3)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [xAI: Grok 4.3

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/x-ai-grok-4.3)

[OG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/openai-gpt-oss-20b)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [OpenAI GPT-OSS 20B

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

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

 [Qwen: Qwen3.6 35B A3B

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

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-coder-free)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 Coder 480B A35B (free)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-coder-free)

[Q8](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-8B-Lora)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen3 8B Lora

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-8B-Lora)

[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)

[AC](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/anthropic-claude-opus-4.6-fast)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Anthropic: Claude Opus 4.6 (Fast)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/anthropic-claude-opus-4.6-fast)

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

 [OpenAI: GPT-4 Turbo

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

[AA](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/arcee-ai-trinity-large-preview)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Arcee AI: Trinity Large Preview

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/arcee-ai-trinity-large-preview)

[![GPT-5-mini](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/0bda788d-705d-4cbd-9c9d-dcdaa12b9493.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-5-mini)[Open Ai](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai)

 [GPT-5-mini

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-5-mini)

[Q9](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3.5-9B-FP8)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen3.5 9B Fp8

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

[![GPT-5-nano](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/264a17fd-e3e6-4145-a644-88e3c644638f.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-5-nano)[Open Ai](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai)

 [GPT-5-nano

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-5-nano)

[![GPT-5](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/a05bf5f0-fe1a-4815-b135-3325beef2516.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-5)[Open Ai](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai)

 [GPT-5

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

[NH](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nousresearch-hermes-4-405b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Nous: Hermes 4 405B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nousresearch-hermes-4-405b)

[QC](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen-2.5-coder-32b-instruct)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen2.5 Coder 32B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen-2.5-coder-32b-instruct)

[QN](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-Next-80B-A3B-Instruct-FP8)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen3 Next 80B A3b Instruct Fp8

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

[ZG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/z-ai-glm-4.7)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Z.ai: GLM 4.7

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/z-ai-glm-4.7)

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-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-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-frontend-v2-927501783998.us-east4.run.app/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-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

[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 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-05-13*