@kenkaiiii/gg-core 5.96.1 → 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.
@@ -132,6 +132,12 @@ var CLAUDE_FAST_BILLING = {
132
132
  paid: true,
133
133
  standardModel: "claude-opus-5-5"
134
134
  };
135
+ var CLAUDE_FABLE_FAST_BILLING = {
136
+ label: "bills usage credits",
137
+ 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.",
138
+ paid: true,
139
+ standardModel: "claude-fable-5-2"
140
+ };
135
141
  var XIAOMI_ULTRASPEED_BILLING = {
136
142
  label: "bills API Credits",
137
143
  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.",
@@ -147,18 +153,18 @@ var GEMINI_AUTH_KEYS = [GEMINI_API_KEY];
147
153
  var KIMI_AUTH_KEYS = [KIMI_CODE_KEY, "moonshot"];
148
154
  var MODELS = [
149
155
  // ── Anthropic ──────────────────────────────────────────
150
- // NOTE: Claude Mythos 5.1 (`claude-mythos-5-1`, 2026-09-01) is kept commented
151
- // out — it's a Project Glasswing model, still "Active (invite only)" in
152
- // Anthropic's docs and unavailable to most users. Re-enable once it's
153
- // generally available.
156
+ // NOTE: Claude Mythos 5.2 (`claude-mythos-5-2`, 2026-11-09) is kept commented
157
+ // out — it's only for organizations verified through Anthropic's verification
158
+ // programs and unavailable to most users. Re-enable once it's generally
159
+ // available.
154
160
  {
155
- // Released 2026-09-01 — replaces Fable 5 at the same $10/$50 MTok (cache
156
- // reads drop to $0.25). Always-on adaptive thinking steered by effort;
157
- // forced tool use is rejected with a 400, which gg-ai never sends on the
158
- // Anthropic path. Fable 5 is retired here — a session that still has it
159
- // saved falls back to the provider default on next start.
160
- id: "claude-fable-5-1",
161
- name: "Claude Fable 5.1",
161
+ // Released 2026-11-09 — replaces Fable 5.1 at $8/$40 MTok (down from
162
+ // $10/$50; cache reads $0.20). Same API surface as 5.1: always-on adaptive
163
+ // thinking steered by effort, forced tool use rejected with a 400 (gg-ai
164
+ // never sends it on the Anthropic path). Fable 5.1 is retired here — a
165
+ // session that still has it saved falls back to the provider default.
166
+ id: "claude-fable-5-2",
167
+ name: "Claude Fable 5.2",
162
168
  provider: "anthropic",
163
169
  contextWindow: 1e6,
164
170
  maxOutputTokens: 128e3,
@@ -168,12 +174,28 @@ var MODELS = [
168
174
  costTier: "high",
169
175
  maxThinkingLevel: "max"
170
176
  },
177
+ {
178
+ // Fable 5.2 in fast mode: the same model at up to 2.5x output tokens/sec,
179
+ // $16/$80 MTok. Sent as `claude-fable-5-2` + `speed: "fast"`; on a Claude
180
+ // subscription it bills usage credits only, like Opus 5.5 Fast.
181
+ id: "claude-fable-5-2-fast",
182
+ name: "Claude Fable 5.2 Fast",
183
+ provider: "anthropic",
184
+ contextWindow: 1e6,
185
+ maxOutputTokens: 128e3,
186
+ supportsThinking: true,
187
+ supportsImages: true,
188
+ supportsVideo: false,
189
+ costTier: "high",
190
+ maxThinkingLevel: "max",
191
+ billing: CLAUDE_FABLE_FAST_BILLING
192
+ },
171
193
  // {
172
194
  // // Mythos-class model offered through Project Glasswing (limited
173
- // // availability, invitation-only). Same underlying model as Fable 5.1 with
174
- // // some safeguards lifted; kept here so approved accounts can select it.
175
- // id: "claude-mythos-5-1",
176
- // name: "Claude Mythos 5.1",
195
+ // // availability, verified organizations only). Same specs and pricing as
196
+ // // Fable 5.2; kept here so approved accounts can select it.
197
+ // id: "claude-mythos-5-2",
198
+ // name: "Claude Mythos 5.2",
177
199
  // provider: "anthropic",
178
200
  // contextWindow: 1_000_000,
179
201
  // maxOutputTokens: 128_000,