From d7ed82c38726e8885d598ff3a834788fdf522019 Mon Sep 17 00:00:00 2001 From: Spencer Gilbert Date: Fri, 25 Sep 2026 11:30:48 -0400 Subject: [PATCH] [pi] Add Qwen plan, patch opencode-go's qwen3.8-flash model --- pi/auth.json | 4 ++++ pi/models.json | 20 ++++++++++++++++++-- pi/settings.json | 3 ++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/pi/auth.json b/pi/auth.json index 1323895..d3adfd0 100644 --- a/pi/auth.json +++ b/pi/auth.json @@ -18,6 +18,10 @@ "opencode-go": { "type": "api_key", "key": "!op read 'op://Private/Pi/opencode-go'" + }, + "qwen-token-plan": { + "type": "api_key", + "key": "!op read 'op://Private/Pi/qwen-token-plan'" } {%- endif %} } diff --git a/pi/models.json b/pi/models.json index f18feef..50f41c7 100644 --- a/pi/models.json +++ b/pi/models.json @@ -87,8 +87,8 @@ "minimal": null, "low": "low", "medium": "medium", - "high": "high", - "xhigh": null, + "high": null, + "xhigh": "xhigh", "max": null }, "input": [ @@ -97,6 +97,22 @@ ], "contextWindow": 1000000, "maxTokens": 131072, + "cost": { + "input": 0.15, + "output": 0.47, + "cacheRead": 0.016, + "cacheWrite": 0.2 + }, + "inputLimits": { + "images": { + "resize": { + "maxWidth": 2000, + "maxHeight": 2000, + "maxBytes": 4718592, + "jpegQuality": 80 + } + } + }, "compat": { "supportsStore": false, "supportsDeveloperRole": false, diff --git a/pi/settings.json b/pi/settings.json index 7a267b1..c3f2691 100644 --- a/pi/settings.json +++ b/pi/settings.json @@ -13,7 +13,8 @@ "enabledModels": [ "ds4/**", "llama.cpp/**", - "opencode-go/**" + "opencode-go/**", + "qwen-token-plan/**" ], {%- endif %} "packages": [ -- 2.51.2