@aliou/pi-synthetic 0.20.1 → 0.21.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aliou/pi-synthetic",
3
- "version": "0.20.1",
3
+ "version": "0.21.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "private": false,
@@ -45,11 +45,11 @@ export const SYNTHETIC_MODELS: SyntheticModelEntry[] = [
45
45
  name: "syn:small:text",
46
46
  aliasFor: "hf:zai-org/GLM-4.7-Flash",
47
47
  },
48
- // API: syn:large:vision → alias for hf:moonshotai/Kimi-K2.6
48
+ // API: syn:large:vision → alias for hf:moonshotai/Kimi-K2.7-Code
49
49
  {
50
50
  id: "syn:large:vision",
51
51
  name: "syn:large:vision",
52
- aliasFor: "hf:moonshotai/Kimi-K2.6",
52
+ aliasFor: "hf:moonshotai/Kimi-K2.7-Code",
53
53
  },
54
54
  // API: syn:small:vision → alias for hf:Qwen/Qwen3.6-27B
55
55
  {
@@ -57,33 +57,6 @@ export const SYNTHETIC_MODELS: SyntheticModelEntry[] = [
57
57
  name: "syn:small:vision",
58
58
  aliasFor: "hf:Qwen/Qwen3.6-27B",
59
59
  },
60
- // API: hf:zai-org/GLM-4.7 → ctx=202752
61
- {
62
- id: "hf:zai-org/GLM-4.7",
63
- name: "zai-org/GLM-4.7",
64
- provider: "synthetic",
65
- reasoning: true,
66
- thinkingLevelMap: {
67
- off: "none",
68
- minimal: null,
69
- low: null,
70
- medium: "medium",
71
- high: null,
72
- xhigh: null,
73
- },
74
- compat: {
75
- supportsReasoningEffort: true,
76
- },
77
- input: ["text"],
78
- cost: {
79
- input: 0.45,
80
- output: 2.19,
81
- cacheRead: 0.45,
82
- cacheWrite: 0,
83
- },
84
- contextWindow: 202752,
85
- maxTokens: 65536,
86
- },
87
60
  // API: hf:zai-org/GLM-5.1 → ctx=196608, out=65536
88
61
  {
89
62
  id: "hf:zai-org/GLM-5.1",
@@ -177,11 +150,11 @@ export const SYNTHETIC_MODELS: SyntheticModelEntry[] = [
177
150
  contextWindow: 196608,
178
151
  maxTokens: 65536,
179
152
  },
180
- // models.dev: synthetic/hf:openai/gpt-oss-120b → ctx=128000, out=32768
153
+ // API: hf:openai/gpt-oss-120b → ctx=131072, out=65536
181
154
  {
182
155
  id: "hf:openai/gpt-oss-120b",
183
156
  name: "openai/gpt-oss-120b",
184
- provider: "fireworks",
157
+ provider: "synthetic",
185
158
  reasoning: true,
186
159
  input: ["text"],
187
160
  cost: {
@@ -191,16 +164,16 @@ export const SYNTHETIC_MODELS: SyntheticModelEntry[] = [
191
164
  cacheWrite: 0,
192
165
  },
193
166
  contextWindow: 131072,
194
- maxTokens: 32768,
167
+ maxTokens: 65536,
195
168
  },
196
- // API: hf:moonshotai/Kimi-K2.6 → ctx=262144, out=65536
169
+ // API: hf:moonshotai/Kimi-K2.7-Code → ctx=262144, out=65536
197
170
  {
198
- id: "hf:moonshotai/Kimi-K2.6",
199
- name: "moonshotai/Kimi-K2.6",
171
+ id: "hf:moonshotai/Kimi-K2.7-Code",
172
+ name: "moonshotai/Kimi-K2.7-Code",
200
173
  provider: "synthetic",
201
174
  reasoning: true,
202
175
  thinkingLevelMap: {
203
- off: "none",
176
+ off: null,
204
177
  minimal: null,
205
178
  low: null,
206
179
  medium: "medium",
@@ -220,11 +193,11 @@ export const SYNTHETIC_MODELS: SyntheticModelEntry[] = [
220
193
  contextWindow: 262144,
221
194
  maxTokens: 65536,
222
195
  },
223
- // API: hf:Qwen/Qwen3.5-397B-A17B → ctx=262144, out=65536
196
+ // API: hf:moonshotai/Kimi-K2.6 → ctx=262144, out=65536
224
197
  {
225
- id: "hf:Qwen/Qwen3.5-397B-A17B",
226
- name: "Qwen/Qwen3.5-397B-A17B",
227
- provider: "together",
198
+ id: "hf:moonshotai/Kimi-K2.6",
199
+ name: "moonshotai/Kimi-K2.6",
200
+ provider: "synthetic",
228
201
  reasoning: true,
229
202
  thinkingLevelMap: {
230
203
  off: "none",
@@ -239,9 +212,9 @@ export const SYNTHETIC_MODELS: SyntheticModelEntry[] = [
239
212
  },
240
213
  input: ["text", "image"],
241
214
  cost: {
242
- input: 0.6,
243
- output: 3.6,
244
- cacheRead: 0.6,
215
+ input: 0.95,
216
+ output: 4,
217
+ cacheRead: 0.95,
245
218
  cacheWrite: 0,
246
219
  },
247
220
  contextWindow: 262144,