Skip to content

MiniMax M2.5 (Lightning)

minimax-m2.5-lightning

MiniMax-M2.5-Lightning is the high-speed variant of the M2.5 series, optimized for low latency, real-time responsiveness, and high-frequency workloads. It retains the core planning and execution strengths of M2.5 while further improving inference efficiency and response speed, making it ideal for interactive applications, rapid coding assistance, and workflow automation. With enhanced cost efficiency and reduced latency, M2.5-Lightning is particularly well suited for high-throughput, always-on deployments and production environments where speed and scalability are critical.

Context
128K tokens
Endpoint

Get API KeyCompare

Pricing

Input$0.30 / 1M
Output$2.20 / 1M
Cache Write (5m)$0.30 / 1M
Cache Write (1h)$0.30 / 1M
Cache Read$0.30 / 1M
Web Search$0 / 1M

Quick Start

Select an endpoint and copy a working example for this model.

Endpoint
python
from openai import OpenAI client = OpenAI(    api_key="YOUR_API_KEY",    base_url="https://api.apertis.ai/v1") response = client.chat.completions.create(    model="minimax-m2.5-lightning",    messages=[        {"role": "user", "content": "Hello!"}    ],    max_tokens=1024,    temperature=0.7) print(response.choices[0].message.content) # Optional: Enable context compression to reduce token usage# response = client.chat.completions.create(#     model="minimax-m2.5-lightning",#     messages=[{"role": "user", "content": "Hello!"}],#     extra_body={"compression": {"enabled": True, "model": "gpt-4.1-mini"}}# )

Supported Parameters

API docs
Common7 params
modelmessagesmax_tokenstemperaturetop_pstreamtools
Extended4 params
reasoning_effortstream_optionsthinkingextra_body

Cursor IDE Model IDs

Use these namespaced identifiers in Cursor IDE to avoid conflicts with built-in models.

minimax-m2.5-lightning

Compare with Other Models

See how this model compares to others from the same provider.

Speech 2.8 Turbo

MiniMax Speech 2.8 Turbo text-to-speech. Billed per input character; each Chinese (Han) character counts as 2.

Context
N/A
Input
— (Not priced per input token)
Output
— (Not priced per output token)

Speech 2.8 HD

MiniMax Speech 2.8 HD text-to-speech. Billed per input character; each Chinese (Han) character counts as 2.

Context
N/A
Input
— (Not priced per input token)
Output
— (Not priced per output token)

MiniMax M2.7

MiniMax-M2.7 is a next-generation large language model designed for autonomous, real-world productivity and continuous improvement. It incorporates advanced multi-agent collaboration, enabling the model to plan, execute, and iteratively refine complex tasks across dynamic environments. Built for production-grade workflows, M2.7 supports tasks such as live debugging, root cause analysis, financial modeling, and full document generation across Word, Excel, and PowerPoint. With strong benchmark performance—including 56.2% on SWE-Pro, 57.0% on Terminal Bench 2, and 1495 ELO on GDPval-AA—it sets a new standard for multi-agent systems in real-world digital workflows.

Context
204.8K
Input
$0.30/M
Output
$1.20/M

MiniMax M2.5

MiniMax-M2.5 is a state-of-the-art large language model designed for real-world productivity and digital work environments. Building on the coding strengths of M2.1, it expands into general office workflows, demonstrating strong capability in generating and operating Word, Excel, and PowerPoint files, switching context across software environments, and collaborating effectively with both human users and agent systems. Trained on diverse real-world working scenarios, M2.5 combines strong planning ability with improved token efficiency, enabling more effective task execution. With strong benchmark performance—including 80.2% on SWE-Bench Verified, 51.3% on Multi-SWE-Bench, and 76.3% on BrowseComp—it is well suited for productivity automation, coding workflows, and agent-driven knowledge work.

Context
204.8K
Input
$0.30/M
Output
$1.20/M