Coding agents

Cline

VSCode autonomous coding agent.

Cline runs a full agent loop inside VSCode. Add FreeTheAi as an OpenAI Compatible provider and it can read, edit, and run code with any FreeTheAi alias.

Base URL https://api.freetheai.xyz/v1
Recommended models bbg/zai-org/GLM-5.1
Chat completions Streaming Tool calling
Step by step

Connect Cline to FreeTheAi.

  1. 1

    Install Cline

    Install the Cline extension from the VSCode marketplace and open the Cline panel from the activity bar.

  2. 2

    Open Cline settings

    Click the gear icon in the Cline panel to open API Configuration.

  3. 3

    Pick OpenAI Compatible

    Under `API Provider`, choose `OpenAI Compatible`.

  4. 4

    Fill the connection

    Use these values. The Model ID accepts any FreeTheAi alias.

    text
    Base URL: https://api.freetheai.xyz/v1
    API Key: PASTE_YOUR_FREETHEAI_KEY
    Model ID: bbg/zai-org/GLM-5.1
Recommended aliases

Models that pair well with Cline.

  • bbg/zai-org/GLM-5.1
  • bbg/deepseek-ai/DeepSeek-V4-Pro
  • wsf/kimi-k2.6

See the full live catalog at /models. Aliases are stable; pricing on the free tier stays $0.

Heads up

Common gotchas.

  • Cline has a Responses-API mode for newer models. With chat completions it falls back to XML tool wrapping, which can repeat tool calls. Stick with chat-style aliases for stability.
  • Avoid `cat/*` and `yng/*` aliases - they do not have native tool calling.
Where to next

Keep building.