@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 +1 -1
- package/src/providers/models.ts +27 -8
package/package.json
CHANGED
package/src/providers/models.ts
CHANGED
|
@@ -47,14 +47,33 @@ export const SYNTHETIC_MODELS: SyntheticModelConfig[] = [
|
|
|
47
47
|
},
|
|
48
48
|
input: ["text"],
|
|
49
49
|
cost: {
|
|
50
|
-
input: 0.
|
|
50
|
+
input: 0.45,
|
|
51
51
|
output: 2.19,
|
|
52
|
-
cacheRead: 0.
|
|
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.
|
|
225
|
-
output: 3,
|
|
226
|
-
cacheRead: 0.
|
|
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.
|
|
244
|
-
output: 3,
|
|
245
|
-
cacheRead: 0.
|
|
262
|
+
input: 0.45,
|
|
263
|
+
output: 3.4,
|
|
264
|
+
cacheRead: 0.45,
|
|
246
265
|
cacheWrite: 0,
|
|
247
266
|
},
|
|
248
267
|
contextWindow: 262144,
|