Use /model in Continue

Add /model models to Continue's config.yaml, with your key in a secrets file.

Checked November 23, 2026

Continue reads its models from config.yaml. Add /model's models there, with the key in a secrets file.

Continue's makers stopped updating it in mid-2026. These steps are for its last release.

Before you start

Set it up

Put your key in ~/.continue/.env:

.env
SLASHMODEL_API_KEY=sk-sm-…

Add the models to ~/.continue/config.yaml, then pick one in Continue's model menu:

config.yaml
name: slashmodel
version: 0.0.1
schema: v1
models:
  - name: Claude Sonnet 5.5
    provider: anthropic
    model: claude-sonnet-5-5
    apiBase: https://api.slashmodel.com/v1
    apiKey: ${{ secrets.SLASHMODEL_API_KEY }}
  - name: GPT-6.1 Sol
    provider: openai
    model: gpt-6.1-sol
    apiBase: https://api.slashmodel.com/v1
    apiKey: ${{ secrets.SLASHMODEL_API_KEY }}
    useResponsesApi: false

Good to know

  • useResponsesApi: false keeps GPT models on chat completions, the way these steps were written. Without it, Continue sends GPT requests to the Responses API, which /model serves for GPT models, without stored responses.
  • For other models through provider: openai, add capabilities: [tool_use], so Agent mode can use tools with them.
  • Continue's editor extensions read the key from .env files, not from your shell's environment.

One key for every model here.

Top up from $10, change one URL, and pay only for the tokens you use.