@mariozechner/pi-ai 0.56.3 → 0.57.1

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 (44) hide show
  1. package/dist/models.generated.d.ts +17 -0
  2. package/dist/models.generated.d.ts.map +1 -1
  3. package/dist/models.generated.js +37 -20
  4. package/dist/models.generated.js.map +1 -1
  5. package/dist/providers/amazon-bedrock.d.ts.map +1 -1
  6. package/dist/providers/amazon-bedrock.js +5 -2
  7. package/dist/providers/amazon-bedrock.js.map +1 -1
  8. package/dist/providers/anthropic.d.ts.map +1 -1
  9. package/dist/providers/anthropic.js +5 -2
  10. package/dist/providers/anthropic.js.map +1 -1
  11. package/dist/providers/azure-openai-responses.d.ts.map +1 -1
  12. package/dist/providers/azure-openai-responses.js +5 -2
  13. package/dist/providers/azure-openai-responses.js.map +1 -1
  14. package/dist/providers/google-gemini-cli.d.ts.map +1 -1
  15. package/dist/providers/google-gemini-cli.js +5 -2
  16. package/dist/providers/google-gemini-cli.js.map +1 -1
  17. package/dist/providers/google-vertex.d.ts.map +1 -1
  18. package/dist/providers/google-vertex.js +5 -2
  19. package/dist/providers/google-vertex.js.map +1 -1
  20. package/dist/providers/google.d.ts.map +1 -1
  21. package/dist/providers/google.js +5 -2
  22. package/dist/providers/google.js.map +1 -1
  23. package/dist/providers/mistral.d.ts.map +1 -1
  24. package/dist/providers/mistral.js +5 -2
  25. package/dist/providers/mistral.js.map +1 -1
  26. package/dist/providers/openai-codex-responses.d.ts.map +1 -1
  27. package/dist/providers/openai-codex-responses.js +5 -2
  28. package/dist/providers/openai-codex-responses.js.map +1 -1
  29. package/dist/providers/openai-completions.d.ts.map +1 -1
  30. package/dist/providers/openai-completions.js +5 -2
  31. package/dist/providers/openai-completions.js.map +1 -1
  32. package/dist/providers/openai-responses.d.ts.map +1 -1
  33. package/dist/providers/openai-responses.js +5 -2
  34. package/dist/providers/openai-responses.js.map +1 -1
  35. package/dist/providers/register-builtins.d.ts +3 -2
  36. package/dist/providers/register-builtins.d.ts.map +1 -1
  37. package/dist/providers/register-builtins.js.map +1 -1
  38. package/dist/types.d.ts +3 -2
  39. package/dist/types.d.ts.map +1 -1
  40. package/dist/types.js.map +1 -1
  41. package/dist/utils/overflow.d.ts.map +1 -1
  42. package/dist/utils/overflow.js +1 -0
  43. package/dist/utils/overflow.js.map +1 -1
  44. package/package.json +1 -1
