Documentation / Connect

Connect → Cline

Use AxForge with Cline

Cline is a coding agent that lives in VS Code's side bar: it reads your project, edits files and runs commands. Its OpenAI Compatible provider points it at AxForge.

Before you start
  • An AxForge API key. Get one (a minute).
  • VS Code with the Cline extension (search Cline under Extensions). This guide was tried with Cline 4.1.25 in VS Code 1.141 on 2026-10-17.

Set it up

  1. Bring your own key

    Open Cline from its icon in the side bar. It asks how you will use it: choose Bring my own API key and press Continue.

    Cline asking How will you use Cline, with Bring my own API key chosen and marked
  2. Choose OpenAI Compatible

    In API Provider, type OpenAI and pick OpenAI Compatible.

    Cline's API Provider list filtered by OpenAI, with OpenAI Compatible marked
  3. Address, model, key

    Fill them in this order: Base URL https://api.axforge.ai/v1, Model ID qwen3.8-27b, then your key in OpenAI Compatible API Key. With the key in, Cline reads our model list and shows your model in it.

    Cline's provider settings with the AxForge base URL, the key as dots and qwen3.8-27b as Model ID, all three marked

    Type the model before the key. On this first screen, a model picked from the list after the key did not stick in our try: Cline kept its default gpt-4o.

  4. Tell it the model's size

    Open Model Configuration and set Context Window Size to 262144 (Cline assumes 128000). Leave Supports Images on for qwen3.8-27b. Then press Continue.

    Cline's Model Configuration with Supports Images ticked and Context Window Size 262144 marked
  5. Give it a task

    Ask in plain words. Cline reads and edits files on its own (both are on in Auto-approve) and asks before it runs a command: press Run Command or Reject.

    Cline in VS Code after adding a subtract function and docstrings to utils.py, the task marked completed, openai-compat:qwen3.8-27b under the message box

The settings

FieldValue
API ProviderOpenAI Compatible
Base URLhttps://api.axforge.ai/v1
API Keyyour AxForge key
Model IDqwen3.8-27b, glm-5.3-flash or mimo-v2.6-flash
Context Window Size262144
Supports Imageson for qwen3.8-27b only

Which model for what: qwen3.8-27b is the everyday default and reads images, glm-5.3-flash thinks before it answers, mimo-v2.6-flash is the fastest. Change it later under the gear at the top of Cline's panel.

Cline's cost counter stays at $0: it only knows the prices typed in its Model Configuration. What you really used is in the console.

Check that it works

Under the message box it says openai-compat:qwen3.8-27b, and a task gets done. The calls show in the console under API Keys → Recent calls within a minute.

When it does not work

Not sure which it is? The connection doctor makes seven small checks on your key and names the fix: irm https://dev.axforge.ai/assets/axforge-doctor.ps1 | iex in PowerShell, curl -fsSL https://dev.axforge.ai/assets/axforge-doctor.sh | bash on macOS and Linux.

What you seeWhat it meansFix
openai-compat:gpt-4o under the message boxthe model did not stickopen the gear at the top of Cline's panel and set the Model ID again
"Invalid API key. Create one at https://console.axforge.ai/keys."the key was refusedpaste it again, whole, or make a new one
The model list does not loadthe Base URLit is https://api.axforge.ai/v1, with /v1 and nothing after it

Test a call says in one click whether a problem is your key, your balance or us.

Ask on the forum Markdown For AI Updated 2026-11-06

Anything unclear on this page?

Ask on the forum. The answer helps the next person too.

Ask about this page