@kenkaiiii/gg-core 5.97.1 → 5.98.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-OVIBOKD4.js → chunk-Q6ZD2VQV.js} +90 -1
- package/dist/{chunk-OVIBOKD4.js.map → chunk-Q6ZD2VQV.js.map} +1 -1
- package/dist/index.cjs +185 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -1
- package/dist/index.d.ts +24 -1
- package/dist/index.js +93 -1
- package/dist/index.js.map +1 -1
- package/dist/model-registry.cjs +89 -0
- package/dist/model-registry.cjs.map +1 -1
- package/dist/model-registry.js +1 -1
- package/package.json +2 -2
package/dist/model-registry.cjs
CHANGED
|
@@ -861,6 +861,93 @@ var MODELS = [
|
|
|
861
861
|
costTier: "medium",
|
|
862
862
|
maxThinkingLevel: "high"
|
|
863
863
|
},
|
|
864
|
+
// ── OpenCode Console (Go subscription, then pay-as-you-go) ────────
|
|
865
|
+
// One Console API key reaches many labs' models through opencode.ai. Ids
|
|
866
|
+
// carry the plan prefix (`opencode-go/kimi-k3`) because the gateway reuses
|
|
867
|
+
// the vendors' own ids; gg-ai strips it at the wire. These rows are only the
|
|
868
|
+
// offline fallback: the desktop app replaces them with each plan's live,
|
|
869
|
+
// public model list (core/opencode-catalog-store.ts). Limits, image input
|
|
870
|
+
// and effort ladders are from GET /inference[/go]/v1/models (2026-11-11);
|
|
871
|
+
// all three speak Chat Completions natively.
|
|
872
|
+
{
|
|
873
|
+
// Go declares `max` as K3's only effort; pay-as-you-go adds low and high.
|
|
874
|
+
id: "opencode-go/kimi-k3",
|
|
875
|
+
name: "Kimi K3",
|
|
876
|
+
provider: "opencode-go",
|
|
877
|
+
contextWindow: 1048576,
|
|
878
|
+
maxOutputTokens: 131072,
|
|
879
|
+
supportsThinking: true,
|
|
880
|
+
supportsImages: true,
|
|
881
|
+
supportsVideo: false,
|
|
882
|
+
costTier: "high",
|
|
883
|
+
maxThinkingLevel: "max",
|
|
884
|
+
thinkingLevels: ["max"]
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
id: "opencode-go/glm-5.3",
|
|
888
|
+
name: "GLM-5.3",
|
|
889
|
+
provider: "opencode-go",
|
|
890
|
+
contextWindow: 1e6,
|
|
891
|
+
maxOutputTokens: 131072,
|
|
892
|
+
supportsThinking: true,
|
|
893
|
+
supportsImages: false,
|
|
894
|
+
supportsVideo: false,
|
|
895
|
+
costTier: "medium",
|
|
896
|
+
maxThinkingLevel: "max",
|
|
897
|
+
thinkingLevels: ["low", "high", "max"]
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
id: "opencode-go/glm-5.3-flash",
|
|
901
|
+
name: "GLM-5.3-Flash",
|
|
902
|
+
provider: "opencode-go",
|
|
903
|
+
contextWindow: 1e6,
|
|
904
|
+
maxOutputTokens: 131072,
|
|
905
|
+
supportsThinking: true,
|
|
906
|
+
supportsImages: true,
|
|
907
|
+
supportsVideo: false,
|
|
908
|
+
costTier: "low",
|
|
909
|
+
maxThinkingLevel: "max",
|
|
910
|
+
thinkingLevels: ["low", "high", "max"]
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
id: "opencode/kimi-k3",
|
|
914
|
+
name: "Kimi K3",
|
|
915
|
+
provider: "opencode",
|
|
916
|
+
contextWindow: 1048576,
|
|
917
|
+
maxOutputTokens: 131072,
|
|
918
|
+
supportsThinking: true,
|
|
919
|
+
supportsImages: true,
|
|
920
|
+
supportsVideo: false,
|
|
921
|
+
costTier: "high",
|
|
922
|
+
maxThinkingLevel: "max",
|
|
923
|
+
thinkingLevels: ["low", "high", "max"]
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
id: "opencode/glm-5.3",
|
|
927
|
+
name: "GLM-5.3",
|
|
928
|
+
provider: "opencode",
|
|
929
|
+
contextWindow: 1e6,
|
|
930
|
+
maxOutputTokens: 131072,
|
|
931
|
+
supportsThinking: true,
|
|
932
|
+
supportsImages: false,
|
|
933
|
+
supportsVideo: false,
|
|
934
|
+
costTier: "medium",
|
|
935
|
+
maxThinkingLevel: "max",
|
|
936
|
+
thinkingLevels: ["low", "high", "max"]
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
id: "opencode/glm-5.3-flash",
|
|
940
|
+
name: "GLM-5.3-Flash",
|
|
941
|
+
provider: "opencode",
|
|
942
|
+
contextWindow: 1e6,
|
|
943
|
+
maxOutputTokens: 131072,
|
|
944
|
+
supportsThinking: true,
|
|
945
|
+
supportsImages: true,
|
|
946
|
+
supportsVideo: false,
|
|
947
|
+
costTier: "low",
|
|
948
|
+
maxThinkingLevel: "max",
|
|
949
|
+
thinkingLevels: ["low", "high", "max"]
|
|
950
|
+
},
|
|
864
951
|
// ── Hugging Face (Inference Providers router) ────────
|
|
865
952
|
// One HF token (hf.co/settings/tokens, "Make calls to Inference Providers"
|
|
866
953
|
// permission) routes to whichever hosted backend serves each open model;
|
|
@@ -1018,6 +1105,8 @@ var DEFAULT_MODEL_IDS = {
|
|
|
1018
1105
|
minimax: "MiniMax-M3.1-Flash",
|
|
1019
1106
|
deepseek: "deepseek-v4-pro",
|
|
1020
1107
|
huggingface: "moonshotai/Kimi-K2.7-Code",
|
|
1108
|
+
opencode: "opencode/kimi-k3",
|
|
1109
|
+
"opencode-go": "opencode-go/kimi-k3",
|
|
1021
1110
|
openrouter: "qwen/qwen3.8-max",
|
|
1022
1111
|
sakana: "fugu",
|
|
1023
1112
|
xai: "grok-4.7"
|