@@ -3247,9 +3247,9 @@ export const MODELS = {
3247
3247
  reasoning: true,
3248
3248
  input: ["text", "image"],
3249
3249
  cost: {
3250
- input: 0,
3251
- output: 0,
3252
- cacheRead: 0,
3250
+ input: 0.5,
3251
+ output: 3,
3252
+ cacheRead: 0.05,
3253
3253
  cacheWrite: 0,
3254
3254
  },
3255
3255
  contextWindow: 1048576,
@@ -4585,7 +4585,7 @@ export const MODELS = {
4585
4585
  "mistral": {
4586
4586
  "codestral-latest": {
4587
4587
  id: "codestral-latest",
4588
- name: "Codestral",
4588
+ name: "Codestral (latest)",
4589
4589
  api: "mistral-conversations",
4590
4590
  provider: "mistral",
4591
4591
  baseUrl: "https://api.mistral.ai",
@@ -4636,7 +4636,7 @@ export const MODELS = {
4636
4636
  },
4637
4637
  "devstral-medium-latest": {
4638
4638
  id: "devstral-medium-latest",
4639
- name: "Devstral 2",
4639
+ name: "Devstral 2 (latest)",
4640
4640
  api: "mistral-conversations",
4641
4641
  provider: "mistral",
4642
4642
  baseUrl: "https://api.mistral.ai",
@@ -4704,7 +4704,7 @@ export const MODELS = {
4704
4704
  },
4705
4705
  "magistral-medium-latest": {
4706
4706
  id: "magistral-medium-latest",
4707
- name: "Magistral Medium",
4707
+ name: "Magistral Medium (latest)",
4708
4708
  api: "mistral-conversations",
4709
4709
  provider: "mistral",
4710
4710
  baseUrl: "https://api.mistral.ai",
@@ -4738,7 +4738,7 @@ export const MODELS = {
4738
4738
  },
4739
4739
  "ministral-3b-latest": {
4740
4740
  id: "ministral-3b-latest",
4741
- name: "Ministral 3B",
4741
+ name: "Ministral 3B (latest)",
4742
4742
  api: "mistral-conversations",
4743
4743
  provider: "mistral",
4744
4744
  baseUrl: "https://api.mistral.ai",
@@ -4755,7 +4755,7 @@ export const MODELS = {
4755
4755
  },
4756
4756
  "ministral-8b-latest": {
4757
4757
  id: "ministral-8b-latest",
4758
- name: "Ministral 8B",
4758
+ name: "Ministral 8B (latest)",
4759
4759
  api: "mistral-conversations",
4760
4760
  provider: "mistral",
4761
4761
  baseUrl: "https://api.mistral.ai",
@@ -4806,7 +4806,7 @@ export const MODELS = {
4806
4806
  },
4807
4807
  "mistral-large-latest": {
4808
4808
  id: "mistral-large-latest",
4809
- name: "Mistral Large",
4809
+ name: "Mistral Large (latest)",
4810
4810
  api: "mistral-conversations",
4811
4811
  provider: "mistral",
4812
4812
  baseUrl: "https://api.mistral.ai",
@@ -4857,7 +4857,7 @@ export const MODELS = {
4857
4857
  },
4858
4858
  "mistral-medium-latest": {
4859
4859
  id: "mistral-medium-latest",
4860
- name: "Mistral Medium",
4860
+ name: "Mistral Medium (latest)",
4861
4861
  api: "mistral-conversations",
4862
4862
  provider: "mistral",
4863
4863
  baseUrl: "https://api.mistral.ai",
@@ -4908,7 +4908,7 @@ export const MODELS = {
4908
4908
  },
4909
4909
  "mistral-small-latest": {
4910
4910
  id: "mistral-small-latest",
4911
- name: "Mistral Small",
4911
+ name: "Mistral Small (latest)",
4912
4912
  api: "mistral-conversations",
4913
4913
  provider: "mistral",
4914
4914
  baseUrl: "https://api.mistral.ai",
@@ -4993,7 +4993,7 @@ export const MODELS = {
4993
4993
  },
4994
4994
  "pixtral-large-latest": {
4995
4995
  id: "pixtral-large-latest",
4996
- name: "Pixtral Large",
4996
+ name: "Pixtral Large (latest)",
4997
4997
  api: "mistral-conversations",
4998
4998
  provider: "mistral",
4999
4999
  baseUrl: "https://api.mistral.ai",
@@ -7630,7 +7630,7 @@ export const MODELS = {
7630
7630
  cost: {
7631
7631
  input: 0.27,
7632
7632
  output: 0.95,
7633
- cacheRead: 0.0299999997,
7633
+ cacheRead: 0.0290000007,
7634
7634
  cacheWrite: 0,
7635
7635
  },
7636
7636
  contextWindow: 196608,
@@ -11480,6 +11480,23 @@ export const MODELS = {
11480
11480
  contextWindow: 204800,
11481
11481
  maxTokens: 131000,
11482
11482
  },
11483
+ "minimax/minimax-m2.5-highspeed": {
11484
+ id: "minimax/minimax-m2.5-highspeed",
11485
+ name: "MiniMax M2.5 High Speed",
11486
+ api: "anthropic-messages",
11487
+ provider: "vercel-ai-gateway",
11488
+ baseUrl: "https://ai-gateway.vercel.sh",
11489
+ reasoning: true,
11490
+ input: ["text"],
11491
+ cost: {
11492
+ input: 0.6,
11493
+ output: 2.4,
11494
+ cacheRead: 0.03,
11495
+ cacheWrite: 0.375,
11496
+ },
11497
+ contextWindow: 4096,
11498
+ maxTokens: 4096,
11499
+ },
11483
11500
  "mistral/codestral": {
11484
11501
  id: "mistral/codestral",
11485
11502
  name: "Mistral Codestral",
@@ -12191,7 +12208,7 @@ export const MODELS = {
12191
12208
  cacheRead: 0.25,
12192
12209
  cacheWrite: 0,
12193
12210
  },
12194
- contextWindow: 1050000,
12211
+ contextWindow: 200000,
12195
12212
  maxTokens: 128000,
12196
12213
  },
12197
12214
  "openai/gpt-5.4-pro": {
@@ -12208,7 +12225,7 @@ export const MODELS = {
12208
12225
  cacheRead: 0,
12209
12226
  cacheWrite: 0,
12210
12227
  },
12211
- contextWindow: 1050000,
12228
+ contextWindow: 200000,
12212
12229
  maxTokens: 128000,
12213
12230
  },
12214
12231
  "openai/gpt-oss-120b": {
@@ -12791,20 +12808,20 @@ export const MODELS = {
12791
12808
  },
12792
12809
  "zai/glm-5": {
12793
12810
  id: "zai/glm-5",
12794
- name: "GLM-5",
12811
+ name: "GLM 5",
12795
12812
  api: "anthropic-messages",
12796
12813
  provider: "vercel-ai-gateway",
12797
12814
  baseUrl: "https://ai-gateway.vercel.sh",
12798
12815
  reasoning: true,
12799
12816
  input: ["text"],
12800
12817
  cost: {
12801
- input: 1,
12802
- output: 3.1999999999999997,
12803
- cacheRead: 0.19999999999999998,
12818
+ input: 0.7999999999999999,
12819
+ output: 2.56,
12820
+ cacheRead: 0.16,
12804
12821
  cacheWrite: 0,
12805
12822
  },
12806
12823
  contextWindow: 202800,
12807
- maxTokens: 131072,
12824
+ maxTokens: 131100,
12808
12825
  },
12809
12826
  },
12810
12827
  "xai": {