> ## Documentation Index
> Fetch the complete documentation index at: https://docs.modellix.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Modellix LLM with Cline

> Point Cline at the Modellix LLM gateway with the OpenAI Compatible provider, Base URL, and provider/name model IDs.

Configure [Cline](https://cline.bot/) to call the Modellix LLM gateway. Cline supports any [OpenAI Compatible](https://docs.cline.bot/provider-config/openai-compatible) endpoint — select that provider, set Base URL to `https://llm.modellix.ai/v1`, and use Modellix `provider/name` Model IDs for Chat Completions on [`POST /v1/chat/completions`](/llm/chat-completions).

<Note>
  This page covers **LLM text** only (`https://llm.modellix.ai`).

  Modellix model IDs are `provider/name` (for example `openai/gpt-5.5`). Enter that full string as the Model ID. See [Models & Pricing](/llm/overview#models-and-pricing).
</Note>

## Set Up Cline

<Steps>
  <Step title="Install Cline">
    Install the official extension (publisher **Cline / saoudrizwan**, ID `saoudrizwan.claude-dev`):

    | Platform | Install |
    | - | - |
    | VS Code | [Marketplace](https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev) or Extensions search for `Cline` |
    | Cursor / Windsurf / VSCodium | [Open VSX](https://open-vsx.org/extension/saoudrizwan/claude-dev) or install from a `.vsix` |
    | JetBrains | Plugins Marketplace → search `Cline` |

    After install, open the Cline icon in the activity bar (or JetBrains tool window).
  </Step>

  <Step title="Get a Modellix API Key">
    Create a key in the [Modellix console](https://modellix.ai/console/api-key). You will paste it into Cline settings (Cline stores provider credentials in the IDE, not as shell `OPENAI_*` env vars for this flow).
  </Step>

  <Step title="Configure OpenAI Compatible">
    In the Cline panel, open **Settings** (gear icon). Set:

    | Field | Value |
    | - | - |
    | API Provider | **OpenAI Compatible** |
    | Base URL | `https://llm.modellix.ai/v1` |
    | API Key | Your Modellix API Key |
    | Model ID | Exact Modellix Model ID (for example `openai/gpt-5.5`) |

    Include `/v1` in Base URL. Do **not** append `/chat/completions` — Cline adds that path itself.

    <Warning>
      Use a Modellix API key, not an OpenAI platform key. Do not set Base URL to the media API host (`https://api.modellix.ai`).
    </Warning>

    Under **Model Configuration**, set values that match the model (Cline does not always infer these for custom endpoints):

    | Setting | Recommendation |
    | - | - |
    | Context Window | Match the model (for example `200000` for large-context models) |
    | Max Output Tokens | For example `8192` (or the model's max) |
    | Image Support | Enable only if the model supports vision |
    | Computer Use / tools | Enable so Cline can use agent tools |

    Save settings. Switch Model ID to any other catalog ID (for example `anthropic/claude-sonnet-5` or `google/gemini-3.6-flash`) on the same Base URL — traffic still uses OpenAI-compatible Chat Completions on `https://llm.modellix.ai/v1`.

    <Tip>
      You do **not** need a separate Anthropic Base URL without `/v1` for these IDs. Native Anthropic Messages is for the [Anthropic SDK](/llm/sdk/anthropic-sdk) and [Claude Code](/llm/agent/claude-code).
    </Tip>
  </Step>

  <Step title="Verify the Connection">
    If Cline offers **Verify**, run it after saving Base URL, key, and Model ID.

    Then send a short task in the Cline panel, for example: list files in the project root and summarize the project in one sentence. A successful run uses tools (such as list files) and returns a reply without auth or model-not-found errors.
  </Step>
</Steps>

## Troubleshooting

| Symptom | Check |
| - | - |
| 401 / Invalid API Key | Key is a valid Modellix key with no extra spaces or `Bearer` prefix |
| Model not found / 404 | Model ID is a full string like `openai/gpt-5.5`, not bare `gpt-5.5` |
| Connection / wrong path | Base URL is `https://llm.modellix.ai/v1` (include `/v1`, no `/chat/completions`) |
| Tools / agent steps fail | Enable Computer Use / tool support in Model Configuration |
| Context overflows early | Raise Context Window / Max Output Tokens to match the model |

## Related

* [Cline OpenAI Compatible](https://docs.cline.bot/provider-config/openai-compatible) — official provider fields
* [Models & Pricing](/llm/overview#models-and-pricing) — Model IDs and rates
* [LLM API guide](/llm/api/api) — protocols and curl examples
* [OpenAI SDK](/llm/sdk/openai-sdk) — same `/v1` Chat Completions gateway
* [Kilo Code](/llm/agent/kilo-code) — another OpenAI Compatible coding-agent setup
