Skip to content
TokenGauge
Menu

Setup note · 5 steps

SayGM in Cline

Cline is an autonomous coding agent for VS Code. It supports OpenAI-compatible and Anthropic providers, both of which SayGM exposes natively.

Updated 11 Nov 2026

§ 01

Steps

  1. Step 1: Install Cline from the VS Code marketplace.

  2. Step 2: Open Cline settings. Choose the Anthropic provider for Claude models, or OpenAI Compatible for GPT and open models.

  3. Step 3: Set the base URL to https://api.saygm.com/v1 for either provider. For Anthropic, tick Use custom base URL. The URL must end in /v1.

  4. Step 4: Paste your SayGM API key.

  5. Step 5: Enter a model ID such as claude-opus-5-5 or gpt-6-luna and start a task.

Cline provider settings
API Provider:        AnthropicUse custom base URL: https://api.saygm.com/v1API Key:             gm_live_...Model ID:            claude-opus-5-5

§ 02

Why route Cline through a gateway

  • 01

    Agent loops send thousands of requests, so per-token price matters more than in chat.

  • 02

    Native Anthropic API support keeps prompt caching and tool use working.

  • 03

    Cascade models on SayGM fall back automatically if a provider errors mid-task.

§ 03

Models worth trying in Cline

Snapshot SayGM prices per million tokens, input then output.

§ 04

Cline questions

Does Cline work with SayGM?

Yes. Cline is an autonomous coding agent for VS Code. It supports OpenAI-compatible and Anthropic providers, both of which SayGM exposes natively.

Which models can I use in Cline through SayGM?

Claude through the Anthropic setup, and GPT and open-weight models through the OpenAI-compatible one, including Claude Opus 5.5, Claude Sonnet 5.5 and GPT-6.1 Sol. SayGM serves Gemini only on generateContent.

Where do I find the SayGM base URL?

The steps above give it for this tool. The SayGM developer docs list the endpoint for each API format: Anthropic Messages, OpenAI Chat Completions and Responses, and Gemini generateContent.