@mariozechner/pi-ai 0.27.0 → 0.27.2

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.
@@ -2871,6 +2871,40 @@ export const MODELS = {
2871
2871
  },
2872
2872
  },
2873
2873
  "openrouter": {
2874
+ "minimax/minimax-m2.1": {
2875
+ id: "minimax/minimax-m2.1",
2876
+ name: "MiniMax: MiniMax M2.1",
2877
+ api: "openai-completions",
2878
+ provider: "openrouter",
2879
+ baseUrl: "https://openrouter.ai/api/v1",
2880
+ reasoning: true,
2881
+ input: ["text"],
2882
+ cost: {
2883
+ input: 0.3,
2884
+ output: 1.2,
2885
+ cacheRead: 0,
2886
+ cacheWrite: 0,
2887
+ },
2888
+ contextWindow: 204800,
2889
+ maxTokens: 131072,
2890
+ },
2891
+ "z-ai/glm-4.7": {
2892
+ id: "z-ai/glm-4.7",
2893
+ name: "Z.AI: GLM 4.7",
2894
+ api: "openai-completions",
2895
+ provider: "openrouter",
2896
+ baseUrl: "https://openrouter.ai/api/v1",
2897
+ reasoning: true,
2898
+ input: ["text"],
2899
+ cost: {
2900
+ input: 0.44,
2901
+ output: 1.74,
2902
+ cacheRead: 0,
2903
+ cacheWrite: 0,
2904
+ },
2905
+ contextWindow: 202752,
2906
+ maxTokens: 131072,
2907
+ },
2874
2908
  "google/gemini-3-flash-preview": {
2875
2909
  id: "google/gemini-3-flash-preview",
2876
2910
  name: "Google: Gemini 3 Flash Preview",
@@ -2954,7 +2988,7 @@ export const MODELS = {
2954
2988
  cacheWrite: 0,
2955
2989
  },
2956
2990
  contextWindow: 262144,
2957
- maxTokens: 4096,
2991
+ maxTokens: 262144,
2958
2992
  },
2959
2993
  "openai/gpt-5.2-chat": {
2960
2994
  id: "openai/gpt-5.2-chat",
@@ -3237,13 +3271,13 @@ export const MODELS = {
3237
3271
  reasoning: true,
3238
3272
  input: ["text"],
3239
3273
  cost: {
3240
- input: 0.23900000000000002,
3241
- output: 0.378,
3242
- cacheRead: 0.11,
3274
+ input: 0.26,
3275
+ output: 0.38,
3276
+ cacheRead: 0,
3243
3277
  cacheWrite: 0,
3244
3278
  },
3245
3279
  contextWindow: 163840,
3246
- maxTokens: 163840,
3280
+ maxTokens: 65536,
3247
3281
  },
3248
3282
  "prime-intellect/intellect-3": {
3249
3283
  id: "prime-intellect/intellect-3",
@@ -6178,13 +6212,13 @@ export const MODELS = {
6178
6212
  reasoning: false,
6179
6213
  input: ["text"],
6180
6214
  cost: {
6181
- input: 0.07,
6182
- output: 0.26,
6215
+ input: 0.12,
6216
+ output: 0.39,
6183
6217
  cacheRead: 0,
6184
6218
  cacheWrite: 0,
6185
6219
  },
6186
6220
  contextWindow: 32768,
6187
- maxTokens: 32768,
6221
+ maxTokens: 16384,
6188
6222
  },
6189
6223
  "mistralai/pixtral-12b": {
6190
6224
  id: "mistralai/pixtral-12b",
@@ -6747,9 +6781,9 @@ export const MODELS = {
6747
6781
  contextWindow: 16385,
6748
6782
  maxTokens: 4096,
6749
6783
  },
6750
- "openai/gpt-4-0314": {
6751
- id: "openai/gpt-4-0314",
6752
- name: "OpenAI: GPT-4 (older v0314)",
6784
+ "openai/gpt-4": {
6785
+ id: "openai/gpt-4",
6786
+ name: "OpenAI: GPT-4",
6753
6787
  api: "openai-completions",
6754
6788
  provider: "openrouter",
6755
6789
  baseUrl: "https://openrouter.ai/api/v1",
@@ -6764,9 +6798,9 @@ export const MODELS = {
6764
6798
  contextWindow: 8191,
6765
6799
  maxTokens: 4096,
6766
6800
  },
6767
- "openai/gpt-4": {
6768
- id: "openai/gpt-4",
6769
- name: "OpenAI: GPT-4",
6801
+ "openai/gpt-4-0314": {
6802
+ id: "openai/gpt-4-0314",
6803
+ name: "OpenAI: GPT-4 (older v0314)",
6770
6804
  api: "openai-completions",
6771
6805
  provider: "openrouter",
6772
6806
  baseUrl: "https://openrouter.ai/api/v1",