visual-ai-assertions 0.22.0 → 0.23.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.cts CHANGED
@@ -79,6 +79,7 @@ declare const Model: {
79
79
  readonly QWEN_3_8_MAX: "qwen/qwen3.8-max";
80
80
  readonly QWEN_3_7_PLUS: "qwen/qwen3.7-plus";
81
81
  readonly QWEN_3_6_FLASH: "qwen/qwen3.6-flash";
82
+ readonly GLM_5_3_FLASH: "z-ai/glm-5.3-flash";
82
83
  };
83
84
  };
84
85
  /** Union of all built-in model name literals exposed by `Model`. */
package/dist/index.d.ts CHANGED
@@ -79,6 +79,7 @@ declare const Model: {
79
79
  readonly QWEN_3_8_MAX: "qwen/qwen3.8-max";
80
80
  readonly QWEN_3_7_PLUS: "qwen/qwen3.7-plus";
81
81
  readonly QWEN_3_6_FLASH: "qwen/qwen3.6-flash";
82
+ readonly GLM_5_3_FLASH: "z-ai/glm-5.3-flash";
82
83
  };
83
84
  };
84
85
  /** Union of all built-in model name literals exposed by `Model`. */
package/dist/index.js CHANGED
@@ -66,7 +66,8 @@ var Model = {
66
66
  KIMI_K2_7_CODE: "moonshotai/kimi-k2.7-code",
67
67
  QWEN_3_8_MAX: "qwen/qwen3.8-max",
68
68
  QWEN_3_7_PLUS: "qwen/qwen3.7-plus",
69
- QWEN_3_6_FLASH: "qwen/qwen3.6-flash"
69
+ QWEN_3_6_FLASH: "qwen/qwen3.6-flash",
70
+ GLM_5_3_FLASH: "z-ai/glm-5.3-flash"
70
71
  }
71
72
  };
72
73
  var DEFAULT_MODELS = {
@@ -1318,6 +1319,12 @@ var PRICING_TABLE = {
1318
1319
  [`${Provider.OPENROUTER}:${Model.OpenRouter.QWEN_3_6_FLASH}`]: {
1319
1320
  inputPricePerToken: 0.1875 / PER_MILLION,
1320
1321
  outputPricePerToken: 1.125 / PER_MILLION
1322
+ },
1323
+ // Verified 2026-09-10 against https://openrouter.ai/api/v1/models. Cached
1324
+ // input is $0.03/MTok, not modelled (no provider gets a cache discount here).
1325
+ [`${Provider.OPENROUTER}:${Model.OpenRouter.GLM_5_3_FLASH}`]: {
1326
+ inputPricePerToken: 0.15 / PER_MILLION,
1327
+ outputPricePerToken: 0.5 / PER_MILLION
1321
1328
  }
1322
1329
  };
1323
1330
  function calculateCost(provider, model, inputTokens, outputTokens) {