@hyperspaceng/neural-ai 0.70.1 → 0.70.3

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.
Files changed (34) hide show
  1. package/README.md +4 -1
  2. package/dist/env-api-keys.d.ts.map +1 -1
  3. package/dist/env-api-keys.js +1 -0
  4. package/dist/env-api-keys.js.map +1 -1
  5. package/dist/models.d.ts +1 -0
  6. package/dist/models.d.ts.map +1 -1
  7. package/dist/models.generated.d.ts +93 -195
  8. package/dist/models.generated.d.ts.map +1 -1
  9. package/dist/models.generated.js +70 -172
  10. package/dist/models.generated.js.map +1 -1
  11. package/dist/models.js +3 -1
  12. package/dist/models.js.map +1 -1
  13. package/dist/providers/anthropic.d.ts.map +1 -1
  14. package/dist/providers/anthropic.js +7 -4
  15. package/dist/providers/anthropic.js.map +1 -1
  16. package/dist/providers/azure-openai-responses.d.ts.map +1 -1
  17. package/dist/providers/azure-openai-responses.js +7 -4
  18. package/dist/providers/azure-openai-responses.js.map +1 -1
  19. package/dist/providers/openai-codex-responses.d.ts.map +1 -1
  20. package/dist/providers/openai-codex-responses.js +1 -1
  21. package/dist/providers/openai-codex-responses.js.map +1 -1
  22. package/dist/providers/openai-completions.d.ts.map +1 -1
  23. package/dist/providers/openai-completions.js +44 -14
  24. package/dist/providers/openai-completions.js.map +1 -1
  25. package/dist/providers/openai-responses.d.ts.map +1 -1
  26. package/dist/providers/openai-responses.js +7 -4
  27. package/dist/providers/openai-responses.js.map +1 -1
  28. package/dist/providers/simple-options.d.ts.map +1 -1
  29. package/dist/providers/simple-options.js +2 -0
  30. package/dist/providers/simple-options.js.map +1 -1
  31. package/dist/types.d.ts +15 -3
  32. package/dist/types.d.ts.map +1 -1
  33. package/dist/types.js.map +1 -1
  34. package/package.json +1 -1
@@ -2536,8 +2536,8 @@ export const MODELS = {
2536
2536
  cacheRead: 0.5,
2537
2537
  cacheWrite: 0,
2538
2538
  },
2539
- contextWindow: 1050000,
2540
- maxTokens: 130000,
2539
+ contextWindow: 272000,
2540
+ maxTokens: 128000,
2541
2541
  },
2542
2542
  "o1": {
2543
2543
  id: "o1",
@@ -2746,6 +2746,44 @@ export const MODELS = {
2746
2746
  maxTokens: 40000,
2747
2747
  },
2748
2748
  },
