@aliou/pi-synthetic 0.10.0 → 0.10.1

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.10.0",
3
+ "version": "0.10.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "private": false,
@@ -36,7 +36,7 @@ const SYNTHETIC_REASONING_EFFORT_MAP = {
36
36
  } as const;
37
37
 
38
38
  export const SYNTHETIC_MODELS: SyntheticModelConfig[] = [
39
- // API: hf:zai-org/GLM-4.7 → ctx=202752, out=65536
39
+ // API: hf:zai-org/GLM-4.7 → ctx=202752, multimodal
40
40
  {
41
41
  id: "hf:zai-org/GLM-4.7",
42
42
  name: "zai-org/GLM-4.7",
@@ -45,11 +45,11 @@ export const SYNTHETIC_MODELS: SyntheticModelConfig[] = [
45
45
  supportsReasoningEffort: true,
46
46
  reasoningEffortMap: SYNTHETIC_REASONING_EFFORT_MAP,
47
47
  },
48
- input: ["text"],
48
+ input: ["text", "image"],
49
49
  cost: {
50
- input: 0.45,
50
+ input: 2.19,
51
51
  output: 2.19,
52
- cacheRead: 0.45,
52
+ cacheRead: 2.19,
53
53
  cacheWrite: 0,
54
54
  },
55
55
  contextWindow: 202752,
@@ -74,6 +74,26 @@ export const SYNTHETIC_MODELS: SyntheticModelConfig[] = [
74
74
  contextWindow: 196608,
75
75
  maxTokens: 65536,
76
76
  },
77
+ // API: hf:zai-org/GLM-5.1 → ctx=196608, out=65536
78
+ {
79
+ id: "hf:zai-org/GLM-5.1",
80
+ name: "zai-org/GLM-5.1",
81
+ reasoning: true,
82
+ compat: {
83
+ supportsReasoningEffort: true,
84
+ reasoningEffortMap: SYNTHETIC_REASONING_EFFORT_MAP,
85
+ supportsDeveloperRole: false,
86
+ },
87
+ input: ["text"],
88
+ cost: {
89
+ input: 1,
90
+ output: 3,
91
+ cacheRead: 1,
92
+ cacheWrite: 0,
93
+ },
94
+ contextWindow: 196608,
95
+ maxTokens: 65536,
96
+ },
77
97
  // API: hf:zai-org/GLM-4.7-Flash → ctx=196608
78
98
  {
79
99
  id: "hf:zai-org/GLM-4.7-Flash",