@mariozechner/pi-ai 0.23.1 → 0.23.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.
@@ -361,6 +361,23 @@ export const MODELS = {
361
361
  },
362
362
  },
363
363
  "google": {
364
+ "gemini-3-flash-preview": {
365
+ id: "gemini-3-flash-preview",
366
+ name: "Gemini 3 Flash Preview",
367
+ api: "google-generative-ai",
368
+ provider: "google",
369
+ baseUrl: "https://generativelanguage.googleapis.com/v1beta",
370
+ reasoning: true,
371
+ input: ["text", "image"],
372
+ cost: {
373
+ input: 0.5,
374
+ output: 3,
375
+ cacheRead: 0.05,
376
+ cacheWrite: 0,
377
+ },
378
+ contextWindow: 1048576,
379
+ maxTokens: 65536,
380
+ },
364
381
  "gemini-2.5-flash-preview-05-20": {
365
382
  id: "gemini-2.5-flash-preview-05-20",
366
383
  name: "Gemini 2.5 Flash Preview 05-20",
@@ -2802,6 +2819,23 @@ export const MODELS = {
2802
2819
  },
2803
2820
  },
2804
2821
  "openrouter": {
2822
+ "google/gemini-3-flash-preview": {
2823
+ id: "google/gemini-3-flash-preview",
2824
+ name: "Google: Gemini 3 Flash Preview",
2825
+ api: "openai-completions",
2826
+ provider: "openrouter",
2827
+ baseUrl: "https://openrouter.ai/api/v1",
2828
+ reasoning: true,
2829
+ input: ["text", "image"],
2830
+ cost: {
2831
+ input: 0.5,
2832
+ output: 3,
2833
+ cacheRead: 0.049999999999999996,
2834
+ cacheWrite: 0,
2835
+ },
2836
+ contextWindow: 1048576,
2837
+ maxTokens: 65535,
2838
+ },
2805
2839
  "mistralai/mistral-small-creative": {
2806
2840
  id: "mistralai/mistral-small-creative",
2807
2841
  name: "Mistral: Mistral Small Creative",
@@ -3006,23 +3040,6 @@ export const MODELS = {
3006
3040
  contextWindow: 400000,
3007
3041
  maxTokens: 128000,
3008
3042
  },
3009
- "amazon/nova-2-lite-v1:free": {
3010
- id: "amazon/nova-2-lite-v1:free",
3011
- name: "Amazon: Nova 2 Lite (free)",
3012
- api: "openai-completions",
3013
- provider: "openrouter",
3014
- baseUrl: "https://openrouter.ai/api/v1",
3015
- reasoning: true,
3016
- input: ["text", "image"],
3017
- cost: {
3018
- input: 0,
3019
- output: 0,
3020
- cacheRead: 0,
3021
- cacheWrite: 0,
3022
- },
3023
- contextWindow: 1000000,
3024
- maxTokens: 65535,
3025
- },
3026
3043
  "amazon/nova-2-lite-v1": {
3027
3044
  id: "amazon/nova-2-lite-v1",
3028
3045
  name: "Amazon: Nova 2 Lite",
@@ -3151,13 +3168,13 @@ export const MODELS = {
3151
3168
  reasoning: true,
3152
3169
  input: ["text"],
3153
3170
  cost: {
3154
- input: 0.24,
3171
+ input: 0.26,
3155
3172
  output: 0.38,
3156
- cacheRead: 0.19,
3173
+ cacheRead: 0,
3157
3174
  cacheWrite: 0,
3158
3175
  },
3159
3176
  contextWindow: 163840,
3160
- maxTokens: 163840,
3177
+ maxTokens: 65536,
3161
3178
  },
3162
3179
  "prime-intellect/intellect-3": {
3163
3180
  id: "prime-intellect/intellect-3",
@@ -5964,9 +5981,9 @@ export const MODELS = {
5964
5981
  contextWindow: 32768,
5965
5982
  maxTokens: 4096,
5966
5983
  },
5967
- "anthropic/claude-3.5-haiku-20241022": {
5968
- id: "anthropic/claude-3.5-haiku-20241022",
5969
- name: "Anthropic: Claude 3.5 Haiku (2024-10-22)",
5984
+ "anthropic/claude-3.5-haiku": {
5985
+ id: "anthropic/claude-3.5-haiku",
5986
+ name: "Anthropic: Claude 3.5 Haiku",
5970
5987
  api: "openai-completions",
5971
5988
  provider: "openrouter",
5972
5989
  baseUrl: "https://openrouter.ai/api/v1",
@@ -5981,9 +5998,9 @@ export const MODELS = {
5981
5998
  contextWindow: 200000,
5982
5999
  maxTokens: 8192,
5983
6000
  },
5984
- "anthropic/claude-3.5-haiku": {
5985
- id: "anthropic/claude-3.5-haiku",
5986
- name: "Anthropic: Claude 3.5 Haiku",
6001
+ "anthropic/claude-3.5-haiku-20241022": {
6002
+ id: "anthropic/claude-3.5-haiku-20241022",
6003
+ name: "Anthropic: Claude 3.5 Haiku (2024-10-22)",
5987
6004
  api: "openai-completions",
5988
6005
  provider: "openrouter",
5989
6006
  baseUrl: "https://openrouter.ai/api/v1",
@@ -6219,39 +6236,39 @@ export const MODELS = {
6219
6236
  contextWindow: 128000,
6220
6237
  maxTokens: 16384,
6221
6238
  },
6222
- "meta-llama/llama-3.1-8b-instruct": {
6223
- id: "meta-llama/llama-3.1-8b-instruct",
6224
- name: "Meta: Llama 3.1 8B Instruct",
6239
+ "meta-llama/llama-3.1-405b-instruct": {
6240
+ id: "meta-llama/llama-3.1-405b-instruct",
6241
+ name: "Meta: Llama 3.1 405B Instruct",
6225
6242
  api: "openai-completions",
6226
6243
  provider: "openrouter",
6227
6244
  baseUrl: "https://openrouter.ai/api/v1",
6228
6245
  reasoning: false,
6229
6246
  input: ["text"],
6230
6247
  cost: {
6231
- input: 0.02,
6232
- output: 0.03,
6248
+ input: 3.5,
6249
+ output: 3.5,
6233
6250
  cacheRead: 0,
6234
6251
  cacheWrite: 0,
6235
6252
  },
6236
- contextWindow: 131072,
6237
- maxTokens: 16384,
6253
+ contextWindow: 130815,
6254
+ maxTokens: 4096,
6238
6255
  },
6239
- "meta-llama/llama-3.1-405b-instruct": {
6240
- id: "meta-llama/llama-3.1-405b-instruct",
6241
- name: "Meta: Llama 3.1 405B Instruct",
6256
+ "meta-llama/llama-3.1-8b-instruct": {
6257
+ id: "meta-llama/llama-3.1-8b-instruct",
6258
+ name: "Meta: Llama 3.1 8B Instruct",
6242
6259
  api: "openai-completions",
6243
6260
  provider: "openrouter",
6244
6261
  baseUrl: "https://openrouter.ai/api/v1",
6245
6262
  reasoning: false,
6246
6263
  input: ["text"],
6247
6264
  cost: {
6248
- input: 3.5,
6249
- output: 3.5,
6265
+ input: 0.02,
6266
+ output: 0.03,
6250
6267
  cacheRead: 0,
6251
6268
  cacheWrite: 0,
6252
6269
  },
6253
- contextWindow: 130815,
6254
- maxTokens: 4096,
6270
+ contextWindow: 131072,
6271
+ maxTokens: 16384,
6255
6272
  },
6256
6273
  "meta-llama/llama-3.1-70b-instruct": {
6257
6274
  id: "meta-llama/llama-3.1-70b-instruct",