> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# MiniMax API - 通过 AIsa 访问 MiniMax 模型

> MiniMax 模型 ID 和端点指南，包括 MiniMax-M2.5、MiniMax-M2.7 和 MiniMax-M3。

AIsa 通过一个 OpenAI 兼容 API Key 提供 MiniMax 模型访问。当前目录包含用于高性价比文本/编程的 `MiniMax-M2.5`、较新的 `MiniMax-M2.7` 及其 `-highspeed` 版本，以及具备 1M token 上下文和视觉/视频能力标签的 `MiniMax-M3`。

下表列出每个模型可用的端点。

## 支持的 MiniMax 模型

| 模型 ID | 类型 | 端点 | 适合 |
| - | - | - | - |
| `MiniMax-H3` | 视频 | `/v1/video/generations` | — |
| `MiniMax-M2.5` | 文本 | `/v1/chat/completions`、`/v1/responses` | 高性价比长文档文本和编程 |
| `MiniMax-M2.7` | 文本 | `/v1/chat/completions`、`/v1/responses` | 较新的 MiniMax M2 系列路由 |
| `MiniMax-M2.7-highspeed` | 文本 | `/v1/chat/completions`、`/v1/responses` | `MiniMax-M2.7` 的高速版本 |
| `MiniMax-M3` | 文本 | `/v1/chat/completions`、`/v1/responses` | 1M 上下文推理，带视觉/视频标签 |

这些模型的当前价格见 [aisa.one/models](https://aisa.one/models)。

## 快速开始

```python theme={null}
import os
from openai import OpenAI

client = OpenAI(api_key=os.environ["AISA_API_KEY"], base_url="https://api.aisa.one/v1")

response = client.chat.completions.create(
    model="MiniMax-M3",
    messages=[{"role": "user", "content": "Summarize this long research packet and extract action items."}]
)
print(response.choices[0].message.content)
```

## 常用选择

| 需求 | 使用 |
| - | - |
| 高性价比文本和编程 | `MiniMax-M2.5` |
| 1M token 上下文 | `MiniMax-M3` |
| Anthropic Messages 或 OpenAI Responses endpoint 风格 | `MiniMax-M3` |
| 视觉或视频能力标签 | `MiniMax-M3` |

## 数据隐私

通过 AIsa 发出的 MiniMax 请求受 AIsa 与 MiniMax 的企业协议保护。客户数据不会用于模型训练。如需合规要求，请[联系我们](mailto:developer@aisa.one)。

## 下一步

* [模型目录](https://aisa.one/docs/zh/guides/models.md)
* [Kimi 模型](https://aisa.one/docs/zh/models/kimi.md)
* [GLM 模型](https://aisa.one/docs/zh/models/glm.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.