Use CoralBricks with Cline
Run Cline's agent on CoralBricks open-model inference — GLM and Kimi with up to 1M context. Three fields, no plan gates.
Cline is the most-installed open-source AI coding agent
for VS Code (and VS Code forks like Cursor), with first-class support for
OpenAI-compatible providers. CoralBricks plugs in with three fields — plan
mode, act mode, and tool calling all route through the Coral gateway.
1. Get an API key
Create a key from your API keys page (format ak_...).
2. Configure the provider
Open Cline → gear icon (Settings) → API Configuration:
- API Provider →
OpenAI Compatible
- Base URL →
https://inference.coralbricks.ai/v1
- API Key → your
ak_... key
- Model ID →
glm-5.2-fp4 (or any slug from the table below — IDs are
case-sensitive)
Optional but recommended: in the custom model configuration, set the
context window size to match the model (1,048,576 for GLM 5.2 and
Kimi K3) so Cline's context management uses the full window.
Available models
| Model |
Model ID |
Context |
Input $/M |
Output $/M |
| GLM 5.2 |
glm-5.2-fp4 |
1M |
$1.40 |
$4.40 |
| Kimi K3 |
kimi-k3 |
1M |
$3.00 |
$15.00 |
| Kimi K2.6 |
kimi-k2.6 |
256K |
$0.76 |
$4.00 |
| GPT-OSS 120B |
gpt-oss-120b |
128K |
$0.15 |
$0.60 |
Cached input tokens are always free — and Cline's agent loop re-sends its
context on every turn, which is exactly where cached-input pricing matters.
Notes
- Everything routes through Coral — unlike Cursor, Cline has no
model backend of its own: plan mode, act mode, tool calls, and diffs all
run on the provider you configure, with no paid tier requirement.
- Tool calling works out of the box — the gateway emits OpenAI-exact
streaming tool calls; Cline's file edits, terminal commands, and browser
actions run unmodified.
- Long context is the point — GLM 5.2 and Kimi K3 take up to 1M tokens,
so large-repo context fits without aggressive truncation.
- The same key works in OpenCode, Cursor,
Continue, and anything else that speaks OpenAI-compatible providers. See
the API reference for the full surface.