Cursor is Anysphere’s AI-first IDE forked from VS Code, with built-in agents and codebase understanding.
Install Cursor
- Download and install Cursor from the Cursor website.
- Open Cursor, click Log In, and sign in to your Cursor account.
Configure MiniMax API
- Click “Models” in the left sidebar to open the model configuration page.
- Expand the “API Keys” section and configure the API information:
- Enable “Override OpenAI Base URL”;
- Enter the MiniMax base URL
https://api.minimax.io/v1
- Paste your Subscription Key into the OpenAI API Key field.
- Turn on Use OpenAI API Key.
The screenshot shows the Mainland China endpoint. For this page, enter https://api.minimax.io/v1 as specified above.
- Click Enable OpenAI API Key in the confirmation dialog.
- At the bottom of the model list in Models, click Add Custom Model.
- Enter the model name “MiniMax-M3.1-Flash-Preview”, then click the “Add” button.
Use the exact model name
MiniMax-M3.1-Flash-Preview (capital M’s, lowercase i, hyphen) — match the spelling shown in MiniMax docs.- Enable the newly added “MiniMax-M3.1-Flash-Preview” model.
- Select the “MiniMax-M3.1-Flash-Preview” model in the chat panel and start using “MiniMax-M3.1-Flash-Preview” for development.
Cursor Tab autocomplete is not powered by your custom MiniMax key. Tab is a Cursor Pro feature that always uses Cursor’s own model. Custom models only work in Chat / Composer / Edit modes.
If the model returns no content, open Browser & Network in Cursor settings and try HTTP/1.0 under HTTP Compatibility Mode.
