@hiper2d/ai-agents 0.34.1 → 0.35.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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +25 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1046,14 +1046,27 @@ var SupportedAiModels = {
|
|
|
1046
1046
|
tags: ["expensive"]
|
|
1047
1047
|
},
|
|
1048
1048
|
[LLM_CONSTANTS.GEMINI_FLASH]: {
|
|
1049
|
-
// Repointed 3.6 → 3.7 (2026-08-13) → 3.8 (2026-09-02)
|
|
1050
|
-
//
|
|
1051
|
-
//
|
|
1052
|
-
|
|
1053
|
-
|
|
1049
|
+
// Repointed 3.6 → 3.7 (2026-08-13) → 3.8 (2026-09-02) → Gemini 4 Hydrogen (2026-11-12);
|
|
1050
|
+
// stable picker id, same pattern as gpt — the slot keeps the name `gemini-flash` although
|
|
1051
|
+
// Google dropped "Flash" from the model's name. Id verified against GET /v1beta/models
|
|
1052
|
+
// (1M in / 65K out). Accepts low|medium|high, rejects 'minimal' (400, probed — as did
|
|
1053
|
+
// 3.7 and 3.8 Flash).
|
|
1054
|
+
// Pinned 'low' (3.8 Flash ran 'medium'): Hydrogen is twice the price and thinks about
|
|
1055
|
+
// twice as much per level. Werewolf day-2 vote fixture, 3 runs a level, 2026-11-12:
|
|
1056
|
+
// Hydrogen low 3.4-3.9s 211-263 thinking tokens 0.58-0.60¢
|
|
1057
|
+
// Hydrogen medium 5.4-6.7s 528-761 0.81-0.98¢
|
|
1058
|
+
// Hydrogen high 6.4-7.8s 839-1175 1.03-1.29¢
|
|
1059
|
+
// 3.8 Flash medium 5.1-7.1s 203-315 0.29-0.34¢
|
|
1060
|
+
// 3.8 Flash low 2.1-2.3s 0 0.21¢
|
|
1061
|
+
// So 'low' is the level that thinks as much as the model it replaces did, a little
|
|
1062
|
+
// faster, at twice the cost instead of three times; every run named the same vote target
|
|
1063
|
+
// with a reason as specific. No `temperature` (see the Pro note). No speed tag until it
|
|
1064
|
+
// has 100+ production turns (3.8 Flash had none: p50 9.9s).
|
|
1065
|
+
displayName: "Gemini 4 Hydrogen",
|
|
1066
|
+
modelApiName: "gemini-4-hydrogen",
|
|
1054
1067
|
apiKeyName: API_KEY_CONSTANTS.GOOGLE,
|
|
1055
1068
|
hasThinking: true,
|
|
1056
|
-
reasoningEffort: "
|
|
1069
|
+
reasoningEffort: "low"
|
|
1057
1070
|
},
|
|
1058
1071
|
[LLM_CONSTANTS.GEMINI_LITE]: {
|
|
1059
1072
|
displayName: "Gemini 3.5 Flash Lite",
|
|
@@ -1561,13 +1574,12 @@ var MODEL_PRICING = {
|
|
|
1561
1574
|
extendedContextThresholdTokens: 2e5
|
|
1562
1575
|
},
|
|
1563
1576
|
[SupportedAiModels[LLM_CONSTANTS.GEMINI_FLASH].modelApiName]: {
|
|
1564
|
-
//
|
|
1565
|
-
//
|
|
1566
|
-
//
|
|
1567
|
-
//
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
outputPrice: 3.75,
|
|
1577
|
+
// Gemini 4 Hydrogen (ai.google.dev pricing page, Standard tier, read 2026-11-12): one
|
|
1578
|
+
// flat tier, twice the input and output rates of the 3.8 Flash it replaced
|
|
1579
|
+
// ($0.75 / $3.75) with the same $0.075 cached rate (5% of input, as on Argon). Implicit
|
|
1580
|
+
// caching only — explicit caching is not supported, so there is no storage cost.
|
|
1581
|
+
inputPrice: 1.5,
|
|
1582
|
+
outputPrice: 7.5,
|
|
1571
1583
|
cacheHitPrice: 0.075
|
|
1572
1584
|
},
|
|
1573
1585
|
[SupportedAiModels[LLM_CONSTANTS.GEMINI_LITE].modelApiName]: {
|