Compatible tools
IDE pluginWorks

GitHub Copilot · Gatelum

VS Code Chat accepts a custom endpoint through Manage Language Models: Gatelum serves chat and agent requests over the OpenAI chat-completions protocol, while inline suggestions stay on the Copilot plan.

Connection steps

  1. In VS Code Chat open Manage Language Models and choose Custom Endpoint.

  2. Set Endpoint to the gateway address with /v1/chat/completions, paste your Gatelum key and set apiType to chat-completions.

  3. Turn toolCalling on and add the catalog model ID.

  4. Alternatively put the same values into .vscode/chatLanguageModels.json — the model then appears in the picker.

Endpoint:    https://api.gatelum.com/v1/chat/completions
API key:     glt_YOUR_KEY
apiType:     chat-completions
toolCalling: true
Model:       openai/gpt-6-sol

Connection check

Send one short request: it checks the key, the address and the chosen model.

curl
curl https://api.gatelum.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer glt_YOUR_KEY" \
  -d '{"model":"openai/gpt-6-sol","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.

Good to knowThe endpoint is the full chat-completions URL — the gateway address with /v1/chat/completions — with apiType chat-completions and toolCalling true; the same fields live in .vscode/chatLanguageModels.json. Chat and agent requests only: inline suggestions are not covered. On a Business or Enterprise seat an administrator must enable the BYOK policy before the custom provider appears.
Gateway capabilities and limitsAgentic modes work because the gateway can call 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.