@rulvar/openai 1.248.0 → 1.249.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.
Files changed (2) hide show
  1. package/dist/index.js +12 -7
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -40,7 +40,12 @@ const GPT_56_TIERS = [{
40
40
  * price cut on Terra (0.8x across input, cached input, cache write,
41
41
  * and output) and Luna (0.2x across the same four) that the
42
42
  * thirteenth-experiment live audit caught as drift (RV911). Sol's
43
- * rates are unchanged and additionally remain billing-CONFIRMED by the
43
+ * row was re-verified '2026-08-23': the fresh-classification dispatch
44
+ * of the plan-44 release caught the provider's Sol price cut on the
45
+ * documented page (input 5 to 4, output 30 to 20, cache read 0.5 to
46
+ * 0.4, cache write 6.25 to 5), and the correction ships as this
47
+ * release's own changeset per the audit's doctrine. Sol's PREVIOUS
48
+ * rates additionally remain billing-CONFIRMED by the
44
49
  * 2026-07-30 twelfth-experiment statement reconciliation, which
45
50
  * matched all eight per-model per-component dashboard categories to
46
51
  * the cent; the new Terra and Luna rates are docs-verified only, and
@@ -57,12 +62,12 @@ const GPT_56_TIERS = [{
57
62
  * keep the conservative downmap until verified the same way.
58
63
  */
59
64
  const GPT_56_SOL = responses(105e4, 128e3, {
60
- inputUsdPerMTok: 5,
61
- outputUsdPerMTok: 30,
62
- cacheReadUsdPerMTok: .5,
63
- cacheWriteUsdPerMTok: 6.25,
65
+ inputUsdPerMTok: 4,
66
+ outputUsdPerMTok: 20,
67
+ cacheReadUsdPerMTok: .4,
68
+ cacheWriteUsdPerMTok: 5,
64
69
  tiers: GPT_56_TIERS,
65
- ratesVerifiedAt: "2026-07-31"
70
+ ratesVerifiedAt: "2026-08-23"
66
71
  }, { wireMaxEffort: true });
67
72
  /** Static seed table of the current model set. */
68
73
  const OPENAI_MODELS = {
@@ -128,7 +133,7 @@ const OPENAI_MODELS = {
128
133
  * silent reinterpretation.
129
134
  */
130
135
  const OPENAI_PRICING = {
131
- pricingVersion: "openai-2026-07-31",
136
+ pricingVersion: "openai-2026-08-23",
132
137
  models: (() => {
133
138
  const models = {};
134
139
  for (const [name, info] of Object.entries(OPENAI_MODELS)) if (info.caps.pricing !== void 0) models[`openai:${name}`] = info.caps.pricing;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rulvar/openai",
3
- "version": "1.248.0",
3
+ "version": "1.249.0",
4
4
  "description": "Rulvar first-class provider adapter for the OpenAI Responses API, plus the openaiCompatible factory.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -23,13 +23,13 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "openai": "^6.49.0",
26
- "@rulvar/core": "1.248.0"
26
+ "@rulvar/core": "1.249.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^22.20.1",
30
30
  "tsdown": "^0.22.14",
31
31
  "typescript": "~6.0.3",
32
- "@rulvar/testing": "1.248.0"
32
+ "@rulvar/testing": "1.249.0"
33
33
  },
34
34
  "repository": {
35
35
  "type": "git",