Cursor is an AI-assisted code editor. Follow the steps below to connect Cursor with a model hosted on MARA Cloud.
Prerequisites
- Cursor installed and an active MARA Cloud account.
- Obtain your API key and model name from the MARA Cloud dashboard.
Step 1: Launch Cursor and open model settings
- Open the Cursor application.
- From the left-hand panel, navigate to Settings.
- Click on the Models section.
Step 2: Add MARA Cloud as a custom model
- Scroll down to the API Keys section.
- Enable the Override OpenAI Base URL toggle.
- Enter:
https://api.cloud.mara.com/v1
- Enter:
- Enter your MARA Cloud API key in the corresponding field.
- Click the + Add Custom Model button.
- In the Model Name field, paste the model name from the Model Catalog.
- Example:
MiniMax-M2.5
- Example:
Step 3: Disable other models
- In the models list, disable all default models.
- Ensure only your newly added MARA Cloud model remains enabled.
Step 4: Confirm and finalize
- Under API Keys, double-check that:
- Your MARA Cloud API key is entered.
- Override OpenAI Base URL is enabled and set to
https://api.cloud.mara.com/v1.
- You may see a confirmation popup. Click Confirm or Allow if prompted.
Step 5: Start using MARA Cloud in Cursor
- In the right-hand panel, locate and select the MARA Cloud model.
- Begin coding or chatting. Your requests will now be routed to your selected model on MARA Cloud.
Learn more
- Model Catalog - Browse all available models.
- Bring your own API key - Cursor's official guide on using custom API keys.