Skip to main content
Get your API key from the MiniMax Platform

Configuration

config.yaml
name: My Config
version: 0.0.1
schema: v1

models:
  - name: MiniMax M2.7
    provider: minimax
    model: MiniMax-M2.7
    apiKey: <YOUR_MINIMAX_API_KEY>

Available Models

ModelDescription
MiniMax-M2.7Latest flagship model with enhanced reasoning and coding. 204K context window.
MiniMax-M2.7-highspeedHigh-speed version of M2.7 for low-latency scenarios. 204K context window.
MiniMax-M2.5Peak performance with ultimate value. 204K context window.
MiniMax-M2.5-highspeedSame performance, faster and more agile. 204K context window.

Notes

  • MiniMax uses an OpenAI-compatible API at https://api.minimax.io/v1
  • Set the MINIMAX_API_KEY environment variable or configure apiKey in your config
  • For users in China, set apiBase to https://api.minimaxi.com/v1/