@kenkaiiii/gg-core 5.61.0 → 5.62.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-ZVBMFKDR.js} +48 -52
- package/dist/chunk-ZVBMFKDR.js.map +1 -0
- package/dist/index.cjs +47 -51
- 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 +49 -53
- package/dist/model-registry.cjs.map +1 -1
- package/dist/model-registry.d.cts +6 -6
- package/dist/model-registry.d.ts +6 -6
- package/dist/model-registry.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-QZ4423EL.js.map +0 -1
|
@@ -2082,16 +2082,21 @@ var MODELS = [
|
|
|
2082
2082
|
maxThinkingLevel: "max"
|
|
2083
2083
|
},
|
|
2084
2084
|
// ── xAI (Grok) ─────────────────────────────────────────
|
|
2085
|
-
// Grok 4.
|
|
2086
|
-
// and knowledge work,
|
|
2087
|
-
//
|
|
2088
|
-
//
|
|
2085
|
+
// Grok 4.7 (released 2026-09-21) — xAI's flagship for coding, agentic tasks,
|
|
2086
|
+
// and knowledge work: a new, larger base model with a longer RL run weighted
|
|
2087
|
+
// toward hours-long tasks, plus stronger self-verification and long-context
|
|
2088
|
+
// management. 500K context, text+image input, and a `reasoning_effort`
|
|
2089
|
+
// ladder of low/medium/high default/xhigh (reasoning still can't be fully
|
|
2089
2090
|
// 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
|
-
//
|
|
2091
|
+
// and it's the default model of the Grok Build coding agent. xAI advertises
|
|
2092
|
+
// "no fixed text output limit"; we keep the 131K practical cap for budget
|
|
2093
|
+
// predictability and input headroom. (A faster "Grok 4.7 Fast" variant
|
|
2094
|
+
// exists but is Cursor/Grok Build-only — not on the public API — so it isn't
|
|
2095
|
+
// registered.) Only the newest Grok ships — 4.6/4.5 are superseded and
|
|
2096
|
+
// retired; saved sessions on them fall back to this default.
|
|
2092
2097
|
{
|
|
2093
|
-
id: "grok-4.
|
|
2094
|
-
name: "Grok 4.
|
|
2098
|
+
id: "grok-4.7",
|
|
2099
|
+
name: "Grok 4.7",
|
|
2095
2100
|
provider: "xai",
|
|
2096
2101
|
contextWindow: 5e5,
|
|
2097
2102
|
maxOutputTokens: 131072,
|
|
@@ -2101,24 +2106,6 @@ var MODELS = [
|
|
|
2101
2106
|
costTier: "medium",
|
|
2102
2107
|
maxThinkingLevel: "xhigh"
|
|
2103
2108
|
},
|
|
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
2109
|
// ── Gemini ─────────────────────────────────────────
|
|
2123
2110
|
{
|
|
2124
2111
|
id: "gemini-3.1-flash-lite",
|
|
@@ -2307,44 +2294,53 @@ var MODELS = [
|
|
|
2307
2294
|
maxThinkingLevel: "high"
|
|
2308
2295
|
},
|
|
2309
2296
|
// ── Xiaomi (MiMo) ──────────────────────────────────────
|
|
2310
|
-
//
|
|
2311
|
-
//
|
|
2297
|
+
// MiMo-V2.6 series (released 2026-09-22, open-weight: Pro 1.02T/42B-A,
|
|
2298
|
+
// Flash 309B/15B-A, plus a 9B Qwen distill not served over the API). Every
|
|
2299
|
+
// V2.6 text model is natively full-modal (image + audio + video
|
|
2300
|
+
// understanding), so the whole series takes image/video input over the same
|
|
2301
|
+
// OpenAI-compatible base64 transport the old omni model used. API prices are
|
|
2302
|
+
// unchanged from V2.5. The V2.5 ids (`mimo-v2.5-pro`/`mimo-v2.5`) deprecate
|
|
2303
|
+
// on the platform 2026-10-21 and are retired here — saved sessions fall back
|
|
2304
|
+
// to the provider default on next start.
|
|
2312
2305
|
{
|
|
2313
|
-
|
|
2314
|
-
|
|
2306
|
+
// Coding/agentic flagship — highest open-weight score on Artificial
|
|
2307
|
+
// Analysis at launch (46, tied with Grok 4.7).
|
|
2308
|
+
id: "mimo-v2.6-pro",
|
|
2309
|
+
name: "MiMo-V2.6-Pro",
|
|
2315
2310
|
provider: "xiaomi",
|
|
2316
2311
|
contextWindow: 1e6,
|
|
2317
2312
|
maxOutputTokens: 131072,
|
|
2318
2313
|
supportsThinking: true,
|
|
2319
|
-
supportsImages:
|
|
2320
|
-
supportsVideo:
|
|
2314
|
+
supportsImages: true,
|
|
2315
|
+
supportsVideo: true,
|
|
2316
|
+
maxVideoBytes: 36 * 1024 * 1024,
|
|
2321
2317
|
costTier: "medium",
|
|
2322
2318
|
maxThinkingLevel: "high",
|
|
2323
2319
|
authStorageKeys: ["xiaomi", XIAOMI_CREDITS_KEY]
|
|
2324
2320
|
},
|
|
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
2321
|
{
|
|
2330
|
-
|
|
2331
|
-
|
|
2322
|
+
// Low-cost full-modal sibling (~10% of Pro's price class) — the provider's
|
|
2323
|
+
// `low` tier, so scout sub-agents and fast routing land here.
|
|
2324
|
+
id: "mimo-v2.6-flash",
|
|
2325
|
+
name: "MiMo-V2.6-Flash",
|
|
2332
2326
|
provider: "xiaomi",
|
|
2333
2327
|
contextWindow: 1e6,
|
|
2334
2328
|
maxOutputTokens: 131072,
|
|
2335
2329
|
supportsThinking: true,
|
|
2336
|
-
supportsImages:
|
|
2337
|
-
supportsVideo:
|
|
2338
|
-
|
|
2330
|
+
supportsImages: true,
|
|
2331
|
+
supportsVideo: true,
|
|
2332
|
+
maxVideoBytes: 36 * 1024 * 1024,
|
|
2333
|
+
costTier: "low",
|
|
2339
2334
|
maxThinkingLevel: "high",
|
|
2340
|
-
authStorageKeys: [XIAOMI_CREDITS_KEY]
|
|
2335
|
+
authStorageKeys: ["xiaomi", XIAOMI_CREDITS_KEY]
|
|
2341
2336
|
},
|
|
2342
|
-
//
|
|
2343
|
-
//
|
|
2344
|
-
//
|
|
2337
|
+
// UltraSpeed: lower-latency sibling of the Pro flagship, same full-modal
|
|
2338
|
+
// capability surface, premium-priced for the throughput gain. API-only —
|
|
2339
|
+
// not served over the Token Plan endpoint, so credentials resolve from the
|
|
2340
|
+
// distinct API Credits key only (see authStorageKeys doc).
|
|
2345
2341
|
{
|
|
2346
|
-
id: "mimo-v2.
|
|
2347
|
-
name: "MiMo-V2.
|
|
2342
|
+
id: "mimo-v2.6-pro-ultraspeed",
|
|
2343
|
+
name: "MiMo-V2.6-Pro-UltraSpeed",
|
|
2348
2344
|
provider: "xiaomi",
|
|
2349
2345
|
contextWindow: 1e6,
|
|
2350
2346
|
maxOutputTokens: 131072,
|
|
@@ -2352,9 +2348,9 @@ var MODELS = [
|
|
|
2352
2348
|
supportsImages: true,
|
|
2353
2349
|
supportsVideo: true,
|
|
2354
2350
|
maxVideoBytes: 36 * 1024 * 1024,
|
|
2355
|
-
costTier: "
|
|
2351
|
+
costTier: "high",
|
|
2356
2352
|
maxThinkingLevel: "high",
|
|
2357
|
-
authStorageKeys: [
|
|
2353
|
+
authStorageKeys: [XIAOMI_CREDITS_KEY]
|
|
2358
2354
|
},
|
|
2359
2355
|
// ── DeepSeek ───────────────────────────────────────────
|
|
2360
2356
|
{
|
|
@@ -2490,7 +2486,7 @@ function getVideoByteLimit(modelId) {
|
|
|
2490
2486
|
return model.maxVideoBytes ?? DEFAULT_MAX_VIDEO_BYTES;
|
|
2491
2487
|
}
|
|
2492
2488
|
function getDefaultModel(provider) {
|
|
2493
|
-
if (provider === "xiaomi") return MODELS.find((m) => m.id === "mimo-v2.
|
|
2489
|
+
if (provider === "xiaomi") return MODELS.find((m) => m.id === "mimo-v2.6-pro");
|
|
2494
2490
|
if (provider === "openai") return MODELS.find((m) => m.id === "gpt-5.6-sol");
|
|
2495
2491
|
if (provider === "gemini") return MODELS.find((m) => m.id === "gemini-3.1-flash-lite");
|
|
2496
2492
|
if (provider === "glm") return MODELS.find((m) => m.id === "glm-5.3");
|
|
@@ -2501,7 +2497,7 @@ function getDefaultModel(provider) {
|
|
|
2501
2497
|
return MODELS.find((m) => m.id === "Qwen/Qwen3-Coder-480B-A35B-Instruct");
|
|
2502
2498
|
if (provider === "openrouter") return MODELS.find((m) => m.id === "qwen/qwen3.6-plus");
|
|
2503
2499
|
if (provider === "sakana") return MODELS.find((m) => m.id === "fugu");
|
|
2504
|
-
if (provider === "xai") return MODELS.find((m) => m.id === "grok-4.
|
|
2500
|
+
if (provider === "xai") return MODELS.find((m) => m.id === "grok-4.7");
|
|
2505
2501
|
if (provider === "local") {
|
|
2506
2502
|
return getModelsForProvider("local")[0] ?? PLACEHOLDER_LOCAL_MODEL;
|
|
2507
2503
|
}
|
|
@@ -2613,4 +2609,4 @@ export {
|
|
|
2613
2609
|
getSummaryModel,
|
|
2614
2610
|
getFastModel
|
|
2615
2611
|
};
|
|
2616
|
-
//# sourceMappingURL=chunk-
|
|
2612
|
+
//# sourceMappingURL=chunk-ZVBMFKDR.js.map
|