@kenkaiiii/gg-core 5.104.0 → 5.105.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
@@ -2737,6 +2737,54 @@ var MODELS = [
2737
2737
  authStorageKeys: GEMINI_AUTH_KEYS
2738
2738
  },
2739
2739
  // Keep 3.1 Flash Lite first for the default and fast-model routing.
2740
+ // Gemini 4 (GA Nov 2026, ai.google.dev/gemini-api/docs/changelog): a unified 1M window and
2741
+ // 64K synchronous output. Hydrogen also takes an `xhigh` thinking level; the ladder here
2742
+ // stops at `high` like the other Gemini models.
2743
+ {
2744
+ // The fast everyday model, on the free tier too ($1.50 / $7.50 per 1M paid).
2745
+ id: "gemini-4-hydrogen",
2746
+ name: "Gemini 4 Hydrogen",
2747
+ provider: "gemini",
2748
+ contextWindow: 1048576,
2749
+ maxOutputTokens: 65536,
2750
+ supportsThinking: true,
2751
+ supportsImages: true,
2752
+ supportsVideo: true,
2753
+ maxVideoBytes: 20 * 1024 * 1024,
2754
+ costTier: "medium",
2755
+ maxThinkingLevel: "high",
2756
+ authStorageKeys: GEMINI_AUTH_KEYS
2757
+ },
2758
+ {
2759
+ // Paid tier only ($4 / $20 per 1M from Dec 1, 2026).
2760
+ id: "gemini-4-argon",
2761
+ name: "Gemini 4 Argon",
2762
+ provider: "gemini",
2763
+ contextWindow: 1048576,
2764
+ maxOutputTokens: 65536,
2765
+ supportsThinking: true,
2766
+ supportsImages: true,
2767
+ supportsVideo: true,
2768
+ maxVideoBytes: 20 * 1024 * 1024,
2769
+ costTier: "high",
2770
+ maxThinkingLevel: "high",
2771
+ authStorageKeys: GEMINI_AUTH_KEYS
2772
+ },
2773
+ {
2774
+ // The strongest Gemini 4 reasoning model; paid tier only.
2775
+ id: "gemini-4-carbon",
2776
+ name: "Gemini 4 Carbon",
2777
+ provider: "gemini",
2778
+ contextWindow: 1048576,
2779
+ maxOutputTokens: 65536,
2780
+ supportsThinking: true,
2781
+ supportsImages: true,
2782
+ supportsVideo: true,
2783
+ maxVideoBytes: 20 * 1024 * 1024,
2784
+ costTier: "high",
2785
+ maxThinkingLevel: "high",
2786
+ authStorageKeys: GEMINI_AUTH_KEYS
2787
+ },
2740
2788
  // Gemini 3.7
2741
2789
  // Flash is retired: Google deprecated it on 2026-10-08 and routes every
2742
2790
  // `gemini-3.7-flash` request to 3.8 Flash (ai.google.dev/gemini-api/docs/
@@ -2755,6 +2803,21 @@ var MODELS = [
2755
2803
  maxThinkingLevel: "high",
2756
2804
  authStorageKeys: GEMINI_AUTH_KEYS
2757
2805
  },
2806
+ {
2807
+ // Replaced 3.5 Flash, which Google now routes here (changelog).
2808
+ id: "gemini-3.6-flash",
2809
+ name: "Gemini 3.6 Flash",
2810
+ provider: "gemini",
2811
+ contextWindow: 1048576,
2812
+ maxOutputTokens: 65536,
2813
+ supportsThinking: true,
2814
+ supportsImages: true,
2815
+ supportsVideo: true,
2816
+ maxVideoBytes: 20 * 1024 * 1024,
2817
+ costTier: "low",
2818
+ maxThinkingLevel: "high",
2819
+ authStorageKeys: GEMINI_AUTH_KEYS
2820
+ },
2758
2821
  {
2759
2822
  id: "gemini-3.5-flash-lite",
2760
2823
  name: "Gemini 3.5 Flash Lite",
@@ -4121,7 +4184,7 @@ var ALL_AUTH_PROVIDERS = [
4121
4184
  {
4122
4185
  value: "gemini",
4123
4186
  label: "Gemini",
4124
- description: "Gemini 3.8 Flash, 3.5 Flash Lite, 3.1 Flash Lite, 3.5 Flash, 3.1 Pro (Preview)",
4187
+ description: "Gemini 4 Hydrogen, 4 Argon, 4 Carbon, 3.8 Flash, 3.6 Flash, 3.5 Flash Lite, 3.1 Flash Lite, 3.5 Flash, 3.1 Pro (Preview)",
4125
4188
  methods: ["apikey"],
4126
4189
  apiKeyLabel: "Gemini",
4127
4190
  apiKeyBaseUrl: GEMINI_API_KEY_BASE_URL,