Skip to main content
Cline is a VS Code extension that provides an autonomous AI coding assistant. It can read files, write code, run commands, and iterate on its work.
Setup time: ~1 minute

Prerequisites

Configuration

Step 1: Open Cline Settings

  1. Open VS Code
  2. Click the Cline icon in the sidebar
  3. Click the gear icon to open settings

Step 2: Select Provider

  1. In the API Provider dropdown, select OpenAI Compatible
  2. Enter the base URL: https://api.infercom.ai/v1
  3. Enter your Infercom API key
  4. Enter the model name: MiniMax-M2.5

Step 3: Model Configuration

Under Model Configuration:
SettingValue
Context Window Size163840
Support ImagesDisabled
Enable R1 FormatDisabled
Support Images must be disabled - MiniMax-M2.5 doesn’t support image input.

Step 4: Verify Connection

Click Test Connection or start a conversation to verify the setup works.

Model

Use MiniMax-M2.5 - optimized for agentic coding with 160K context and 75.8% SWE-bench.

Usage

With Cline configured:
  1. Click the Cline icon in VS Code sidebar
  2. Type your request in the chat
  3. Cline will autonomously:
    • Read relevant files
    • Write or edit code
    • Run terminal commands
    • Iterate until the task is complete

Example Tasks

  • “Add error handling to the login function”
  • “Write unit tests for the User class”
  • “Refactor this file to use async/await”

Troubleshooting

Connection Failed

Verify your configuration:
  • Base URL: https://api.infercom.ai/v1
  • API key is valid
  • Model name is exact: MiniMax-M2.5

Model Not Found

Ensure the model name matches exactly (case-sensitive): MiniMax-M2.5

Slow Responses

MiniMax-M2.5 runs at 400+ tokens/sec. If responses seem slow:
  1. Check your network connection
  2. Large context (many files) increases processing time
  3. First request may be slower due to model loading

Next Steps