@kenkaiiii/gg-core 5.96.2 → 5.97.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-J7W5HS6X.js → chunk-2ZTKYSSY.js} +38 -16
- package/dist/{chunk-J7W5HS6X.js.map → chunk-2ZTKYSSY.js.map} +1 -1
- package/dist/index.cjs +39 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/model-registry.cjs +37 -15
- package/dist/model-registry.cjs.map +1 -1
- package/dist/model-registry.d.cts +1 -1
- package/dist/model-registry.d.ts +1 -1
- package/dist/model-registry.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2217,6 +2217,12 @@ var CLAUDE_FAST_BILLING = {
|
|
|
2217
2217
|
paid: true,
|
|
2218
2218
|
standardModel: "claude-opus-5-5"
|
|
2219
2219
|
};
|
|
2220
|
+
var CLAUDE_FABLE_FAST_BILLING = {
|
|
2221
|
+
label: "bills usage credits",
|
|
2222
|
+
detail: "Fast mode bills your Claude usage credits ($16 in / $80 out per million tokens) from the first token, never your plan's included usage.",
|
|
2223
|
+
paid: true,
|
|
2224
|
+
standardModel: "claude-fable-5-2"
|
|
2225
|
+
};
|
|
2220
2226
|
var XIAOMI_ULTRASPEED_BILLING = {
|
|
2221
2227
|
label: "bills API Credits",
|
|
2222
2228
|
detail: "UltraSpeed runs only on your Xiaomi API Credits, billed per token at a higher rate than MiMo-V2.6-Pro, never on the Token Plan.",
|
|
@@ -2232,18 +2238,18 @@ var GEMINI_AUTH_KEYS = [GEMINI_API_KEY];
|
|
|
2232
2238
|
var KIMI_AUTH_KEYS = [KIMI_CODE_KEY, "moonshot"];
|
|
2233
2239
|
var MODELS = [
|
|
2234
2240
|
// ── Anthropic ──────────────────────────────────────────
|
|
2235
|
-
// NOTE: Claude Mythos 5.
|
|
2236
|
-
// out — it's
|
|
2237
|
-
//
|
|
2238
|
-
//
|
|
2241
|
+
// NOTE: Claude Mythos 5.2 (`claude-mythos-5-2`, 2026-11-09) is kept commented
|
|
2242
|
+
// out — it's only for organizations verified through Anthropic's verification
|
|
2243
|
+
// programs and unavailable to most users. Re-enable once it's generally
|
|
2244
|
+
// available.
|
|
2239
2245
|
{
|
|
2240
|
-
// Released 2026-09
|
|
2241
|
-
//
|
|
2242
|
-
// forced tool use
|
|
2243
|
-
// Anthropic path. Fable 5 is retired here — a
|
|
2244
|
-
// saved falls back to the provider default
|
|
2245
|
-
id: "claude-fable-5-
|
|
2246
|
-
name: "Claude Fable 5.
|
|
2246
|
+
// Released 2026-11-09 — replaces Fable 5.1 at $8/$40 MTok (down from
|
|
2247
|
+
// $10/$50; cache reads $0.20). Same API surface as 5.1: always-on adaptive
|
|
2248
|
+
// thinking steered by effort, forced tool use rejected with a 400 (gg-ai
|
|
2249
|
+
// never sends it on the Anthropic path). Fable 5.1 is retired here — a
|
|
2250
|
+
// session that still has it saved falls back to the provider default.
|
|
2251
|
+
id: "claude-fable-5-2",
|
|
2252
|
+
name: "Claude Fable 5.2",
|
|
2247
2253
|
provider: "anthropic",
|
|
2248
2254
|
contextWindow: 1e6,
|
|
2249
2255
|
maxOutputTokens: 128e3,
|
|
@@ -2253,12 +2259,28 @@ var MODELS = [
|
|
|
2253
2259
|
costTier: "high",
|
|
2254
2260
|
maxThinkingLevel: "max"
|
|
2255
2261
|
},
|
|
2262
|
+
{
|
|
2263
|
+
// Fable 5.2 in fast mode: the same model at up to 2.5x output tokens/sec,
|
|
2264
|
+
// $16/$80 MTok. Sent as `claude-fable-5-2` + `speed: "fast"`; on a Claude
|
|
2265
|
+
// subscription it bills usage credits only, like Opus 5.5 Fast.
|
|
2266
|
+
id: "claude-fable-5-2-fast",
|
|
2267
|
+
name: "Claude Fable 5.2 Fast",
|
|
2268
|
+
provider: "anthropic",
|
|
2269
|
+
contextWindow: 1e6,
|
|
2270
|
+
maxOutputTokens: 128e3,
|
|
2271
|
+
supportsThinking: true,
|
|
2272
|
+
supportsImages: true,
|
|
2273
|
+
supportsVideo: false,
|
|
2274
|
+
costTier: "high",
|
|
2275
|
+
maxThinkingLevel: "max",
|
|
2276
|
+
billing: CLAUDE_FABLE_FAST_BILLING
|
|
2277
|
+
},
|
|
2256
2278
|
// {
|
|
2257
2279
|
// // Mythos-class model offered through Project Glasswing (limited
|
|
2258
|
-
// // availability,
|
|
2259
|
-
// //
|
|
2260
|
-
// id: "claude-mythos-5-
|
|
2261
|
-
// name: "Claude Mythos 5.
|
|
2280
|
+
// // availability, verified organizations only). Same specs and pricing as
|
|
2281
|
+
// // Fable 5.2; kept here so approved accounts can select it.
|
|
2282
|
+
// id: "claude-mythos-5-2",
|
|
2283
|
+
// name: "Claude Mythos 5.2",
|
|
2262
2284
|
// provider: "anthropic",
|
|
2263
2285
|
// contextWindow: 1_000_000,
|
|
2264
2286
|
// maxOutputTokens: 128_000,
|
|
@@ -3252,7 +3274,7 @@ function isMiniMaxEffortModel(provider, model) {
|
|
|
3252
3274
|
return provider === "minimax" && model.startsWith("MiniMax-M3.1");
|
|
3253
3275
|
}
|
|
3254
3276
|
function isAnthropicXhighModel(provider, model) {
|
|
3255
|
-
return provider === "anthropic" && /opus-5|opus-4-8|opus-4-7|sonnet-5[-.]5|haiku-5[-.]5/.test(model);
|
|
3277
|
+
return provider === "anthropic" && /fable-5|mythos-5|opus-5|opus-4-8|opus-4-7|sonnet-5[-.]5|haiku-5[-.]5/.test(model);
|
|
3256
3278
|
}
|
|
3257
3279
|
function isAnthropicAdaptiveModel(provider, model) {
|
|
3258
3280
|
return provider === "anthropic" && /opus-5|opus-4-8|opus-4-7|opus-4-6|sonnet-5|haiku-5|fable-5|mythos-5/.test(model);
|
|
@@ -3770,7 +3792,7 @@ var ALL_AUTH_PROVIDERS = [
|
|
|
3770
3792
|
{
|
|
3771
3793
|
value: "anthropic",
|
|
3772
3794
|
label: "Anthropic",
|
|
3773
|
-
description: "Claude Fable 5.
|
|
3795
|
+
description: "Claude Fable 5.2, Fable 5.2 Fast, Opus 5.5, Opus 5.5 Fast, Sonnet 5.5, Haiku 5.5",
|
|
3774
3796
|
methods: ["oauth", "apikey"],
|
|
3775
3797
|
apiKeyLabel: "Anthropic",
|
|
3776
3798
|
methodDetails: {
|