This project provides a guide and settings JSON to add opencode's models to your Copilot Chat.
- Visual Studio Code Version: 1.122.0 or above (tested version)
- 📄 Browse Models List — Get auto-generated configurations for all model types here
- 📄 Model Settings JSON (All-in-one)
- 📄 Model Settings JSON (With Provider Info)
- 👉 Follow the step-by-step guide
GIF Guide:
-
chat.exploreAgent.defaultModel
Select the default language model to use for the Explore subagent from the available providers. -
chat.utilityModel
Override the language model used by built-in utility flows. Leave empty to use the default model. -
chat.utilitySmallModel
Override the language model used by built-in small/fast utility flows. A fast and inexpensive model is recommended. Leave empty to use the default model.
The model-settings.json file is regularly and automatically updated via GitHub Actions to fetch the latest models from OpenCode.
You can also run the update script locally using Bun:
bun install
bun install opencode-ai
bun run scripts/update-json.ts- VS Code Language Model Configuration Reference — Official documentation for model configuration in VS Code Copilot Chat.
