Documentation Index
Fetch the complete documentation index at: https://platform.minimax.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
This tool is not recommended for Agent workflows. For better results, we suggest using Claude Code or Cursor.
Install Grok CLI
Use npm to install the Grok CLI globally:Configure MiniMax API
- Set the base URL and API key using environment variables.
- The
GROK_BASE_URLshould be set based on your location: for international users, usehttps://api.minimax.io/v1; for users in China, usehttps://api.minimaxi.com/v1. - Use the API key obtained from the MiniMax Developer Platform (For users in China, visit MiniMax Developer Platform) as the value for
MINIMAX_API_KEY.
- Start the Grok CLI with a specified model: MiniMax-M2.7