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.
§ 01
Steps
Step 1: Install Cline from the VS Code marketplace.
Step 2: Open Cline settings. Choose the Anthropic provider for Claude models, or OpenAI Compatible for GPT and open models.
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.
Step 4: Paste your SayGM API key.
Step 5: Enter a model ID such as claude-opus-5-5 or gpt-6-luna and start a task.
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.
- Claude Opus 5.5Agentic coding, long multi-step tasks, hard reasoning$3.91 / $19.57
- Claude Sonnet 5.5Daily coding in Claude Code and other coding agents$2.00 / $10.00
- GPT-6.1 SolGeneral assistants and agents at mid-tier cost$1.13 / $5.67
- GPT-6 LunaChat products, summarisation, cheap tool calls$0.06 / $0.28
- Kimi K3Open-weight coding and agent workloads$1.69 / $8.45
- DeepSeek V4.1 FlashBulk generation, cheap open-weight inference$0.04 / $0.17
§ 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.