pi-multikey 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/presets.ts +33 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-multikey",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "One pi provider backed by many API keys: automatic 429 rotation, per-request key leases for concurrent subagents, and a /multikey management TUI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
package/presets.ts
CHANGED
|
@@ -57,7 +57,7 @@ export const PRESETS: Preset[] = [
|
|
|
57
57
|
{
|
|
58
58
|
id: "b-ai",
|
|
59
59
|
name: "B.AI",
|
|
60
|
-
description: "api.b.ai — Hunyuan Hy3, MiMo V2.5, Qwen3.8
|
|
60
|
+
description: "api.b.ai — Hunyuan Hy3, MiMo V2.5, Qwen3.8, DeepSeek V4.1 Flash, GLM 5.3 Flash (5 models)",
|
|
61
61
|
defaultPoolId: "bai",
|
|
62
62
|
baseUrl: "https://api.b.ai/v1",
|
|
63
63
|
api: "openai-completions",
|
|
@@ -96,6 +96,38 @@ export const PRESETS: Preset[] = [
|
|
|
96
96
|
maxTokens: 131_072,
|
|
97
97
|
thinkingLevelMap: levels({ off: "none", low: "low", medium: "medium", xhigh: "xhigh" }),
|
|
98
98
|
},
|
|
99
|
+
{
|
|
100
|
+
// b.ai /v1/models lists `deepseek-v4.1-flash` (bare ids only, no
|
|
101
|
+
// limit fields — verified live 2026-09-21). Sizes from catalog
|
|
102
|
+
// consensus (models.dev opencode/greenpt rows + the same model
|
|
103
|
+
// behind cline-free/deepseek-v4.1-flash, verified live 2026-09-17):
|
|
104
|
+
// ctx 1M, out 384K. Text+image input (models.dev opencode row).
|
|
105
|
+
// Thinking tiers UNVERIFIED on b.ai: conservative off/high only —
|
|
106
|
+
// b.ai rejects minimal/xhigh/max with HTTP 400 (seen on mimo-v2.5).
|
|
107
|
+
// Widen the map after probing with a paid key.
|
|
108
|
+
id: "deepseek-v4.1-flash",
|
|
109
|
+
name: "DeepSeek V4.1 Flash",
|
|
110
|
+
reasoning: true,
|
|
111
|
+
input: ["text", "image"],
|
|
112
|
+
contextWindow: 1_000_000,
|
|
113
|
+
maxTokens: 384_000,
|
|
114
|
+
thinkingLevelMap: levels({ off: "none", high: "high" }),
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
// b.ai /v1/models lists `glm-5.3-flash` (bare ids only — verified
|
|
118
|
+
// live 2026-09-21). Sizes from catalog consensus (models.dev
|
|
119
|
+
// zhipuai/zai rows): ctx 1M, out 128K. Upstream inputs
|
|
120
|
+
// text/image/video/pdf (pi tracks text + image, like mimo-v2.5).
|
|
121
|
+
// Thinking tiers UNVERIFIED on b.ai: conservative off/high only
|
|
122
|
+
// (see deepseek-v4.1-flash above). Widen after probing.
|
|
123
|
+
id: "glm-5.3-flash",
|
|
124
|
+
name: "GLM 5.3 Flash",
|
|
125
|
+
reasoning: true,
|
|
126
|
+
input: ["text", "image"],
|
|
127
|
+
contextWindow: 1_000_000,
|
|
128
|
+
maxTokens: 131_072,
|
|
129
|
+
thinkingLevelMap: levels({ off: "none", high: "high" }),
|
|
130
|
+
},
|
|
99
131
|
],
|
|
100
132
|
},
|
|
101
133
|
{
|