pi-provider-qoder

Pi extension for Qoder AI — with OAuth authentication, COSY signatures and WAF bypass

Packages

Package details

extension

Install pi-provider-qoder from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-provider-qoder
Package
pi-provider-qoder
Version
0.4.4
Published
Sep 6, 2026
Downloads
811/mo · 169/wk
Author
simonsmh
License
MIT
Types
extension
Size
74.7 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "extensions": [
    "./dist/index.js"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-provider-qoder

A pi extension that connects pi to Qoder.

pi install npm:pi-provider-qoder
# or: omp install npm:pi-provider-qoder
pi --provider qoder --model Lite
pi --provider qoder-cn --model Qwen3.7-Plus

Inside pi:

/login qoder
/model Qwen3.8-Max

Providers

Both providers register together.

qoder (global)

qoder-cn (China)

A PAT (pt-...) is exchanged for a job token. Setting any of those env vars logs the provider in at startup.

Models

Model IDs are the catalog display_name with whitespace stripped. After login, /model lists what that region offers.

Examples: Lite, Qwen3.8-Max, Qwen3.7-Plus, Qwen3.8-Flash.

Context uses the largest live catalog option (often 1M). Output is 128K.

Endpoints

Global (qoder) China (qoder-cn)
PAT exchange https://openapi.qoder.sh/api/v1/jobToken/exchange https://openapi.qoder.com.cn/api/v1/jobToken/exchange
User info https://openapi.qoder.sh/api/v1/userinfo https://openapi.qoder.com.cn/api/v1/userinfo
Usage https://openapi.qoder.sh/api/v2/quota/usage https://openapi.qoder.com.cn/api/v2/quota/usage
Chat gateway https://api3.qoder.sh/ https://gateway.qoder.com.cn/

License

MIT