This repo is a plugin for OpenCode. What models does it provide?
- User
This repo is a plugin for OpenCode. What models does it provide?
Assistant
The plugin provides access to the following Qwen models:
- Qwen3 Coder Plus (
qwen3-coder-plus)- Description: Most capable Qwen coding model with 1M context window.
- Qwen3 Coder Flash (
qwen3-coder-flash)- Description: Faster Qwen coding model for quick responses.
- Qwen Coder (auto) (
coder-model)- Description: Auto-routed coding model (maps to
qwen3-coder-plus).
- Description: Auto-routed coding model (maps to
- Qwen VL Plus (vision) (
vision-model)- Description: Vision-language model (maps to
qwen3-vl-plus), supports image input.
- Description: Vision-language model (maps to
All models are accessed via the
qwen-codeprovider.- Qwen3 Coder Plus (
- User
C:\qwen-code\ is another agent CLI. What models does it provide?
Assistant
The CLI agent
C:\qwen-code\provides the following models via itsqwen-codeprovider (specifically usingAuthType.QWEN_OAUTH):coder-model(aliased asMAINLINE_CODERandDEFAULT_QWEN_MODEL)- Description: "Qwen 3.5 Plus — efficient hybrid model with leading coding performance".
vision-model(aliased asMAINLINE_VLM)- Description: "The latest Qwen Vision model from Alibaba Cloud ModelStudio (version: qwen3-vl-plus-2025-09-23)".
This information is derived from
packages/cli/src/ui/models/availableModels.tsandpackages/core/src/config/models.ts.- User
How to add Qwen 3.5 Plus to opencode-qwencode-auth ?
Assistant
To add Qwen 3.5 Plus to the plugin, I will update the
src/constants.tsfile. Based on the analysis of theqwen-codeCLI, the model identified ascoder-model(and mapped toqwen3-coder-plus) corresponds to "Qwen 3.5 Plus". I will update the display names to clearly reflect this version.I will rename "Qwen3 Coder Plus" to "Qwen 3.5 Plus" and "Qwen Coder (auto)" to "Qwen 3.5 Plus (Auto)" to match the official branding found in the
qwen-codeCLI.Assistant
I have updated the
opencode-qwencode-authplugin to explicitly label the models as Qwen 3.5.The changes made to
src/constants.ts:qwen3-coder-plus: Renamed from "Qwen3 Coder Plus" to "Qwen 3.5 Plus".qwen3-coder-flash: Renamed from "Qwen3 Coder Flash" to "Qwen 3.5 Flash".coder-model: Renamed from "Qwen Coder (auto)" to "Qwen 3.5 Plus (Auto)".
These updates align the model names with the official
qwen-codeCLI branding while maintaining the underlying model IDs required for API compatibility.- User
Looking from the API usage, are you sure that the Qwen 3.5 Plus in opencode-qwencode-auth is the same model as the Qwen 3.5 Plus in qwen-code ?
Assistant
Based on the API usage analysis of the
qwen-codeCLI, there is a subtle but important distinction:qwen-codeCLI: Uses the model IDcoder-modelby default for OAuth sessions. It describes this model as "Qwen 3.5 Plus".opencode-qwencode-auth: Exposes bothqwen3-coder-plus(specific version) andcoder-model(auto-routed alias).
To strictly align with the
qwen-codeCLI and ensure the "Qwen 3.5 Plus" option behaves exactly as it does in the official CLI, I will update the constants to:- Label
coder-modelas "Qwen 3.5 Plus" (Matching the official CLI's default). - Label
qwen3-coder-plusas "Qwen 3.5 Plus (Fixed)" (To distinguish the explicit version).
Assistant
The models are now configured as follows:
- Qwen 3.5 Plus (
coder-model)- This is the default model used by the
qwen-codeCLI. It is an alias that automatically routes to the best available version (currentlyqwen3-coder-plus).
- This is the default model used by the
- Qwen 3.5 Plus (Fixed) (
qwen3-coder-plus)- This targets the specific version of the model directly, bypassing the auto-routing alias. This is useful if you want to ensure you are always using this specific version.
This configuration ensures full compatibility with the official CLI while providing the flexibility to target specific model versions if needed.
- Qwen 3.5 Plus (