Windsurf · Gatelum
Windsurf now ships as part of Devin Desktop: Cascade was removed on 2026-09-08, and BYOK never accepted a custom Base URL, so Windsurf itself cannot be pointed at the gateway. The setup below configures the ACP agent (Claude Agent) in Devin Desktop over the Anthropic protocol on /v1/messages.
Example setup
- ANTHROPIC_BASE_URL
https://api.gatelum.com- ANTHROPIC_AUTH_TOKEN
glt_YOUR_KEY- ANTHROPIC_MODEL
anthropic/claude-sonnet-4.6
Connection steps
Open Settings → Agents in Devin Desktop and select the ACP agent (Claude Agent).
Set ANTHROPIC_BASE_URL to the gateway address without
/v1, ANTHROPIC_AUTH_TOKEN to your Gatelum key and ANTHROPIC_MODEL to the catalog model ID.Restart the agent so it reads the variables, then send a request from the agent panel.
# Devin Desktop → Settings → Agents → ACP agent (Claude Agent)
export ANTHROPIC_BASE_URL=https://api.gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=anthropic/claude-sonnet-4.6Connection check
Send one short request: it checks the key, the address and the chosen model.
curl https://api.gatelum.com/v1/messages \
-H "Content-Type: application/json" \
-H "x-api-key: glt_YOUR_KEY" -H "anthropic-version: 2023-06-01" \
-d '{"model":"anthropic/claude-sonnet-4.6","max_tokens":64,"messages":[{"role":"user","content":"ping"}]}'A normal answer means the setup is correct. 401 points to the key, 404 to the address or model, 400 to the request format.
/v1 — the agent appends /v1/messages itself.
Cascade and the BYOK settings inside Windsurf are not covered and cannot be configured: there is no field for a custom Base URL.functions. JSON output (response_format) is accepted on OpenAI-compatible routes, while a model reachable only through a direct Anthropic or Google connection answers unsupported_capability. The retired functions format behaves differently: it returns parameter_not_supported, so no parameter disappears without an explanation. Only models the catalog tags "Understands images" may accept pictures — they travel as an image_url part holding a data:image/png;base64,… address (PNG, JPEG and WebP are allowed, a file may weigh up to 5 MB, and a request carries at most 50). Remote addresses are never downloaded, while a model lacking the tag answers bad_request. Each error, bad_request as well as parameter_not_supported, states the reason plainly.