@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 CHANGED
@@ -1065,11 +1065,15 @@ var SupportedAiModels = {
1065
1065
  temperature: 1,
1066
1066
  tags: ["expensive"]
1067
1067
  },
1068
- // GPT-5.6 family (promoted July 2026 when the limited preview opened up):
1069
- // sol is the flagship, terra the mainline, luna the cheap tier.
1068
+ // Sol and Luna moved to GPT-6 on 2026-09-22 (both ids verified against GET /v1/models).
1069
+ // GPT-6 ships Astra, Sol and Luna only — there is NO gpt-6-terra, so the Terra slot stays on
1070
+ // gpt-5.6-terra, which OpenAI still serves. Both moves are big price cuts: Sol halved
1071
+ // ($4/$20 → $2/$10) and Luna halved ($0.20/$1.20 → $0.10/$0.50). Note GPT-6 Sol now
1072
+ // undercuts GPT-5.6 Terra ($2/$12) on output at the same input rate, which makes the Terra
1073
+ // slot largely redundant — retiring it is a product call, not a catalog one.
1070
1074
  [LLM_CONSTANTS.GPT_SOL]: {
1071
- displayName: "GPT-5.6 Sol",
1072
- modelApiName: "gpt-5.6-sol",
1075
+ displayName: "GPT-6 Sol",
1076
+ modelApiName: "gpt-6-sol",
1073
1077
  apiKeyName: API_KEY_CONSTANTS.OPENAI,
1074
1078
  hasThinking: true,
1075
1079
  temperature: 1,
@@ -1084,8 +1088,8 @@ var SupportedAiModels = {
1084
1088
  tags: ["fast", "expensive"]
1085
1089
  },
1086
1090
  [LLM_CONSTANTS.GPT_MINI]: {
1087
- displayName: "GPT-5.6 Luna",
1088
- modelApiName: "gpt-5.6-luna",
1091
+ displayName: "GPT-6 Luna",
1092
+ modelApiName: "gpt-6-luna",
1089
1093
  apiKeyName: API_KEY_CONSTANTS.OPENAI,
1090
1094
  hasThinking: true,
1091
1095
  temperature: 1,
@@ -1397,17 +1401,20 @@ var MODEL_PRICING = {
1397
1401
  extendedContextCacheHitPrice: 2,
1398
1402
  extendedContextThresholdTokens: 272e3
1399
1403
  },
1400
- // OpenAI GPT-5.6 models
1401
- // Sol repriced 2026-08-30 (developers.openai.com/api/docs/pricing): $4/$20 short context,
1402
- // $8/$30 past the long-context threshold — the same 272k boundary its siblings use.
1403
- // Cache writes ($5/$10) are not modelled; OpenAI caching is automatic and we only see hits.
1404
+ // OpenAI GPT-6 Sol and GPT-6 Luna (developers.openai.com/api/docs/pricing, read 2026-09-22),
1405
+ // plus GPT-5.6 Terra, which has no GPT-6 successor and keeps its old rates.
1406
+ // Sol: $2/$10 short, $4/$15 long, cache hits $0.20/$0.40 — half what GPT-5.6 Sol cost.
1407
+ // Luna: $0.10/$0.50 short, $0.20/$0.75 long, cache hits $0.01/$0.02 — also halved.
1408
+ // As with Astra, OpenAI's table doesn't restate the short/long boundary, so we keep the
1409
+ // 272k threshold the 5.6 siblings use. Cache WRITES (Sol $2.50/$5, Luna $0.125/$0.25) are
1410
+ // not modelled: OpenAI caching is automatic and the API only reports hits.
1404
1411
  [SupportedAiModels[LLM_CONSTANTS.GPT_SOL].modelApiName]: {
1405
- inputPrice: 4,
1406
- outputPrice: 20,
1407
- cacheHitPrice: 0.4,
1408
- extendedContextInputPrice: 8,
1409
- extendedContextOutputPrice: 30,
1410
- extendedContextCacheHitPrice: 0.8,
1412
+ inputPrice: 2,
1413
+ outputPrice: 10,
1414
+ cacheHitPrice: 0.2,
1415
+ extendedContextInputPrice: 4,
1416
+ extendedContextOutputPrice: 15,
1417
+ extendedContextCacheHitPrice: 0.4,
1411
1418
  extendedContextThresholdTokens: 272e3
1412
1419
  },
1413
1420
  [SupportedAiModels[LLM_CONSTANTS.GPT].modelApiName]: {
@@ -1420,12 +1427,12 @@ var MODEL_PRICING = {
1420
1427
  extendedContextThresholdTokens: 272e3
1421
1428
  },
1422
1429
  [SupportedAiModels[LLM_CONSTANTS.GPT_MINI].modelApiName]: {
1423
- inputPrice: 0.2,
1424
- outputPrice: 1.2,
1425
- cacheHitPrice: 0.02,
1426
- extendedContextInputPrice: 0.4,
1427
- extendedContextOutputPrice: 1.8,
1428
- extendedContextCacheHitPrice: 0.04,
1430
+ inputPrice: 0.1,
1431
+ outputPrice: 0.5,
1432
+ cacheHitPrice: 0.01,
1433
+ extendedContextInputPrice: 0.2,
1434
+ extendedContextOutputPrice: 0.75,
1435
+ extendedContextCacheHitPrice: 0.02,
1429
1436
  extendedContextThresholdTokens: 272e3
1430
1437
  },
1431
1438
  // DeepSeek V4 models