minimax plugin, which wraps MiniMax’s OpenAI-compatible Chat Completions API.
Vision Agents requires a Stream account
for real-time transport. Get your MiniMax API key from the MiniMax
Platform.
Installation
Quick Start
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
model | str | "MiniMax-M3" | Model identifier (see available models below) |
api_key | str | None | API key (defaults to MINIMAX_API_KEY env var) |
base_url | str | "https://api.minimax.io/v1" | MiniMax API endpoint (overridable via MINIMAX_BASE_URL) |
client | AsyncOpenAI | None | Optional pre-configured AsyncOpenAI client for dependency injection |
max_tokens | int | None | Upper limit for response tokens |
tools_max_rounds | int | 3 | Max calling rounds for multi-hop tool calls (must be >= 1) |
Available Models
These models are supported through the OpenAI-compatible API:| Model | Context | Description |
|---|---|---|
MiniMax-M3 (default) | 512K | Latest flagship for agentic reasoning, tool use, coding, and long context; supports image input |
MiniMax-M2.7 | 205K | Previous-generation flagship; ~60 tps output |
MiniMax-M2.7-highspeed | 205K | Same as M2.7 with faster output (~100 tps) |
Function Calling
MiniMax models support function calling with automatic tool invocation:tool_calls and any reasoning content) in the conversation history so the
reasoning chain stays intact. Vision Agents handles this when using registered
functions on the agent.
See the Function Calling guide for details.
Next Steps
Build a Voice Agent
Get started with voice
Build a Video Agent
Add video processing

