@mariozechner/pi-ai 0.11.3 → 0.11.5

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.
@@ -1971,6 +1971,23 @@ export const MODELS = {
1971
1971
  },
1972
1972
  },
1973
1973
  openrouter: {
1974
+ "deepseek/deepseek-v3.2": {
1975
+ id: "deepseek/deepseek-v3.2",
1976
+ name: "DeepSeek: DeepSeek V3.2",
1977
+ api: "openai-completions",
1978
+ provider: "openrouter",
1979
+ baseUrl: "https://openrouter.ai/api/v1",
1980
+ reasoning: true,
1981
+ input: ["text"],
1982
+ cost: {
1983
+ input: 0.28,
1984
+ output: 0.42,
1985
+ cacheRead: 0.028,
1986
+ cacheWrite: 0,
1987
+ },
1988
+ contextWindow: 131072,
1989
+ maxTokens: 64000,
1990
+ },
1974
1991
  "prime-intellect/intellect-3": {
1975
1992
  id: "prime-intellect/intellect-3",
1976
1993
  name: "Prime Intellect: INTELLECT-3",
@@ -5031,34 +5048,34 @@ export const MODELS = {
5031
5048
  contextWindow: 32768,
5032
5049
  maxTokens: 4096,
5033
5050
  },
5034
- "cohere/command-r-08-2024": {
5035
- id: "cohere/command-r-08-2024",
5036
- name: "Cohere: Command R (08-2024)",
5051
+ "cohere/command-r-plus-08-2024": {
5052
+ id: "cohere/command-r-plus-08-2024",
5053
+ name: "Cohere: Command R+ (08-2024)",
5037
5054
  api: "openai-completions",
5038
5055
  provider: "openrouter",
5039
5056
  baseUrl: "https://openrouter.ai/api/v1",
5040
5057
  reasoning: false,
5041
5058
  input: ["text"],
5042
5059
  cost: {
5043
- input: 0.15,
5044
- output: 0.6,
5060
+ input: 2.5,
5061
+ output: 10,
5045
5062
  cacheRead: 0,
5046
5063
  cacheWrite: 0,
5047
5064
  },
5048
5065
  contextWindow: 128000,
5049
5066
  maxTokens: 4000,
5050
5067
  },
5051
- "cohere/command-r-plus-08-2024": {
5052
- id: "cohere/command-r-plus-08-2024",
5053
- name: "Cohere: Command R+ (08-2024)",
5068
+ "cohere/command-r-08-2024": {
5069
+ id: "cohere/command-r-08-2024",
5070
+ name: "Cohere: Command R (08-2024)",
5054
5071
  api: "openai-completions",
5055
5072
  provider: "openrouter",
5056
5073
  baseUrl: "https://openrouter.ai/api/v1",
5057
5074
  reasoning: false,
5058
5075
  input: ["text"],
5059
5076
  cost: {
5060
- input: 2.5,
5061
- output: 10,
5077
+ input: 0.15,
5078
+ output: 0.6,
5062
5079
  cacheRead: 0,
5063
5080
  cacheWrite: 0,
5064
5081
  },
@@ -5116,6 +5133,23 @@ export const MODELS = {
5116
5133
  contextWindow: 128000,
5117
5134
  maxTokens: 16384,
5118
5135
  },
5136
+ "meta-llama/llama-3.1-70b-instruct": {
5137
+ id: "meta-llama/llama-3.1-70b-instruct",
5138
+ name: "Meta: Llama 3.1 70B Instruct",
5139
+ api: "openai-completions",
5140
+ provider: "openrouter",
5141
+ baseUrl: "https://openrouter.ai/api/v1",
5142
+ reasoning: false,
5143
+ input: ["text"],
5144
+ cost: {
5145
+ input: 0.39999999999999997,
5146
+ output: 0.39999999999999997,
5147
+ cacheRead: 0,
5148
+ cacheWrite: 0,
5149
+ },
5150
+ contextWindow: 131072,
5151
+ maxTokens: 4096,
5152
+ },
5119
5153
  "meta-llama/llama-3.1-8b-instruct": {
5120
5154
  id: "meta-llama/llama-3.1-8b-instruct",
5121
5155
  name: "Meta: Llama 3.1 8B Instruct",
@@ -5150,23 +5184,6 @@ export const MODELS = {
5150
5184
  contextWindow: 130815,
5151
5185
  maxTokens: 4096,
5152
5186
  },
5153
- "meta-llama/llama-3.1-70b-instruct": {
5154
- id: "meta-llama/llama-3.1-70b-instruct",
5155
- name: "Meta: Llama 3.1 70B Instruct",
5156
- api: "openai-completions",
5157
- provider: "openrouter",
5158
- baseUrl: "https://openrouter.ai/api/v1",
5159
- reasoning: false,
5160
- input: ["text"],
5161
- cost: {
5162
- input: 0.39999999999999997,
5163
- output: 0.39999999999999997,
5164
- cacheRead: 0,
5165
- cacheWrite: 0,
5166
- },
5167
- contextWindow: 131072,
5168
- maxTokens: 4096,
5169
- },
5170
5187
  "mistralai/mistral-nemo": {
5171
5188
  id: "mistralai/mistral-nemo",
5172
5189
  name: "Mistral: Mistral Nemo",
@@ -5184,9 +5201,9 @@ export const MODELS = {
5184
5201
  contextWindow: 131072,
5185
5202
  maxTokens: 16384,
5186
5203
  },
5187
- "openai/gpt-4o-mini-2024-07-18": {
5188
- id: "openai/gpt-4o-mini-2024-07-18",
5189
- name: "OpenAI: GPT-4o-mini (2024-07-18)",
5204
+ "openai/gpt-4o-mini": {
5205
+ id: "openai/gpt-4o-mini",
5206
+ name: "OpenAI: GPT-4o-mini",
5190
5207
  api: "openai-completions",
5191
5208
  provider: "openrouter",
5192
5209
  baseUrl: "https://openrouter.ai/api/v1",
@@ -5201,9 +5218,9 @@ export const MODELS = {
5201
5218
  contextWindow: 128000,
5202
5219
  maxTokens: 16384,
5203
5220
  },
5204
- "openai/gpt-4o-mini": {
5205
- id: "openai/gpt-4o-mini",
5206
- name: "OpenAI: GPT-4o-mini",
5221
+ "openai/gpt-4o-mini-2024-07-18": {
5222
+ id: "openai/gpt-4o-mini-2024-07-18",
5223
+ name: "OpenAI: GPT-4o-mini (2024-07-18)",
5207
5224
  api: "openai-completions",
5208
5225
  provider: "openrouter",
5209
5226
  baseUrl: "https://openrouter.ai/api/v1",
@@ -5592,26 +5609,26 @@ export const MODELS = {
5592
5609
  contextWindow: 16385,
5593
5610
  maxTokens: 4096,
5594
5611
  },
5595
- "openai/gpt-4-0314": {
5596
- id: "openai/gpt-4-0314",
5597
- name: "OpenAI: GPT-4 (older v0314)",
5612
+ "openai/gpt-3.5-turbo": {
5613
+ id: "openai/gpt-3.5-turbo",
5614
+ name: "OpenAI: GPT-3.5 Turbo",
5598
5615
  api: "openai-completions",
5599
5616
  provider: "openrouter",
5600
5617
  baseUrl: "https://openrouter.ai/api/v1",
5601
5618
  reasoning: false,
5602
5619
  input: ["text"],
5603
5620
  cost: {
5604
- input: 30,
5605
- output: 60,
5621
+ input: 0.5,
5622
+ output: 1.5,
5606
5623
  cacheRead: 0,
5607
5624
  cacheWrite: 0,
5608
5625
  },
5609
- contextWindow: 8191,
5626
+ contextWindow: 16385,
5610
5627
  maxTokens: 4096,
5611
5628
  },
5612
- "openai/gpt-4": {
5613
- id: "openai/gpt-4",
5614
- name: "OpenAI: GPT-4",
5629
+ "openai/gpt-4-0314": {
5630
+ id: "openai/gpt-4-0314",
5631
+ name: "OpenAI: GPT-4 (older v0314)",
5615
5632
  api: "openai-completions",
5616
5633
  provider: "openrouter",
5617
5634
  baseUrl: "https://openrouter.ai/api/v1",
@@ -5626,21 +5643,21 @@ export const MODELS = {
5626
5643
  contextWindow: 8191,
5627
5644
  maxTokens: 4096,
5628
5645
  },
5629
- "openai/gpt-3.5-turbo": {
5630
- id: "openai/gpt-3.5-turbo",
5631
- name: "OpenAI: GPT-3.5 Turbo",
5646
+ "openai/gpt-4": {
5647
+ id: "openai/gpt-4",
5648
+ name: "OpenAI: GPT-4",
5632
5649
  api: "openai-completions",
5633
5650
  provider: "openrouter",
5634
5651
  baseUrl: "https://openrouter.ai/api/v1",
5635
5652
  reasoning: false,
5636
5653
  input: ["text"],
5637
5654
  cost: {
5638
- input: 0.5,
5639
- output: 1.5,
5655
+ input: 30,
5656
+ output: 60,
5640
5657
  cacheRead: 0,
5641
5658
  cacheWrite: 0,
5642
5659
  },
5643
- contextWindow: 16385,
5660
+ contextWindow: 8191,
5644
5661
  maxTokens: 4096,
5645
5662
  },
5646
5663
  "openrouter/auto": {