@kenkaiiii/gg-core 5.49.11 → 5.51.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/dist/index.cjs CHANGED
@@ -2339,13 +2339,12 @@ var MODELS = [
2339
2339
  maxThinkingLevel: "high"
2340
2340
  },
2341
2341
  // ── Z.AI (GLM) ─────────────────────────────────────────
2342
- // GLM-5.3 is the only GLM entry: it supersedes 5.2 (same GLM-5 base, all
2343
- // gains from post-training) and the coding endpoint already answers
2344
- // `glm-5.2` requests as glm-5.3, so the older ids were menu clutter that
2345
- // routed to strictly worse coding for the same plan quota.
2346
- // Released 2026-08-14; live on the coding endpoint (verified), while the
2347
- // standard paas API is still "coming soon". `max` is both the ceiling and
2348
- // Z.AI's own default — the rungs below it live in thinking-level.ts.
2342
+ // Two GLM entries, both live on the coding endpoint (verified against its
2343
+ // /models list). The pre-5.3 ids stay retired: they routed to strictly worse
2344
+ // coding for the same plan quota, and the endpoint already answers `glm-5.2`
2345
+ // requests as glm-5.3.
2346
+ // `max` is both the ceiling and Z.AI's own default — the rungs below it live
2347
+ // in thinking-level.ts.
2349
2348
  {
2350
2349
  id: "glm-5.3",
2351
2350
  name: "GLM-5.3",
@@ -2358,6 +2357,30 @@ var MODELS = [
2358
2357
  costTier: "medium",
2359
2358
  maxThinkingLevel: "max"
2360
2359
  },
2360
+ // GLM-5.3-Flash (released 2026-08-26): 320B-A18B natively multimodal sibling
2361
+ // at ~1/20th of 5.3's API price with 3× the coding-plan quota, so it is the
2362
+ // provider's `low` tier — scout sub-agents and compaction summaries route
2363
+ // here instead of paying 5.3 rates.
2364
+ // Images are native on the coding endpoint (verified: base64 data URL in an
2365
+ // `image_url` block answers correctly), which also means GLM image
2366
+ // attachments go inline for this model rather than through the zai_vision MCP
2367
+ // detour that `supportsImages: false` triggers.
2368
+ // Video/file input is documented but unverified on this transport, so it
2369
+ // stays off until measured. Thinking cannot be disabled server-side (Z.AI
2370
+ // maps a `disabled` toggle to the `low` rung and answers 200), and unlike
2371
+ // 5.3 it accepts any reasoning_effort string without a 400.
2372
+ {
2373
+ id: "glm-5.3-flash",
2374
+ name: "GLM-5.3-Flash",
2375
+ provider: "glm",
2376
+ contextWindow: 1e6,
2377
+ maxOutputTokens: 131072,
2378
+ supportsThinking: true,
2379
+ supportsImages: true,
2380
+ supportsVideo: false,
2381
+ costTier: "low",
2382
+ maxThinkingLevel: "max"
2383
+ },
2361
2384
  // ── MiniMax ────────────────────────────────────────────
2362
2385
  {
2363
2386
  id: "MiniMax-M3",