@mariozechner/pi-ai 0.12.12 → 0.12.14

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.
@@ -4980,9 +4980,9 @@ export const MODELS = {
4980
4980
  contextWindow: 32768,
4981
4981
  maxTokens: 4096,
4982
4982
  },
4983
- "anthropic/claude-3.5-haiku-20241022": {
4984
- id: "anthropic/claude-3.5-haiku-20241022",
4985
- name: "Anthropic: Claude 3.5 Haiku (2024-10-22)",
4983
+ "anthropic/claude-3.5-haiku": {
4984
+ id: "anthropic/claude-3.5-haiku",
4985
+ name: "Anthropic: Claude 3.5 Haiku",
4986
4986
  api: "openai-completions",
4987
4987
  provider: "openrouter",
4988
4988
  baseUrl: "https://openrouter.ai/api/v1",
@@ -4997,9 +4997,9 @@ export const MODELS = {
4997
4997
  contextWindow: 200000,
4998
4998
  maxTokens: 8192,
4999
4999
  },
5000
- "anthropic/claude-3.5-haiku": {
5001
- id: "anthropic/claude-3.5-haiku",
5002
- name: "Anthropic: Claude 3.5 Haiku",
5000
+ "anthropic/claude-3.5-haiku-20241022": {
5001
+ id: "anthropic/claude-3.5-haiku-20241022",
5002
+ name: "Anthropic: Claude 3.5 Haiku (2024-10-22)",
5003
5003
  api: "openai-completions",
5004
5004
  provider: "openrouter",
5005
5005
  baseUrl: "https://openrouter.ai/api/v1",
@@ -5150,34 +5150,34 @@ export const MODELS = {
5150
5150
  contextWindow: 32768,
5151
5151
  maxTokens: 4096,
5152
5152
  },
5153
- "cohere/command-r-08-2024": {
5154
- id: "cohere/command-r-08-2024",
5155
- name: "Cohere: Command R (08-2024)",
5153
+ "cohere/command-r-plus-08-2024": {
5154
+ id: "cohere/command-r-plus-08-2024",
5155
+ name: "Cohere: Command R+ (08-2024)",
5156
5156
  api: "openai-completions",
5157
5157
  provider: "openrouter",
5158
5158
  baseUrl: "https://openrouter.ai/api/v1",
5159
5159
  reasoning: false,
5160
5160
  input: ["text"],
5161
5161
  cost: {
5162
- input: 0.15,
5163
- output: 0.6,
5162
+ input: 2.5,
5163
+ output: 10,
5164
5164
  cacheRead: 0,
5165
5165
  cacheWrite: 0,
5166
5166
  },
5167
5167
  contextWindow: 128000,
5168
5168
  maxTokens: 4000,
5169
5169
  },
5170
- "cohere/command-r-plus-08-2024": {
5171
- id: "cohere/command-r-plus-08-2024",
5172
- name: "Cohere: Command R+ (08-2024)",
5170
+ "cohere/command-r-08-2024": {
5171
+ id: "cohere/command-r-08-2024",
5172
+ name: "Cohere: Command R (08-2024)",
5173
5173
  api: "openai-completions",
5174
5174
  provider: "openrouter",
5175
5175
  baseUrl: "https://openrouter.ai/api/v1",
5176
5176
  reasoning: false,
5177
5177
  input: ["text"],
5178
5178
  cost: {
5179
- input: 2.5,
5180
- output: 10,
5179
+ input: 0.15,
5180
+ output: 0.6,
5181
5181
  cacheRead: 0,
5182
5182
  cacheWrite: 0,
5183
5183
  },
@@ -5235,39 +5235,39 @@ export const MODELS = {
5235
5235
  contextWindow: 128000,
5236
5236
  maxTokens: 16384,
5237
5237
  },
5238
- "meta-llama/llama-3.1-8b-instruct": {
5239
- id: "meta-llama/llama-3.1-8b-instruct",
5240
- name: "Meta: Llama 3.1 8B Instruct",
5238
+ "meta-llama/llama-3.1-405b-instruct": {
5239
+ id: "meta-llama/llama-3.1-405b-instruct",
5240
+ name: "Meta: Llama 3.1 405B Instruct",
5241
5241
  api: "openai-completions",
5242
5242
  provider: "openrouter",
5243
5243
  baseUrl: "https://openrouter.ai/api/v1",
5244
5244
  reasoning: false,
5245
5245
  input: ["text"],
5246
5246
  cost: {
5247
- input: 0.02,
5248
- output: 0.03,
5247
+ input: 3.5,
5248
+ output: 3.5,
5249
5249
  cacheRead: 0,
5250
5250
  cacheWrite: 0,
5251
5251
  },
5252
- contextWindow: 131072,
5253
- maxTokens: 16384,
5252
+ contextWindow: 130815,
5253
+ maxTokens: 4096,
5254
5254
  },
5255
- "meta-llama/llama-3.1-405b-instruct": {
5256
- id: "meta-llama/llama-3.1-405b-instruct",
5257
- name: "Meta: Llama 3.1 405B Instruct",
5255
+ "meta-llama/llama-3.1-8b-instruct": {
5256
+ id: "meta-llama/llama-3.1-8b-instruct",
5257
+ name: "Meta: Llama 3.1 8B Instruct",
5258
5258
  api: "openai-completions",
5259
5259
  provider: "openrouter",
5260
5260
  baseUrl: "https://openrouter.ai/api/v1",
5261
5261
  reasoning: false,
5262
5262
  input: ["text"],
5263
5263
  cost: {
5264
- input: 3.5,
5265
- output: 3.5,
5264
+ input: 0.02,
5265
+ output: 0.03,
5266
5266
  cacheRead: 0,
5267
5267
  cacheWrite: 0,
5268
5268
  },
5269
- contextWindow: 130815,
5270
- maxTokens: 4096,
5269
+ contextWindow: 131072,
5270
+ maxTokens: 16384,
5271
5271
  },
5272
5272
  "meta-llama/llama-3.1-70b-instruct": {
5273
5273
  id: "meta-llama/llama-3.1-70b-instruct",