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
- A /model API key: create one on the API keys page and add credit on the credits page.
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: falseGood to know
useResponsesApi: falsekeeps 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, addcapabilities: [tool_use], so Agent mode can use tools with them. - Continue's editor extensions read the key from
.envfiles, not from your shell's environment.