@mariozechner/pi-ai 0.58.3 → 0.58.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.
@@ -9345,9 +9345,9 @@ export const MODELS = {
9345
9345
  reasoning: false,
9346
9346
  input: ["text"],
9347
9347
  cost: {
9348
- input: 0.39999999999999997,
9349
- output: 1.2,
9350
- cacheRead: 0.08,
9348
+ input: 0.26,
9349
+ output: 0.78,
9350
+ cacheRead: 0.052000000000000005,
9351
9351
  cacheWrite: 0,
9352
9352
  },
9353
9353
  contextWindow: 1000000,
@@ -9413,8 +9413,8 @@ export const MODELS = {
9413
9413
  reasoning: false,
9414
9414
  input: ["text", "image"],
9415
9415
  cost: {
9416
- input: 0.7999999999999999,
9417
- output: 3.1999999999999997,
9416
+ input: 0.52,
9417
+ output: 2.08,
9418
9418
  cacheRead: 0,
9419
9419
  cacheWrite: 0,
9420
9420
  },
@@ -9702,9 +9702,9 @@ export const MODELS = {
9702
9702
  reasoning: false,
9703
9703
  input: ["text"],
9704
9704
  cost: {
9705
- input: 1.2,
9706
- output: 6,
9707
- cacheRead: 0.24,
9705
+ input: 0.78,
9706
+ output: 3.9,
9707
+ cacheRead: 0.156,
9708
9708
  cacheWrite: 0,
9709
9709
  },
9710
9710
  contextWindow: 262144,
@@ -9991,8 +9991,8 @@ export const MODELS = {
9991
9991
  reasoning: true,
9992
9992
  input: ["text", "image"],
9993
9993
  cost: {
9994
- input: 0.09999999999999999,
9995
- output: 0.39999999999999997,
9994
+ input: 0.065,
9995
+ output: 0.26,
9996
9996
  cacheRead: 0,
9997
9997
  cacheWrite: 0,
9998
9998
  },
@@ -13010,6 +13010,23 @@ export const MODELS = {
13010
13010
  contextWindow: 202800,
13011
13011
  maxTokens: 131100,
13012
13012
  },
13013
+ "zai/glm-5-turbo": {
13014
+ id: "zai/glm-5-turbo",
13015
+ name: "GLM 5 Turbo",
13016
+ api: "anthropic-messages",
13017
+ provider: "vercel-ai-gateway",
13018
+ baseUrl: "https://ai-gateway.vercel.sh",
13019
+ reasoning: true,
13020
+ input: ["text"],
13021
+ cost: {
13022
+ input: 1.2,
13023
+ output: 4,
13024
+ cacheRead: 0.24,
13025
+ cacheWrite: 0,
13026
+ },
13027
+ contextWindow: 202800,
13028
+ maxTokens: 131100,
13029
+ },
13013
13030
  },
13014
13031
  "xai": {
13015
13032
  "grok-2": {
@@ -13601,6 +13618,24 @@ export const MODELS = {
13601
13618
  contextWindow: 204800,
13602
13619
  maxTokens: 131072,
13603
13620
  },
13621
+ "glm-5-turbo": {
13622
+ id: "glm-5-turbo",
13623
+ name: "GLM-5-Turbo",
13624
+ api: "openai-completions",
13625
+ provider: "zai",
13626
+ baseUrl: "https://api.z.ai/api/coding/paas/v4",
13627
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13628
+ reasoning: true,
13629
+ input: ["text"],
13630
+ cost: {
13631
+ input: 1.2,
13632
+ output: 4,
13633
+ cacheRead: 0.24,
13634
+ cacheWrite: 0,
13635
+ },
13636
+ contextWindow: 200000,
13637
+ maxTokens: 131072,
13638
+ },
13604
13639
  },
13605
13640
  };
13606
13641
  //# sourceMappingURL=models.generated.js.map