Skip to content
    ↑↓ select↵ openesc close
    English中文
    Moorad

    Qoder

    v0.2.1Model Providers
    opencode-qoder

    Qoder provider plugin for opencode

    GitHub stars

    2

    +1 in 30 days

    Monthly installs

    371

    91 in 7 days

    Composite scoreSCORE

    41.0

    Multi-signal model

    Last commit

    21 days ago

    2026-07-30

    Install and configure

    opencode.json

    Writes 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"]
    }

    opencode 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.