2749
+ "deepseek": {
2750
+ "deepseek-v4-flash": {
2751
+ id: "deepseek-v4-flash",
2752
+ name: "DeepSeek V4 Flash",
2753
+ api: "openai-completions",
2754
+ provider: "deepseek",
2755
+ baseUrl: "https://api.deepseek.com",
2756
+ compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek", "reasoningEffortMap": { "minimal": "high", "low": "high", "medium": "high", "high": "high", "xhigh": "max" } },
2757
+ reasoning: true,
2758
+ input: ["text"],
2759
+ cost: {
2760
+ input: 0.14,
2761
+ output: 0.28,
2762
+ cacheRead: 0.028,
2763
+ cacheWrite: 0,
2764
+ },
2765
+ contextWindow: 1000000,
2766
+ maxTokens: 384000,
2767
+ },
2768
+ "deepseek-v4-pro": {
2769
+ id: "deepseek-v4-pro",
2770
+ name: "DeepSeek V4 Pro",
2771
+ api: "openai-completions",
2772
+ provider: "deepseek",
2773
+ baseUrl: "https://api.deepseek.com",
2774
+ compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek", "reasoningEffortMap": { "minimal": "high", "low": "high", "medium": "high", "high": "high", "xhigh": "max" } },
2775
+ reasoning: true,
2776
+ input: ["text"],
2777
+ cost: {
2778
+ input: 1.74,
2779
+ output: 3.48,
2780
+ cacheRead: 0.145,
2781
+ cacheWrite: 0,
2782
+ },
2783
+ contextWindow: 1000000,
2784
+ maxTokens: 384000,
2785
+ },
2786
+ },
2749
2787
  "fireworks": {
2750
2788
  "accounts/fireworks/models/deepseek-v3p1": {
2751
2789
  id: "accounts/fireworks/models/deepseek-v3p1",
@@ -3496,6 +3534,24 @@ export const MODELS = {
3496
3534
  contextWindow: 400000,
3497
3535
  maxTokens: 128000,
3498
3536
  },
3537
+ "gpt-5.5": {
3538
+ id: "gpt-5.5",
3539
+ name: "GPT-5.5",
3540
+ api: "openai-responses",
3541
+ provider: "github-copilot",
3542
+ baseUrl: "https://api.individual.githubcopilot.com",
3543
+ headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
3544
+ reasoning: true,
3545
+ input: ["text", "image"],
3546
+ cost: {
3547
+ input: 0,
3548
+ output: 0,
3549
+ cacheRead: 0,
3550
+ cacheWrite: 0,
3551
+ },
3552
+ contextWindow: 400000,
3553
+ maxTokens: 128000,
3554
+ },
3499
3555
  "grok-code-fast-1": {
3500
3556
  id: "grok-code-fast-1",
3501
3557
  name: "Grok Code Fast 1",
@@ -6295,8 +6351,8 @@ export const MODELS = {
6295
6351
  cacheRead: 0.5,
6296
6352
  cacheWrite: 0,
6297
6353
  },
6298
- contextWindow: 1050000,
6299
- maxTokens: 130000,
6354
+ contextWindow: 272000,
6355
+ maxTokens: 128000,
6300
6356
  },
6301
6357
  "o1": {
6302
6358
  id: "o1",
@@ -6603,7 +6659,7 @@ export const MODELS = {
6603
6659
  cacheRead: 0.5,
6604
6660
  cacheWrite: 0,
6605
6661
  },
6606
- contextWindow: 400000,
6662
+ contextWindow: 272000,
6607
6663
  maxTokens: 128000,
6608
6664
  },
6609
6665
  },
@@ -7296,6 +7352,7 @@ export const MODELS = {
7296
7352
  api: "openai-completions",
7297
7353
  provider: "opencode-go",
7298
7354
  baseUrl: "https://opencode.ai/zen/go/v1",
7355
+ compat: { "requiresReasoningContentOnAssistantMessages": true },
7299
7356
  reasoning: true,
7300
7357
  input: ["text"],
7301
7358
  cost: {
@@ -7313,6 +7370,7 @@ export const MODELS = {
7313
7370
  api: "openai-completions",
7314
7371
  provider: "opencode-go",
7315
7372
  baseUrl: "https://opencode.ai/zen/go/v1",
7373
+ compat: { "requiresReasoningContentOnAssistantMessages": true },
7316
7374
  reasoning: true,
7317
7375
  input: ["text"],
7318
7376
  cost: {
@@ -8267,6 +8325,7 @@ export const MODELS = {
8267
8325
  api: "openai-completions",
8268
8326
  provider: "openrouter",
8269
8327
  baseUrl: "https://openrouter.ai/api/v1",
8328
+ compat: { "requiresReasoningContentOnAssistantMessages": true },
8270
8329
  reasoning: true,
8271
8330
  input: ["text"],
8272
8331
  cost: {
@@ -8284,12 +8343,13 @@ export const MODELS = {
8284
8343
  api: "openai-completions",
8285
8344
  provider: "openrouter",
8286
8345
  baseUrl: "https://openrouter.ai/api/v1",
8346
+ compat: { "requiresReasoningContentOnAssistantMessages": true },
8287
8347
  reasoning: true,
8288
8348
  input: ["text"],
8289
8349
  cost: {
8290
- input: 1.74,
8291
- output: 3.48,
8292
- cacheRead: 0.145,
8350
+ input: 0.435,
8351
+ output: 0.87,
8352
+ cacheRead: 0.03625,
8293
8353
  cacheWrite: 0,
8294
8354
  },
8295
8355
  contextWindow: 1048576,
@@ -10821,8 +10881,8 @@ export const MODELS = {
10821
10881
  input: ["text"],
10822
10882
  cost: {
10823
10883
  input: 0.22,
10824
- output: 1,
10825
- cacheRead: 0.022,
10884
+ output: 1.7999999999999998,
10885
+ cacheRead: 0,
10826
10886
  cacheWrite: 0,
10827
10887
  },
10828
10888
  contextWindow: 262144,
@@ -15050,24 +15110,6 @@ export const MODELS = {
15050
15110
  },
15051
15111
  },
15052
15112
  "zai": {
15053
- "glm-4.5": {
15054
- id: "glm-4.5",
15055
- name: "GLM-4.5",
15056
- api: "openai-completions",
15057
- provider: "zai",
15058
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
15059
- compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
15060
- reasoning: true,
15061
- input: ["text"],
15062
- cost: {
15063
- input: 0,
15064
- output: 0,
15065
- cacheRead: 0,
15066
- cacheWrite: 0,
15067
- },
15068
- contextWindow: 131072,
15069
- maxTokens: 98304,
15070
- },
15071
15113
  "glm-4.5-air": {
15072
15114
  id: "glm-4.5-air",
15073
15115
  name: "GLM-4.5-Air",
@@ -15086,78 +15128,6 @@ export const MODELS = {
15086
15128
  contextWindow: 131072,
15087
15129
  maxTokens: 98304,
15088
15130
  },
15089
- "glm-4.5-flash": {
15090
- id: "glm-4.5-flash",
15091
- name: "GLM-4.5-Flash",
15092
- api: "openai-completions",
15093
- provider: "zai",
15094
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
15095
- compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
15096
- reasoning: true,
15097
- input: ["text"],
15098
- cost: {
15099
- input: 0,
15100
- output: 0,
15101
- cacheRead: 0,
15102
- cacheWrite: 0,
15103
- },
15104
- contextWindow: 131072,
15105
- maxTokens: 98304,
15106
- },
15107
- "glm-4.5v": {
15108
- id: "glm-4.5v",
15109
- name: "GLM-4.5V",
15110
- api: "openai-completions",
15111
- provider: "zai",
15112
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
15113
- compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
15114
- reasoning: true,
15115
- input: ["text", "image"],
15116
- cost: {
15117
- input: 0,
15118
- output: 0,
15119
- cacheRead: 0,
15120
- cacheWrite: 0,
15121
- },
15122
- contextWindow: 64000,
15123
- maxTokens: 16384,
15124
- },
15125
- "glm-4.6": {
15126
- id: "glm-4.6",
15127
- name: "GLM-4.6",
15128
- api: "openai-completions",
15129
- provider: "zai",
15130
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
15131
- compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai", "zaiToolStream": true },
15132
- reasoning: true,
15133
- input: ["text"],
15134
- cost: {
15135
- input: 0,
15136
- output: 0,
15137
- cacheRead: 0,
15138
- cacheWrite: 0,
15139
- },
15140
- contextWindow: 204800,
15141
- maxTokens: 131072,
15142
- },
15143
- "glm-4.6v": {
15144
- id: "glm-4.6v",
15145
- name: "GLM-4.6V",
15146
- api: "openai-completions",
15147
- provider: "zai",
15148
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
15149
- compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai", "zaiToolStream": true },
15150
- reasoning: true,
15151
- input: ["text", "image"],
15152
- cost: {
15153
- input: 0,
15154
- output: 0,
15155
- cacheRead: 0,
15156
- cacheWrite: 0,
15157
- },
15158
- contextWindow: 128000,
15159
- maxTokens: 32768,
15160
- },
15161
15131
  "glm-4.7": {
15162
15132
  id: "glm-4.7",
15163
15133
  name: "GLM-4.7",
@@ -15176,60 +15146,6 @@ export const MODELS = {
15176
15146
  contextWindow: 204800,
15177
15147
  maxTokens: 131072,
15178
15148
  },
15179
- "glm-4.7-flash": {
15180
- id: "glm-4.7-flash",
15181
- name: "GLM-4.7-Flash",
15182
- api: "openai-completions",
15183
- provider: "zai",
15184
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
15185
- compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai", "zaiToolStream": true },
15186
- reasoning: true,
15187
- input: ["text"],
15188
- cost: {
15189
- input: 0,
15190
- output: 0,
15191
- cacheRead: 0,
15192
- cacheWrite: 0,
15193
- },
15194
- contextWindow: 200000,
15195
- maxTokens: 131072,
15196
- },
15197
- "glm-4.7-flashx": {
15198
- id: "glm-4.7-flashx",
15199
- name: "GLM-4.7-FlashX",
15200
- api: "openai-completions",
15201
- provider: "zai",
15202
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
15203
- compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai", "zaiToolStream": true },
15204
- reasoning: true,
15205
- input: ["text"],
15206
- cost: {
15207
- input: 0.07,
15208
- output: 0.4,
15209
- cacheRead: 0.01,
15210
- cacheWrite: 0,
15211
- },
15212
- contextWindow: 200000,
15213
- maxTokens: 131072,
15214
- },
15215
- "glm-5": {
15216
- id: "glm-5",
15217
- name: "GLM-5",
15218
- api: "openai-completions",
15219
- provider: "zai",
15220
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
15221
- compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai", "zaiToolStream": true },
15222
- reasoning: true,
15223
- input: ["text"],
15224
- cost: {
15225
- input: 0,
15226
- output: 0,
15227
- cacheRead: 0,
15228
- cacheWrite: 0,
15229
- },
15230
- contextWindow: 204800,
15231
- maxTokens: 131072,
15232
- },
15233
15149
  "glm-5-turbo": {
15234
15150
  id: "glm-5-turbo",
15235
15151
  name: "GLM-5-Turbo",
@@ -15266,24 +15182,6 @@ export const MODELS = {
15266
15182
  contextWindow: 200000,
15267
15183
  maxTokens: 131072,
15268
15184
  },
15269
- "glm-5v-turbo": {
15270
- id: "glm-5v-turbo",
15271
- name: "glm-5v-turbo",
15272
- api: "openai-completions",
15273
- provider: "zai",
15274
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
15275
- compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai", "zaiToolStream": true },
15276
- reasoning: true,
15277
- input: ["text", "image"],
15278
- cost: {
15279
- input: 0,
15280
- output: 0,
15281
- cacheRead: 0,
15282
- cacheWrite: 0,
15283
- },
15284
- contextWindow: 200000,
15285
- maxTokens: 131072,
15286
- },
15287
15185
  },
15288
15186
  };
15289
15187
  //# sourceMappingURL=models.generated.js.map