@caupulican/pi-ai 0.80.20 → 0.80.21

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.
@@ -4955,77 +4955,9 @@ export const MODELS = {
4955
4955
  },
4956
4956
  },
4957
4957
  "groq": {
4958
- "deepseek-r1-distill-llama-70b": {
4959
- id: "deepseek-r1-distill-llama-70b",
4960
- name: "DeepSeek R1 Distill Llama 70B",
4961
- api: "openai-completions",
4962
- provider: "groq",
4963
- baseUrl: "https://api.groq.com/openai/v1",
4964
- reasoning: true,
4965
- input: ["text"],
4966
- cost: {
4967
- input: 0.75,
4968
- output: 0.99,
4969
- cacheRead: 0,
4970
- cacheWrite: 0,
4971
- },
4972
- contextWindow: 131072,
4973
- maxTokens: 8192,
4974
- },
4975
- "gemma2-9b-it": {
4976
- id: "gemma2-9b-it",
4977
- name: "Gemma 2 9B",
4978
- api: "openai-completions",
4979
- provider: "groq",
4980
- baseUrl: "https://api.groq.com/openai/v1",
4981
- reasoning: false,
4982
- input: ["text"],
4983
- cost: {
4984
- input: 0.2,
4985
- output: 0.2,
4986
- cacheRead: 0,
4987
- cacheWrite: 0,
4988
- },
4989
- contextWindow: 8192,
4990
- maxTokens: 8192,
4991
- },
4992
- "groq/compound": {
4993
- id: "groq/compound",
4994
- name: "Compound",
4995
- api: "openai-completions",
4996
- provider: "groq",
4997
- baseUrl: "https://api.groq.com/openai/v1",
4998
- reasoning: true,
4999
- input: ["text"],
5000
- cost: {
5001
- input: 0,
5002
- output: 0,
5003
- cacheRead: 0,
5004
- cacheWrite: 0,
5005
- },
5006
- contextWindow: 131072,
5007
- maxTokens: 8192,
5008
- },
5009
- "groq/compound-mini": {
5010
- id: "groq/compound-mini",
5011
- name: "Compound Mini",
5012
- api: "openai-completions",
5013
- provider: "groq",
5014
- baseUrl: "https://api.groq.com/openai/v1",
5015
- reasoning: true,
5016
- input: ["text"],
5017
- cost: {
5018
- input: 0,
5019
- output: 0,
5020
- cacheRead: 0,
5021
- cacheWrite: 0,
5022
- },
5023
- contextWindow: 131072,
5024
- maxTokens: 8192,
5025
- },
5026
4958
  "llama-3.1-8b-instant": {
5027
4959
  id: "llama-3.1-8b-instant",
5028
- name: "Llama 3.1 8B Instant",
4960
+ name: "Llama 3.1 8B",
5029
4961
  api: "openai-completions",
5030
4962
  provider: "groq",
5031
4963
  baseUrl: "https://api.groq.com/openai/v1",
@@ -5042,7 +4974,7 @@ export const MODELS = {
5042
4974
  },
5043
4975
  "llama-3.3-70b-versatile": {
5044
4976
  id: "llama-3.3-70b-versatile",
5045
- name: "Llama 3.3 70B Versatile",
4977
+ name: "Llama 3.3 70B",
5046
4978
  api: "openai-completions",
5047
4979
  provider: "groq",
5048
4980
  baseUrl: "https://api.groq.com/openai/v1",
@@ -5057,60 +4989,9 @@ export const MODELS = {
5057
4989
  contextWindow: 131072,
5058
4990
  maxTokens: 32768,
5059
4991
  },
5060
- "llama3-70b-8192": {
5061
- id: "llama3-70b-8192",
5062
- name: "Llama 3 70B",
5063
- api: "openai-completions",
5064
- provider: "groq",
5065
- baseUrl: "https://api.groq.com/openai/v1",
5066
- reasoning: false,
5067
- input: ["text"],
5068
- cost: {
5069
- input: 0.59,
5070
- output: 0.79,
5071
- cacheRead: 0,
5072
- cacheWrite: 0,
5073
- },
5074
- contextWindow: 8192,
5075
- maxTokens: 8192,
5076
- },
5077
- "llama3-8b-8192": {
5078
- id: "llama3-8b-8192",
5079
- name: "Llama 3 8B",
5080
- api: "openai-completions",
5081
- provider: "groq",
5082
- baseUrl: "https://api.groq.com/openai/v1",
5083
- reasoning: false,
5084
- input: ["text"],
5085
- cost: {
5086
- input: 0.05,
5087
- output: 0.08,
5088
- cacheRead: 0,
5089
- cacheWrite: 0,
5090
- },
5091
- contextWindow: 8192,
5092
- maxTokens: 8192,
5093
- },
5094
- "meta-llama/llama-4-maverick-17b-128e-instruct": {
5095
- id: "meta-llama/llama-4-maverick-17b-128e-instruct",
5096
- name: "Llama 4 Maverick 17B",
5097
- api: "openai-completions",
5098
- provider: "groq",
5099
- baseUrl: "https://api.groq.com/openai/v1",
5100
- reasoning: false,
5101
- input: ["text", "image"],
5102
- cost: {
5103
- input: 0.2,
5104
- output: 0.6,
5105
- cacheRead: 0,
5106
- cacheWrite: 0,
5107
- },
5108
- contextWindow: 131072,
5109
- maxTokens: 8192,
5110
- },
5111
4992
  "meta-llama/llama-4-scout-17b-16e-instruct": {
5112
4993
  id: "meta-llama/llama-4-scout-17b-16e-instruct",
5113
- name: "Llama 4 Scout 17B",
4994
+ name: "Llama 4 Scout 17B 16E",
5114
4995
  api: "openai-completions",
5115
4996
  provider: "groq",
5116
4997
  baseUrl: "https://api.groq.com/openai/v1",
@@ -5125,57 +5006,6 @@ export const MODELS = {
5125
5006
  contextWindow: 131072,
5126
5007
  maxTokens: 8192,
5127
5008
  },
5128
- "mistral-saba-24b": {
5129
- id: "mistral-saba-24b",
5130
- name: "Mistral Saba 24B",
5131
- api: "openai-completions",
5132
- provider: "groq",
5133
- baseUrl: "https://api.groq.com/openai/v1",
5134
- reasoning: false,
5135
- input: ["text"],
5136
- cost: {
5137
- input: 0.79,
5138
- output: 0.79,
5139
- cacheRead: 0,
5140
- cacheWrite: 0,
5141
- },
5142
- contextWindow: 32768,
5143
- maxTokens: 32768,
5144
- },
5145
- "moonshotai/kimi-k2-instruct": {
5146
- id: "moonshotai/kimi-k2-instruct",
5147
- name: "Kimi K2 Instruct",
5148
- api: "openai-completions",
5149
- provider: "groq",
5150
- baseUrl: "https://api.groq.com/openai/v1",
5151
- reasoning: false,
5152
- input: ["text"],
5153
- cost: {
5154
- input: 1,
5155
- output: 3,
5156
- cacheRead: 0,
5157
- cacheWrite: 0,
5158
- },
5159
- contextWindow: 131072,
5160
- maxTokens: 16384,
5161
- },
5162
- "moonshotai/kimi-k2-instruct-0905": {
5163
- id: "moonshotai/kimi-k2-instruct-0905",
5164
- name: "Kimi K2 Instruct 0905",
5165
- api: "openai-completions",
5166
- provider: "groq",
5167
- baseUrl: "https://api.groq.com/openai/v1",
5168
- reasoning: false,
5169
- input: ["text"],
5170
- cost: {
5171
- input: 1,
5172
- output: 3,
5173
- cacheRead: 0.5,
5174
- cacheWrite: 0,
5175
- },
5176
- contextWindow: 262144,
5177
- maxTokens: 16384,
5178
- },
5179
5009
  "openai/gpt-oss-120b": {
5180
5010
  id: "openai/gpt-oss-120b",
5181
5011
  name: "GPT OSS 120B",
@@ -5227,26 +5057,9 @@ export const MODELS = {
5227
5057
  contextWindow: 131072,
5228
5058
  maxTokens: 65536,
5229
5059
  },
5230
- "qwen-qwq-32b": {
5231
- id: "qwen-qwq-32b",
5232
- name: "Qwen QwQ 32B",
5233
- api: "openai-completions",
5234
- provider: "groq",
5235
- baseUrl: "https://api.groq.com/openai/v1",
5236
- reasoning: true,
5237
- input: ["text"],
5238
- cost: {
5239
- input: 0.29,
5240
- output: 0.39,
5241
- cacheRead: 0,
5242
- cacheWrite: 0,
5243
- },
5244
- contextWindow: 131072,
5245
- maxTokens: 16384,
5246
- },
5247
5060
  "qwen/qwen3-32b": {
5248
5061
  id: "qwen/qwen3-32b",
5249
- name: "Qwen3 32B",
5062
+ name: "Qwen3-32B",
5250
5063
  api: "openai-completions",
5251
5064
  provider: "groq",
5252
5065
  baseUrl: "https://api.groq.com/openai/v1",
@@ -7617,7 +7430,7 @@ export const MODELS = {
7617
7430
  cost: {
7618
7431
  input: 0.14,
7619
7432
  output: 0.28,
7620
- cacheRead: 0.03,
7433
+ cacheRead: 0.028,
7621
7434
  cacheWrite: 0,
7622
7435
  },
7623
7436
  contextWindow: 1000000,
@@ -7642,6 +7455,25 @@ export const MODELS = {
7642
7455
  contextWindow: 200000,
7643
7456
  maxTokens: 128000,
7644
7457
  },
7458
+ "deepseek-v4-pro": {
7459
+ id: "deepseek-v4-pro",
7460
+ name: "DeepSeek V4 Pro",
7461
+ api: "openai-completions",
7462
+ provider: "opencode",
7463
+ baseUrl: "https://opencode.ai/zen/v1",
7464
+ compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
7465
+ reasoning: true,
7466
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
7467
+ input: ["text"],
7468
+ cost: {
7469
+ input: 1.74,
7470
+ output: 3.84,
7471
+ cacheRead: 0.145,
7472
+ cacheWrite: 0,
7473
+ },
7474
+ contextWindow: 1000000,
7475
+ maxTokens: 384000,
7476
+ },
7645
7477
  "gemini-3-flash": {
7646
7478
  id: "gemini-3-flash",
7647
7479
  name: "Gemini 3 Flash",
@@ -9021,7 +8853,7 @@ export const MODELS = {
9021
8853
  cacheRead: 0.135,
9022
8854
  cacheWrite: 0,
9023
8855
  },
9024
- contextWindow: 163840,
8856
+ contextWindow: 131072,
9025
8857
  maxTokens: 16384,
9026
8858
  },
9027
8859
  "deepseek/deepseek-chat-v3.1": {
@@ -10169,24 +10001,6 @@ export const MODELS = {
10169
10001
  contextWindow: 262144,
10170
10002
  maxTokens: 262142,
10171
10003
  },
10172
- "moonshotai/kimi-k2.6:free": {
10173
- id: "moonshotai/kimi-k2.6:free",
10174
- name: "MoonshotAI: Kimi K2.6 (free)",
10175
- api: "openai-completions",
10176
- provider: "openrouter",
10177
- baseUrl: "https://openrouter.ai/api/v1",
10178
- compat: { "supportsDeveloperRole": false },
10179
- reasoning: true,
10180
- input: ["text", "image"],
10181
- cost: {
10182
- input: 0,
10183
- output: 0,
10184
- cacheRead: 0,
10185
- cacheWrite: 0,
10186
- },
10187
- contextWindow: 262144,
10188
- maxTokens: 4096,
10189
- },
10190
10004
  "nex-agi/nex-n2-pro:free": {
10191
10005
  id: "nex-agi/nex-n2-pro:free",
10192
10006
  name: "Nex AGI: Nex-N2-Pro (free)",