Connect Continue to VisionCoder: apiBase and API key setup

Continue connects to the VisionCoder gateway over the Chat protocol: set the gateway address, API key and model name, with copyable config, a verification command and common errors; 16 public models are available now, such as deepseek-v4-pro, deepseek-v4.1-flash, glm-5.2.

Home / Setup guides / Continue

Protocol: Chat; checked 2026-11-10; 16 models available

Requirements

Continue speaks the Chat protocol (/v1/chat/completions). The gateway does not convert protocols, so only models that declare it work. The wrong protocol returns 400 with the path to use instead.

Before you start: API key and gateway address

Create a key and look up the gateway address on the API Keys page after signing in; below it appears as the placeholder <gateway-host>. Personal keys start with sk-u-, employee keys with sk-e-, organization tokens with sk-org-; all of them can call models. Management keys (sk-mgmt-) are rejected.

Setup steps

  1. Sign in, create a key on the API Keys page and look up the gateway address.
  2. Open Continue's config.yaml.
  3. Add an entry under models: set provider to openai, model to a model name from the table below, and name to the label shown in Continue.
  4. Set apiBase to https://<gateway-host>/v1 and apiKey to the key you created on VisionCoder. For OpenAI-compatible providers the documentation changes apiBase, and its example ends with /v1.
  5. Save the file and send a message to check it.

Config file config.yaml

name: VisionCoder
version: 0.0.1
schema: v1

models:
  - name: VisionCoder
    provider: openai
    model: <model-name>
    apiBase: https://<gateway-host>/v1
    apiKey: sk-...

Verify with curl

Replace the model name with one from the table below; a JSON response means the gateway and key work.

curl https://<gateway-host>/v1/chat/completions \
  -H "Authorization: Bearer sk-..." \
  -H "Content-Type: application/json" \
  -d '{"model":"<model-name>","messages":[{"role":"user","content":"Hello"}]}'

Available models

Only public models that declare the Chat protocol. Open a model for full pricing. Unit: CNY per million tokens.

ModelVendorRegionContextInput / output
deepseek-v4-proDeepSeekdomestic1M¥5.85 / ¥17.55
deepseek-v4.1-flashDeepSeekdomestic1M¥1.95 / ¥5.85
glm-5.2GLMdomestic1M¥6.80 / ¥23.80
glm-5.3GLMdomestic1M¥6.80 / ¥23.80
gpt-5.6-solOpenAIoverseas1.05M¥2.75 / ¥16.50
gpt-6-astraOpenAIoverseas1.05M¥5.50 / ¥27.50
gpt-6-solOpenAIoverseas1.05M¥1.10 / ¥5.50
gpt-6.1-solOpenAIoverseas1.05M¥1.10 / ¥5.50
gpt-6.2-astraOpenAIoverseas1.05M¥4.40 / ¥22.00
gpt-6.2-solOpenAIoverseas1.05M¥1.10 / ¥5.50
kimi-k3Kimidomestic1M¥17.00 / ¥85.00
kimi-k3.1-proKimidomestic1M¥11.05 / ¥57.80
qwen3.7-max-2026-06-08Qwendomestic1M¥10.20 / ¥30.60
qwen3.7-plus-2026-05-26Qwendomestic1M¥1.70 / ¥6.80
qwen3.8-flashQwendomestic1M¥0.68 / ¥2.295
qwen3.8-max-0902Qwendomestic200K¥10.20 / ¥30.60

Troubleshooting

SymptomCause and fixSource
401, key rejectedCheck that apiKey is a key created on VisionCoder that is still active, with no stray spaces or quotes. (error code 401060)Gateway
404, model not foundmodel is misspelled or does not exist; it must match the table exactly. (error code 404042)Gateway
403, model unavailableThe model exists, but the workspace of your key cannot call it. (error code 403060)Gateway
400, model does not support this endpointThe model does not declare the Chat protocol; the response lists the paths it does support. Use only models from the table. (error code 400159)Gateway
The error message starts with [402070] or [402072]: insufficient or used-up creditThe account has no usable credit; buy a plan or a top-up pack first, or ask your administrator if you belong to a company. Tools show different HTTP status codes for this error, so go by the error number at the start of the message. (error code 402070, 402072)Gateway
The error message starts with [402073]: the plan has expiredThe plan has expired; buy a plan or a top-up pack, or ask your administrator if you belong to a company. (error code 402073)Gateway
The error message starts with [402074]: the monthly usage cap is reachedThe company token has reached its monthly usage cap; ask the company administrator. (error code 402074)Gateway
429, rate limitedToo many requests or too many in flight; retry later or wait for the current requests to finish. (error code 429000, 429060, 429062, 429063)Gateway
The error message starts with [503060]: no healthy channelThe model has no healthy channel right now; retry later. Tools show different HTTP status codes for this error, so go by the error number at the start of the message. (error code 503060)Gateway

Official sources

Checked 2026-11-10. Unofficial guide: VisionCoder is not affiliated with the owners of Continue, whose name and trademarks belong to them. The steps follow its official documentation and may differ after tool updates; the official documentation prevails.

Other tools

中文