pi-multikey 1.16.0 → 1.17.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/presets.ts +26 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-multikey",
3
- "version": "1.16.0",
3
+ "version": "1.17.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
@@ -264,7 +264,7 @@ export const PRESETS: Preset[] = [
264
264
  id: "cline-free",
265
265
  name: "Cline Free",
266
266
  description:
267
- "api.cline.bot — Cline account free tier: DeepSeek V4.1 Flash, Laguna S 2.1, GLM 5.3, Solar Pro 4, Muse Spark 1.3, Space Bunny Alpha, MiMo V2.6 Flash (daily per-model quota, lineup rotates)",
267
+ "api.cline.bot — Cline account free tier: DeepSeek V4.1 Flash, Laguna S 2.1, GLM 5.3, Solar Pro 4, Muse Spark 1.3, Space Bunny Alpha, MiMo V2.6 Flash, Gemini 3.8 Flash (daily per-model quota, lineup rotates)",
268
268
  defaultPoolId: "cline",
269
269
  baseUrl: "https://api.cline.bot/api/v1",
270
270
  api: "openai-completions",
@@ -378,6 +378,31 @@ export const PRESETS: Preset[] = [
378
378
  contextWindow: 1_048_576,
379
379
  maxTokens: 128_000,
380
380
  },
381
+ {
382
+ // Feed id: cline-free/gemini-3.8-flash — top of the recommended-models
383
+ // `free` bucket ("Google's most intelligent Flash model", verified live
384
+ // 2026-09-25). The raw google/ id is usage-billed: it answers 402
385
+ // insufficient_credits on a zero-balance account while the cline-free/
386
+ // id rides the daily per-model quota ($0; the gateway `cost` metadata
387
+ // on free-route responses is market price, not billing).
388
+ // Catalog (cline google provider): ctx 1048576, out 65536; upstream
389
+ // inputs text/image/video/audio/pdf (pi tracks text + image).
390
+ // Thinking is ALWAYS ON on this route — ~300 reasoning_tokens even
391
+ // with no reasoning param, and effort=none still thinks — so off is
392
+ // hidden (null). Verified live 2026-09-25 via reasoning:{effort}:
393
+ // low/medium/high accepted; low is distinct (zero reasoning tokens).
394
+ // minimal/xhigh/max are accepted but indistinguishable from the
395
+ // default depth → hidden.
396
+ id: "cline-free/gemini-3.8-flash",
397
+ name: "Gemini 3.8 Flash (Free)",
398
+ reasoning: true,
399
+ input: ["text", "image"],
400
+ cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
401
+ contextWindow: 1_048_576,
402
+ maxTokens: 65_536,
403
+ compat: { thinkingFormat: "openrouter" },
404
+ thinkingLevelMap: levels({ low: "low", medium: "medium", high: "high" }),
405
+ },
381
406
  ],
382
407
  },
383
408
  ];