Use MagmaRouter in Cline (VS Code)

Use MagmaRouter in Cline (VS Code)

Cline has a built-in OpenAI Compatible provider. Point it at MagmaRouter's /v1 base URL, paste your key, and enter a model id.

Base URL
https://api.magmarouter.com/v1
API key
Get one, starts sk-mr-
Example model
glm-5.3-xploded

Select the OpenAI Compatible provider

Open the Cline settings (the gear icon) and set:

  • API Provider: OpenAI Compatible
  • Base URL: https://api.magmarouter.com/v1
  • API Key: your sk-mr-... key
  • Model: a model id such as glm-5.3-xploded

Under Model Configuration, set the real Context Window and Max Output Tokens from the model's catalogue page, and enable Computer Use only for a model that supports tool calling.

Agents need tool calling Cline edits files and runs commands through function calls. A model without tool-calling support will chat but cannot act. Check the model page before you pick one.

Pick a model

Each page has the Cline setup with that model's id and limits filled in, and what a session costs.

Related guides