@hiper2d/ai-agents 0.8.0 → 0.9.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.js +29 -22
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +29 -22
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -894,11 +894,15 @@ var SupportedAiModels = {
|
|
|
894
894
|
temperature: 1,
|
|
895
895
|
tags: ["expensive"]
|
|
896
896
|
},
|
|
897
|
-
// GPT-
|
|
898
|
-
//
|
|
897
|
+
// Sol and Luna moved to GPT-6 on 2026-09-22 (both ids verified against GET /v1/models).
|
|
898
|
+
// GPT-6 ships Astra, Sol and Luna only — there is NO gpt-6-terra, so the Terra slot stays on
|
|
899
|
+
// gpt-5.6-terra, which OpenAI still serves. Both moves are big price cuts: Sol halved
|
|
900
|
+
// ($4/$20 → $2/$10) and Luna halved ($0.20/$1.20 → $0.10/$0.50). Note GPT-6 Sol now
|
|
901
|
+
// undercuts GPT-5.6 Terra ($2/$12) on output at the same input rate, which makes the Terra
|
|
902
|
+
// slot largely redundant — retiring it is a product call, not a catalog one.
|
|
899
903
|
[LLM_CONSTANTS.GPT_SOL]: {
|
|
900
|
-
displayName: "GPT-
|
|
901
|
-
modelApiName: "gpt-
|
|
904
|
+
displayName: "GPT-6 Sol",
|
|
905
|
+
modelApiName: "gpt-6-sol",
|
|
902
906
|
apiKeyName: API_KEY_CONSTANTS.OPENAI,
|
|
903
907
|
hasThinking: true,
|
|
904
908
|
temperature: 1,
|
|
@@ -913,8 +917,8 @@ var SupportedAiModels = {
|
|
|
913
917
|
tags: ["fast", "expensive"]
|
|
914
918
|
},
|
|
915
919
|
[LLM_CONSTANTS.GPT_MINI]: {
|
|
916
|
-
displayName: "GPT-
|
|
917
|
-
modelApiName: "gpt-
|
|
920
|
+
displayName: "GPT-6 Luna",
|
|
921
|
+
modelApiName: "gpt-6-luna",
|
|
918
922
|
apiKeyName: API_KEY_CONSTANTS.OPENAI,
|
|
919
923
|
hasThinking: true,
|
|
920
924
|
temperature: 1,
|
|
@@ -1226,17 +1230,20 @@ var MODEL_PRICING = {
|
|
|
1226
1230
|
extendedContextCacheHitPrice: 2,
|
|
1227
1231
|
extendedContextThresholdTokens: 272e3
|
|
1228
1232
|
},
|
|
1229
|
-
// OpenAI GPT-
|
|
1230
|
-
//
|
|
1231
|
-
// $
|
|
1232
|
-
//
|
|
1233
|
+
// OpenAI GPT-6 Sol and GPT-6 Luna (developers.openai.com/api/docs/pricing, read 2026-09-22),
|
|
1234
|
+
// plus GPT-5.6 Terra, which has no GPT-6 successor and keeps its old rates.
|
|
1235
|
+
// Sol: $2/$10 short, $4/$15 long, cache hits $0.20/$0.40 — half what GPT-5.6 Sol cost.
|
|
1236
|
+
// Luna: $0.10/$0.50 short, $0.20/$0.75 long, cache hits $0.01/$0.02 — also halved.
|
|
1237
|
+
// As with Astra, OpenAI's table doesn't restate the short/long boundary, so we keep the
|
|
1238
|
+
// 272k threshold the 5.6 siblings use. Cache WRITES (Sol $2.50/$5, Luna $0.125/$0.25) are
|
|
1239
|
+
// not modelled: OpenAI caching is automatic and the API only reports hits.
|
|
1233
1240
|
[SupportedAiModels[LLM_CONSTANTS.GPT_SOL].modelApiName]: {
|
|
1234
|
-
inputPrice:
|
|
1235
|
-
outputPrice:
|
|
1236
|
-
cacheHitPrice: 0.
|
|
1237
|
-
extendedContextInputPrice:
|
|
1238
|
-
extendedContextOutputPrice:
|
|
1239
|
-
extendedContextCacheHitPrice: 0.
|
|
1241
|
+
inputPrice: 2,
|
|
1242
|
+
outputPrice: 10,
|
|
1243
|
+
cacheHitPrice: 0.2,
|
|
1244
|
+
extendedContextInputPrice: 4,
|
|
1245
|
+
extendedContextOutputPrice: 15,
|
|
1246
|
+
extendedContextCacheHitPrice: 0.4,
|
|
1240
1247
|
extendedContextThresholdTokens: 272e3
|
|
1241
1248
|
},
|
|
1242
1249
|
[SupportedAiModels[LLM_CONSTANTS.GPT].modelApiName]: {
|
|
@@ -1249,12 +1256,12 @@ var MODEL_PRICING = {
|
|
|
1249
1256
|
extendedContextThresholdTokens: 272e3
|
|
1250
1257
|
},
|
|
1251
1258
|
[SupportedAiModels[LLM_CONSTANTS.GPT_MINI].modelApiName]: {
|
|
1252
|
-
inputPrice: 0.
|
|
1253
|
-
outputPrice:
|
|
1254
|
-
cacheHitPrice: 0.
|
|
1255
|
-
extendedContextInputPrice: 0.
|
|
1256
|
-
extendedContextOutputPrice:
|
|
1257
|
-
extendedContextCacheHitPrice: 0.
|
|
1259
|
+
inputPrice: 0.1,
|
|
1260
|
+
outputPrice: 0.5,
|
|
1261
|
+
cacheHitPrice: 0.01,
|
|
1262
|
+
extendedContextInputPrice: 0.2,
|
|
1263
|
+
extendedContextOutputPrice: 0.75,
|
|
1264
|
+
extendedContextCacheHitPrice: 0.02,
|
|
1258
1265
|
extendedContextThresholdTokens: 272e3
|
|
1259
1266
|
},
|
|
1260
1267
|
// DeepSeek V4 models
|