@fleetagent/pi-ai 0.1.2 → 0.1.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.
@@ -8977,13 +8977,13 @@ export const MODELS = {
8977
8977
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "xhigh" },
8978
8978
  input: ["text"],
8979
8979
  cost: {
8980
- input: 0.098,
8981
- output: 0.196,
8980
+ input: 0.09,
8981
+ output: 0.18,
8982
8982
  cacheRead: 0.02,
8983
8983
  cacheWrite: 0,
8984
8984
  },
8985
8985
  contextWindow: 1048576,
8986
- maxTokens: 4096,
8986
+ maxTokens: 65536,
8987
8987
  },
8988
8988
  "deepseek/deepseek-v4-pro": {
8989
8989
  id: "deepseek/deepseek-v4-pro",
@@ -10018,13 +10018,13 @@ export const MODELS = {
10018
10018
  reasoning: true,
10019
10019
  input: ["text", "image"],
10020
10020
  cost: {
10021
- input: 0.95,
10022
- output: 4,
10023
- cacheRead: 0.19,
10021
+ input: 0.75,
10022
+ output: 3.5,
10023
+ cacheRead: 0.16,
10024
10024
  cacheWrite: 0,
10025
10025
  },
10026
10026
  contextWindow: 262144,
10027
- maxTokens: 4096,
10027
+ maxTokens: 262144,
10028
10028
  },
10029
10029
  "nex-agi/nex-n2-pro:free": {
10030
10030
  id: "nex-agi/nex-n2-pro:free",
@@ -16367,6 +16367,24 @@ export const MODELS = {
16367
16367
  contextWindow: 200000,
16368
16368
  maxTokens: 131072,
16369
16369
  },
16370
+ "glm-5.2": {
16371
+ id: "glm-5.2",
16372
+ name: "GLM-5.2",
16373
+ api: "openai-completions",
16374
+ provider: "zai",
16375
+ baseUrl: "https://api.z.ai/api/coding/paas/v4",
16376
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai", "zaiToolStream": true },
16377
+ reasoning: true,
16378
+ input: ["text"],
16379
+ cost: {
16380
+ input: 0,
16381
+ output: 0,
16382
+ cacheRead: 0,
16383
+ cacheWrite: 0,
16384
+ },
16385
+ contextWindow: 1000000,
16386
+ maxTokens: 131072,
16387
+ },
16370
16388
  "glm-5v-turbo": {
16371
16389
  id: "glm-5v-turbo",
16372
16390
  name: "GLM-5V-Turbo",