Skip to main content
MiniMax serves its text models through an OpenAI-compatible API, so you drive them through Agno like any other OpenAI-compatible provider. The MiniMax class defaults to MiniMax-M3 and points at the international endpoint https://api.minimax.io/v1.

Installation

Authentication

Create an API key from the MiniMax platform dashboard. Set your MINIMAX_API_KEY environment variable.

Example

Use MiniMax with your Agent:
View more examples here.

Parameters

MiniMax extends the OpenAI-compatible interface and supports most parameters from the OpenAI model. Note: MiniMax does not implement OpenAI-style native response_format / strict json_schema, so supports_native_structured_outputs is set to False. Use use_json_mode=True for structured output. To hit a different host (private deployment, regional endpoint), pass base_url:

Available Models

The OpenAI-compatible endpoint exposes the M3 and M2 families. See the models intro for the current catalog.