summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-25 18:28:45 +0300
committerPaul Buetow <paul@buetow.org>2026-05-25 18:28:45 +0300
commitaa298b3d85a7f4ee7f1e1b4a3192421b95f67828 (patch)
treeee5a98766a77630e9442ef05bfe9c644afa35b05
parentdd146c20086e95d388e22cbca907dbf68364628b (diff)
Add OpenRouter Qwen3.6 models to pi config
Add two models to the OpenRouter provider in pi/agent/models.json: - qwen/qwen3.6-27b (dense, 27B params) - qwen/qwen3.6-35b-a3b (MoE, 35B total / 3B active) Both use the openrouter thinking format and route to AkashML to avoid broken tool calling on other providers. Text and image inputs supported. Context window: 262k tokens.
-rw-r--r--pi/agent/models.json71
1 files changed, 66 insertions, 5 deletions
diff --git a/pi/agent/models.json b/pi/agent/models.json
index d458a01..734b076 100644
--- a/pi/agent/models.json
+++ b/pi/agent/models.json
@@ -510,7 +510,9 @@
"id": "kimi-k2.6:cloud",
"name": "kimi-k2.6 [ollama]",
"reasoning": true,
- "input": ["text"],
+ "input": [
+ "text"
+ ],
"cost": {
"input": 0,
"output": 0,
@@ -524,7 +526,9 @@
"id": "qwen3.5:cloud",
"name": "qwen3.5 [ollama]",
"reasoning": true,
- "input": ["text"],
+ "input": [
+ "text"
+ ],
"cost": {
"input": 0,
"output": 0,
@@ -538,7 +542,9 @@
"id": "glm-5.1:cloud",
"name": "glm-5.1 [ollama]",
"reasoning": true,
- "input": ["text"],
+ "input": [
+ "text"
+ ],
"cost": {
"input": 0,
"output": 0,
@@ -552,7 +558,9 @@
"id": "minimax-m2.7:cloud",
"name": "minimax-m2.7 [ollama]",
"reasoning": false,
- "input": ["text"],
+ "input": [
+ "text"
+ ],
"cost": {
"input": 0,
"output": 0,
@@ -563,6 +571,59 @@
"maxTokens": 128000
}
]
+ },
+ "openrouter": {
+ "models": [
+ {
+ "id": "qwen/qwen3.6-27b",
+ "name": "Qwen3.6 27B (dense)",
+ "reasoning": true,
+ "input": [
+ "text",
+ "image"
+ ],
+ "cost": {
+ "input": 0.3,
+ "output": 3.2,
+ "cacheRead": 0,
+ "cacheWrite": 0
+ },
+ "contextWindow": 262144,
+ "maxTokens": 8192,
+ "compat": {
+ "thinkingFormat": "openrouter",
+ "supportsDeveloperRole": false,
+ "maxTokensField": "max_tokens"
+ }
+ },
+ {
+ "id": "qwen/qwen3.6-35b-a3b",
+ "name": "Qwen3.6 35B-A3B (MoE)",
+ "reasoning": true,
+ "input": [
+ "text",
+ "image"
+ ],
+ "cost": {
+ "input": 0.15,
+ "output": 1.0,
+ "cacheRead": 0,
+ "cacheWrite": 0
+ },
+ "contextWindow": 262144,
+ "maxTokens": 8192,
+ "compat": {
+ "thinkingFormat": "openrouter",
+ "supportsDeveloperRole": false,
+ "maxTokensField": "max_tokens",
+ "openRouterRouting": {
+ "order": [
+ "AkashML"
+ ]
+ }
+ }
+ }
+ ]
}
}
-}
+} \ No newline at end of file