@aliou/pi-synthetic 0.8.2 → 0.8.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aliou/pi-synthetic",
3
- "version": "0.8.2",
3
+ "version": "0.8.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "private": false,
@@ -47,14 +47,33 @@ export const SYNTHETIC_MODELS: SyntheticModelConfig[] = [
47
47
  },
48
48
  input: ["text"],
49
49
  cost: {
50
- input: 0.55,
50
+ input: 0.45,
51
51
  output: 2.19,
52
- cacheRead: 0.55,
52
+ cacheRead: 0.45,
53
53
  cacheWrite: 0,
54
54
  },
55
55
  contextWindow: 202752,
56
56
  maxTokens: 65536,
57
57
  },
58
+ // API: hf:zai-org/GLM-5 → ctx=196608, out=65536
59
+ {
60
+ id: "hf:zai-org/GLM-5",
61
+ name: "zai-org/GLM-5",
62
+ reasoning: true,
63
+ compat: {
64
+ supportsReasoningEffort: true,
65
+ reasoningEffortMap: SYNTHETIC_REASONING_EFFORT_MAP,
66
+ },
67
+ input: ["text"],
68
+ cost: {
69
+ input: 1,
70
+ output: 6,
71
+ cacheRead: 1,
72
+ cacheWrite: 0,
73
+ },
74
+ contextWindow: 196608,
75
+ maxTokens: 65536,
76
+ },
58
77
  // API: hf:zai-org/GLM-4.7-Flash → ctx=196608
59
78
  {
60
79
  id: "hf:zai-org/GLM-4.7-Flash",
@@ -221,9 +240,9 @@ export const SYNTHETIC_MODELS: SyntheticModelConfig[] = [
221
240
  },
222
241
  input: ["text", "image"],
223
242
  cost: {
224
- input: 0.6,
225
- output: 3,
226
- cacheRead: 0.6,
243
+ input: 0.45,
244
+ output: 3.4,
245
+ cacheRead: 0.45,
227
246
  cacheWrite: 0,
228
247
  },
229
248
  contextWindow: 262144,
@@ -240,9 +259,9 @@ export const SYNTHETIC_MODELS: SyntheticModelConfig[] = [
240
259
  },
241
260
  input: ["text", "image"],
242
261
  cost: {
243
- input: 0.6,
244
- output: 3,
245
- cacheRead: 0.6,
262
+ input: 0.45,
263
+ output: 3.4,
264
+ cacheRead: 0.45,
246
265
  cacheWrite: 0,
247
266
  },
248
267
  contextWindow: 262144,