@mariozechner/pi-ai 0.11.6 → 0.12.0

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.
@@ -5082,34 +5082,34 @@ export const MODELS = {
5082
5082
  contextWindow: 32768,
5083
5083
  maxTokens: 4096,
5084
5084
  },
5085
- "cohere/command-r-08-2024": {
5086
- id: "cohere/command-r-08-2024",
5087
- name: "Cohere: Command R (08-2024)",
5085
+ "cohere/command-r-plus-08-2024": {
5086
+ id: "cohere/command-r-plus-08-2024",
5087
+ name: "Cohere: Command R+ (08-2024)",
5088
5088
  api: "openai-completions",
5089
5089
  provider: "openrouter",
5090
5090
  baseUrl: "https://openrouter.ai/api/v1",
5091
5091
  reasoning: false,
5092
5092
  input: ["text"],
5093
5093
  cost: {
5094
- input: 0.15,
5095
- output: 0.6,
5094
+ input: 2.5,
5095
+ output: 10,
5096
5096
  cacheRead: 0,
5097
5097
  cacheWrite: 0,
5098
5098
  },
5099
5099
  contextWindow: 128000,
5100
5100
  maxTokens: 4000,
5101
5101
  },
5102
- "cohere/command-r-plus-08-2024": {
5103
- id: "cohere/command-r-plus-08-2024",
5104
- name: "Cohere: Command R+ (08-2024)",
5102
+ "cohere/command-r-08-2024": {
5103
+ id: "cohere/command-r-08-2024",
5104
+ name: "Cohere: Command R (08-2024)",
5105
5105
  api: "openai-completions",
5106
5106
  provider: "openrouter",
5107
5107
  baseUrl: "https://openrouter.ai/api/v1",
5108
5108
  reasoning: false,
5109
5109
  input: ["text"],
5110
5110
  cost: {
5111
- input: 2.5,
5112
- output: 10,
5111
+ input: 0.15,
5112
+ output: 0.6,
5113
5113
  cacheRead: 0,
5114
5114
  cacheWrite: 0,
5115
5115
  },
@@ -5167,6 +5167,23 @@ export const MODELS = {
5167
5167
  contextWindow: 128000,
5168
5168
  maxTokens: 16384,
5169
5169
  },
5170
+ "meta-llama/llama-3.1-70b-instruct": {
5171
+ id: "meta-llama/llama-3.1-70b-instruct",
5172
+ name: "Meta: Llama 3.1 70B Instruct",
5173
+ api: "openai-completions",
5174
+ provider: "openrouter",
5175
+ baseUrl: "https://openrouter.ai/api/v1",
5176
+ reasoning: false,
5177
+ input: ["text"],
5178
+ cost: {
5179
+ input: 0.39999999999999997,
5180
+ output: 0.39999999999999997,
5181
+ cacheRead: 0,
5182
+ cacheWrite: 0,
5183
+ },
5184
+ contextWindow: 131072,
5185
+ maxTokens: 4096,
5186
+ },
5170
5187
  "meta-llama/llama-3.1-8b-instruct": {
5171
5188
  id: "meta-llama/llama-3.1-8b-instruct",
5172
5189
  name: "Meta: Llama 3.1 8B Instruct",
@@ -5201,23 +5218,6 @@ export const MODELS = {
5201
5218
  contextWindow: 130815,
5202
5219
  maxTokens: 4096,
5203
5220
  },
5204
- "meta-llama/llama-3.1-70b-instruct": {
5205
- id: "meta-llama/llama-3.1-70b-instruct",
5206
- name: "Meta: Llama 3.1 70B Instruct",
5207
- api: "openai-completions",
5208
- provider: "openrouter",
5209
- baseUrl: "https://openrouter.ai/api/v1",
5210
- reasoning: false,
5211
- input: ["text"],
5212
- cost: {
5213
- input: 0.39999999999999997,
5214
- output: 0.39999999999999997,
5215
- cacheRead: 0,
5216
- cacheWrite: 0,
5217
- },
5218
- contextWindow: 131072,
5219
- maxTokens: 4096,
5220
- },
5221
5221
  "mistralai/mistral-nemo": {
5222
5222
  id: "mistralai/mistral-nemo",
5223
5223
  name: "Mistral: Mistral Nemo",
@@ -5235,9 +5235,9 @@ export const MODELS = {
5235
5235
  contextWindow: 131072,
5236
5236
  maxTokens: 16384,
5237
5237
  },
5238
- "openai/gpt-4o-mini-2024-07-18": {
5239
- id: "openai/gpt-4o-mini-2024-07-18",
5240
- name: "OpenAI: GPT-4o-mini (2024-07-18)",
5238
+ "openai/gpt-4o-mini": {
5239
+ id: "openai/gpt-4o-mini",
5240
+ name: "OpenAI: GPT-4o-mini",
5241
5241
  api: "openai-completions",
5242
5242
  provider: "openrouter",
5243
5243
  baseUrl: "https://openrouter.ai/api/v1",
@@ -5252,9 +5252,9 @@ export const MODELS = {
5252
5252
  contextWindow: 128000,
5253
5253
  maxTokens: 16384,
5254
5254
  },
5255
- "openai/gpt-4o-mini": {
5256
- id: "openai/gpt-4o-mini",
5257
- name: "OpenAI: GPT-4o-mini",
5255
+ "openai/gpt-4o-mini-2024-07-18": {
5256
+ id: "openai/gpt-4o-mini-2024-07-18",
5257
+ name: "OpenAI: GPT-4o-mini (2024-07-18)",
5258
5258
  api: "openai-completions",
5259
5259
  provider: "openrouter",
5260
5260
  baseUrl: "https://openrouter.ai/api/v1",
@@ -5643,26 +5643,26 @@ export const MODELS = {
5643
5643
  contextWindow: 16385,
5644
5644
  maxTokens: 4096,
5645
5645
  },
5646
- "openai/gpt-4-0314": {
5647
- id: "openai/gpt-4-0314",
5648
- name: "OpenAI: GPT-4 (older v0314)",
5646
+ "openai/gpt-3.5-turbo": {
5647
+ id: "openai/gpt-3.5-turbo",
5648
+ name: "OpenAI: GPT-3.5 Turbo",
5649
5649
  api: "openai-completions",
5650
5650
  provider: "openrouter",
5651
5651
  baseUrl: "https://openrouter.ai/api/v1",
5652
5652
  reasoning: false,
5653
5653
  input: ["text"],
5654
5654
  cost: {
5655
- input: 30,
5656
- output: 60,
5655
+ input: 0.5,
5656
+ output: 1.5,
5657
5657
  cacheRead: 0,
5658
5658
  cacheWrite: 0,
5659
5659
  },
5660
- contextWindow: 8191,
5660
+ contextWindow: 16385,
5661
5661
  maxTokens: 4096,
5662
5662
  },
5663
- "openai/gpt-4": {
5664
- id: "openai/gpt-4",
5665
- name: "OpenAI: GPT-4",
5663
+ "openai/gpt-4-0314": {
5664
+ id: "openai/gpt-4-0314",
5665
+ name: "OpenAI: GPT-4 (older v0314)",
5666
5666
  api: "openai-completions",
5667
5667
  provider: "openrouter",
5668
5668
  baseUrl: "https://openrouter.ai/api/v1",
@@ -5677,21 +5677,21 @@ export const MODELS = {
5677
5677
  contextWindow: 8191,
5678
5678
  maxTokens: 4096,
5679
5679
  },
5680
- "openai/gpt-3.5-turbo": {
5681
- id: "openai/gpt-3.5-turbo",
5682
- name: "OpenAI: GPT-3.5 Turbo",
5680
+ "openai/gpt-4": {
5681
+ id: "openai/gpt-4",
5682
+ name: "OpenAI: GPT-4",
5683
5683
  api: "openai-completions",
5684
5684
  provider: "openrouter",
5685
5685
  baseUrl: "https://openrouter.ai/api/v1",
5686
5686
  reasoning: false,
5687
5687
  input: ["text"],
5688
5688
  cost: {
5689
- input: 0.5,
5690
- output: 1.5,
5689
+ input: 30,
5690
+ output: 60,
5691
5691
  cacheRead: 0,
5692
5692
  cacheWrite: 0,
5693
5693
  },
5694
- contextWindow: 16385,
5694
+ contextWindow: 8191,
5695
5695
  maxTokens: 4096,
5696
5696
  },
5697
5697
  "openrouter/auto": {