@kenkaiiii/gg-core 5.61.1 → 5.63.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/{chunk-QZ4423EL.js → chunk-KZ2YPRM7.js} +59 -58
- package/dist/chunk-KZ2YPRM7.js.map +1 -0
- package/dist/index.cjs +58 -57
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/model-registry.cjs +60 -59
- package/dist/model-registry.cjs.map +1 -1
- package/dist/model-registry.d.cts +7 -7
- package/dist/model-registry.d.ts +7 -7
- package/dist/model-registry.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-QZ4423EL.js.map +0 -1
|
@@ -1930,12 +1930,17 @@ var MODELS = [
|
|
|
1930
1930
|
// maxThinkingLevel: "max",
|
|
1931
1931
|
// },
|
|
1932
1932
|
{
|
|
1933
|
-
// Released 2026-
|
|
1934
|
-
//
|
|
1935
|
-
//
|
|
1936
|
-
//
|
|
1937
|
-
|
|
1938
|
-
|
|
1933
|
+
// Released 2026-09-22 — "built for long-running agentic coding and knowledge
|
|
1934
|
+
// work". Fable-5.1-class output at $4/$20 MTok (40% below Opus 5), 1M
|
|
1935
|
+
// context, 128K output, image input. Same always-on adaptive thinking with
|
|
1936
|
+
// the full effort ladder (low→max, xhigh included; the API-side default
|
|
1937
|
+
// effort is `medium`) and the same Fable 5.1 constraints gg-ai already
|
|
1938
|
+
// handles (no forced tool use, thinking can't be disabled). Also eligible
|
|
1939
|
+
// for the gated `speed: "fast"` research preview (waitlist-only, premium
|
|
1940
|
+
// $8/$40 pricing — not wired up). Opus 5 is retired here — a session that
|
|
1941
|
+
// still has it saved falls back to the provider default on next start.
|
|
1942
|
+
id: "claude-opus-5-5",
|
|
1943
|
+
name: "Claude Opus 5.5",
|
|
1939
1944
|
provider: "anthropic",
|
|
1940
1945
|
contextWindow: 1e6,
|
|
1941
1946
|
maxOutputTokens: 128e3,
|
|
@@ -2082,16 +2087,21 @@ var MODELS = [
|
|
|
2082
2087
|
maxThinkingLevel: "max"
|
|
2083
2088
|
},
|
|
2084
2089
|
// ── xAI (Grok) ─────────────────────────────────────────
|
|
2085
|
-
// Grok 4.
|
|
2086
|
-
// and knowledge work,
|
|
2087
|
-
//
|
|
2088
|
-
//
|
|
2090
|
+
// Grok 4.7 (released 2026-09-21) — xAI's flagship for coding, agentic tasks,
|
|
2091
|
+
// and knowledge work: a new, larger base model with a longer RL run weighted
|
|
2092
|
+
// toward hours-long tasks, plus stronger self-verification and long-context
|
|
2093
|
+
// management. 500K context, text+image input, and a `reasoning_effort`
|
|
2094
|
+
// ladder of low/medium/high default/xhigh (reasoning still can't be fully
|
|
2089
2095
|
// disabled). $2/$6 per MTok under 200K prompt tokens ($4/$12 at or above),
|
|
2090
|
-
// and it's the default model of the Grok Build coding agent. xAI advertises
|
|
2091
|
-
//
|
|
2096
|
+
// and it's the default model of the Grok Build coding agent. xAI advertises
|
|
2097
|
+
// "no fixed text output limit"; we keep the 131K practical cap for budget
|
|
2098
|
+
// predictability and input headroom. (A faster "Grok 4.7 Fast" variant
|
|
2099
|
+
// exists but is Cursor/Grok Build-only — not on the public API — so it isn't
|
|
2100
|
+
// registered.) Only the newest Grok ships — 4.6/4.5 are superseded and
|
|
2101
|
+
// retired; saved sessions on them fall back to this default.
|
|
2092
2102
|
{
|
|
2093
|
-
id: "grok-4.
|
|
2094
|
-
name: "Grok 4.
|
|
2103
|
+
id: "grok-4.7",
|
|
2104
|
+
name: "Grok 4.7",
|
|
2095
2105
|
provider: "xai",
|
|
2096
2106
|
contextWindow: 5e5,
|
|
2097
2107
|
maxOutputTokens: 131072,
|
|
@@ -2101,24 +2111,6 @@ var MODELS = [
|
|
|
2101
2111
|
costTier: "medium",
|
|
2102
2112
|
maxThinkingLevel: "xhigh"
|
|
2103
2113
|
},
|
|
2104
|
-
// Grok 4.5 (released 2026-07-08) — superseded by 4.6 but retained as an explicit option. 500K context, text+image input,
|
|
2105
|
-
// configurable `reasoning_effort` (low/medium/high, server default high;
|
|
2106
|
-
// reasoning can't be fully disabled). Served over the OpenAI-compatible API
|
|
2107
|
-
// at https://api.x.ai/v1 (API key from console.x.ai). xAI hasn't published an
|
|
2108
|
-
// official max-output cap for 4.5; 131K matches the Grok Responses ceiling
|
|
2109
|
-
// third-party integrations use.
|
|
2110
|
-
{
|
|
2111
|
-
id: "grok-4.5",
|
|
2112
|
-
name: "Grok 4.5",
|
|
2113
|
-
provider: "xai",
|
|
2114
|
-
contextWindow: 5e5,
|
|
2115
|
-
maxOutputTokens: 131072,
|
|
2116
|
-
supportsThinking: true,
|
|
2117
|
-
supportsImages: true,
|
|
2118
|
-
supportsVideo: false,
|
|
2119
|
-
costTier: "medium",
|
|
2120
|
-
maxThinkingLevel: "high"
|
|
2121
|
-
},
|
|
2122
2114
|
// ── Gemini ─────────────────────────────────────────
|
|
2123
2115
|
{
|
|
2124
2116
|
id: "gemini-3.1-flash-lite",
|
|
@@ -2307,44 +2299,53 @@ var MODELS = [
|
|
|
2307
2299
|
maxThinkingLevel: "high"
|
|
2308
2300
|
},
|
|
2309
2301
|
// ── Xiaomi (MiMo) ──────────────────────────────────────
|
|
2310
|
-
//
|
|
2311
|
-
//
|
|
2302
|
+
// MiMo-V2.6 series (released 2026-09-22, open-weight: Pro 1.02T/42B-A,
|
|
2303
|
+
// Flash 309B/15B-A, plus a 9B Qwen distill not served over the API). Every
|
|
2304
|
+
// V2.6 text model is natively full-modal (image + audio + video
|
|
2305
|
+
// understanding), so the whole series takes image/video input over the same
|
|
2306
|
+
// OpenAI-compatible base64 transport the old omni model used. API prices are
|
|
2307
|
+
// unchanged from V2.5. The V2.5 ids (`mimo-v2.5-pro`/`mimo-v2.5`) deprecate
|
|
2308
|
+
// on the platform 2026-10-21 and are retired here — saved sessions fall back
|
|
2309
|
+
// to the provider default on next start.
|
|
2312
2310
|
{
|
|
2313
|
-
|
|
2314
|
-
|
|
2311
|
+
// Coding/agentic flagship — highest open-weight score on Artificial
|
|
2312
|
+
// Analysis at launch (46, tied with Grok 4.7).
|
|
2313
|
+
id: "mimo-v2.6-pro",
|
|
2314
|
+
name: "MiMo-V2.6-Pro",
|
|
2315
2315
|
provider: "xiaomi",
|
|
2316
2316
|
contextWindow: 1e6,
|
|
2317
2317
|
maxOutputTokens: 131072,
|
|
2318
2318
|
supportsThinking: true,
|
|
2319
|
-
supportsImages:
|
|
2320
|
-
supportsVideo:
|
|
2319
|
+
supportsImages: true,
|
|
2320
|
+
supportsVideo: true,
|
|
2321
|
+
maxVideoBytes: 36 * 1024 * 1024,
|
|
2321
2322
|
costTier: "medium",
|
|
2322
2323
|
maxThinkingLevel: "high",
|
|
2323
2324
|
authStorageKeys: ["xiaomi", XIAOMI_CREDITS_KEY]
|
|
2324
2325
|
},
|
|
2325
|
-
// UltraSpeed: lower-latency sibling of the Pro coding flagship, same
|
|
2326
|
-
// text-only capability surface, premium-priced for the throughput gain.
|
|
2327
|
-
// API-only — not served over the Token Plan endpoint, so credentials
|
|
2328
|
-
// resolve from the distinct API Credits key only (see authStorageKeys doc).
|
|
2329
2326
|
{
|
|
2330
|
-
|
|
2331
|
-
|
|
2327
|
+
// Low-cost full-modal sibling (~10% of Pro's price class) — the provider's
|
|
2328
|
+
// `low` tier, so scout sub-agents and fast routing land here.
|
|
2329
|
+
id: "mimo-v2.6-flash",
|
|
2330
|
+
name: "MiMo-V2.6-Flash",
|
|
2332
2331
|
provider: "xiaomi",
|
|
2333
2332
|
contextWindow: 1e6,
|
|
2334
2333
|
maxOutputTokens: 131072,
|
|
2335
2334
|
supportsThinking: true,
|
|
2336
|
-
supportsImages:
|
|
2337
|
-
supportsVideo:
|
|
2338
|
-
|
|
2335
|
+
supportsImages: true,
|
|
2336
|
+
supportsVideo: true,
|
|
2337
|
+
maxVideoBytes: 36 * 1024 * 1024,
|
|
2338
|
+
costTier: "low",
|
|
2339
2339
|
maxThinkingLevel: "high",
|
|
2340
|
-
authStorageKeys: [XIAOMI_CREDITS_KEY]
|
|
2340
|
+
authStorageKeys: ["xiaomi", XIAOMI_CREDITS_KEY]
|
|
2341
2341
|
},
|
|
2342
|
-
//
|
|
2343
|
-
//
|
|
2344
|
-
//
|
|
2342
|
+
// UltraSpeed: lower-latency sibling of the Pro flagship, same full-modal
|
|
2343
|
+
// capability surface, premium-priced for the throughput gain. API-only —
|
|
2344
|
+
// not served over the Token Plan endpoint, so credentials resolve from the
|
|
2345
|
+
// distinct API Credits key only (see authStorageKeys doc).
|
|
2345
2346
|
{
|
|
2346
|
-
id: "mimo-v2.
|
|
2347
|
-
name: "MiMo-V2.
|
|
2347
|
+
id: "mimo-v2.6-pro-ultraspeed",
|
|
2348
|
+
name: "MiMo-V2.6-Pro-UltraSpeed",
|
|
2348
2349
|
provider: "xiaomi",
|
|
2349
2350
|
contextWindow: 1e6,
|
|
2350
2351
|
maxOutputTokens: 131072,
|
|
@@ -2352,9 +2353,9 @@ var MODELS = [
|
|
|
2352
2353
|
supportsImages: true,
|
|
2353
2354
|
supportsVideo: true,
|
|
2354
2355
|
maxVideoBytes: 36 * 1024 * 1024,
|
|
2355
|
-
costTier: "
|
|
2356
|
+
costTier: "high",
|
|
2356
2357
|
maxThinkingLevel: "high",
|
|
2357
|
-
authStorageKeys: [
|
|
2358
|
+
authStorageKeys: [XIAOMI_CREDITS_KEY]
|
|
2358
2359
|
},
|
|
2359
2360
|
// ── DeepSeek ───────────────────────────────────────────
|
|
2360
2361
|
{
|
|
@@ -2490,7 +2491,7 @@ function getVideoByteLimit(modelId) {
|
|
|
2490
2491
|
return model.maxVideoBytes ?? DEFAULT_MAX_VIDEO_BYTES;
|
|
2491
2492
|
}
|
|
2492
2493
|
function getDefaultModel(provider) {
|
|
2493
|
-
if (provider === "xiaomi") return MODELS.find((m) => m.id === "mimo-v2.
|
|
2494
|
+
if (provider === "xiaomi") return MODELS.find((m) => m.id === "mimo-v2.6-pro");
|
|
2494
2495
|
if (provider === "openai") return MODELS.find((m) => m.id === "gpt-5.6-sol");
|
|
2495
2496
|
if (provider === "gemini") return MODELS.find((m) => m.id === "gemini-3.1-flash-lite");
|
|
2496
2497
|
if (provider === "glm") return MODELS.find((m) => m.id === "glm-5.3");
|
|
@@ -2501,7 +2502,7 @@ function getDefaultModel(provider) {
|
|
|
2501
2502
|
return MODELS.find((m) => m.id === "Qwen/Qwen3-Coder-480B-A35B-Instruct");
|
|
2502
2503
|
if (provider === "openrouter") return MODELS.find((m) => m.id === "qwen/qwen3.6-plus");
|
|
2503
2504
|
if (provider === "sakana") return MODELS.find((m) => m.id === "fugu");
|
|
2504
|
-
if (provider === "xai") return MODELS.find((m) => m.id === "grok-4.
|
|
2505
|
+
if (provider === "xai") return MODELS.find((m) => m.id === "grok-4.7");
|
|
2505
2506
|
if (provider === "local") {
|
|
2506
2507
|
return getModelsForProvider("local")[0] ?? PLACEHOLDER_LOCAL_MODEL;
|
|
2507
2508
|
}
|
|
@@ -2613,4 +2614,4 @@ export {
|
|
|
2613
2614
|
getSummaryModel,
|
|
2614
2615
|
getFastModel
|
|
2615
2616
|
};
|
|
2616
|
-
//# sourceMappingURL=chunk-
|
|
2617
|
+
//# sourceMappingURL=chunk-KZ2YPRM7.js.map
|