opencode-qoderQoder provider plugin for opencode
2
+1 in 30 days
371
91 in 7 days
41.0
Multi-signal model
21 days ago
2026-07-30
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-qoder@0.2.1"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-qoder@0.2.1"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-qoderopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
Qoder Global provider plugin for opencode. This is a port of the global-only pieces of pi-provider-qoder: PAT exchange, COSY request signing, Qoder body encoding, chat SSE parsing, reasoning, image input, and tool calls.
Qoder China endpoints and model aliases are intentionally not included.
Build
npm install
npm run build
Installation
Add the built plugin to opencode.json in this repo, or adjust the relative path for your config location:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-qoder"],
"model": "qoder/auto"
}
The plugin registers provider qoder and these models: auto, ultimate, performance, efficient, lite, qmodel_preview, qmodel, qmodel_latest, dmodel, dfmodel, gm51model, kmodel_latest, kmodel, and mmodel.
Authenticate
Use a Qoder Personal Access Token (pt-...). A PAT is exchanged for a short-lived Qoder job token automatically before requests.
export QODER_PERSONAL_ACCESS_TOKEN="pt-..."
opencode
You can also run opencode's auth flow after the plugin is loaded:
/connect qoder
Choose Personal Access Token and paste the PAT.
After adding or changing the plugin config, quit and restart opencode. Plugins and provider config are loaded at startup.