@caupulican/pi-ai 0.85.4 → 0.86.1

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.
@@ -2114,40 +2114,6 @@ export const MODELS = {
2114
2114
  contextWindow: 200000,
2115
2115
  maxTokens: 64000,
2116
2116
  },
2117
- "claude-opus-4-1": {
2118
- id: "claude-opus-4-1",
2119
- name: "Claude Opus 4.1 (latest)",
2120
- api: "anthropic-messages",
2121
- provider: "anthropic",
2122
- baseUrl: "https://api.anthropic.com",
2123
- reasoning: true,
2124
- input: ["text", "image"],
2125
- cost: {
2126
- input: 15,
2127
- output: 75,
2128
- cacheRead: 1.5,
2129
- cacheWrite: 18.75,
2130
- },
2131
- contextWindow: 200000,
2132
- maxTokens: 32000,
2133
- },
2134
- "claude-opus-4-1-20250805": {
2135
- id: "claude-opus-4-1-20250805",
2136
- name: "Claude Opus 4.1",
2137
- api: "anthropic-messages",
2138
- provider: "anthropic",
2139
- baseUrl: "https://api.anthropic.com",
2140
- reasoning: true,
2141
- input: ["text", "image"],
2142
- cost: {
2143
- input: 15,
2144
- output: 75,
2145
- cacheRead: 1.5,
2146
- cacheWrite: 18.75,
2147
- },
2148
- contextWindow: 200000,
2149
- maxTokens: 32000,
2150
- },
2151
2117
  "claude-opus-4-5": {
2152
2118
  id: "claude-opus-4-5",
2153
2119
  name: "Claude Opus 4.5 (latest)",
@@ -5666,23 +5632,6 @@ export const MODELS = {
5666
5632
  contextWindow: 131072,
5667
5633
  maxTokens: 32768,
5668
5634
  },
5669
- "meta-llama/llama-4-scout-17b-16e-instruct": {
5670
- id: "meta-llama/llama-4-scout-17b-16e-instruct",
5671
- name: "Llama 4 Scout 17B 16E",
5672
- api: "openai-completions",
5673
- provider: "groq",
5674
- baseUrl: "https://api.groq.com/openai/v1",
5675
- reasoning: false,
5676
- input: ["text", "image"],
5677
- cost: {
5678
- input: 0.11,
5679
- output: 0.34,
5680
- cacheRead: 0,
5681
- cacheWrite: 0,
5682
- },
5683
- contextWindow: 131072,
5684
- maxTokens: 8192,
5685
- },
5686
5635
  "openai/gpt-oss-120b": {
5687
5636
  id: "openai/gpt-oss-120b",
5688
5637
  name: "GPT OSS 120B",
@@ -5734,23 +5683,23 @@ export const MODELS = {
5734
5683
  contextWindow: 131072,
5735
5684
  maxTokens: 65536,
5736
5685
  },
5737
- "qwen/qwen3-32b": {
5738
- id: "qwen/qwen3-32b",
5739
- name: "Qwen3-32B",
5686
+ "qwen/qwen3.6-27b": {
5687
+ id: "qwen/qwen3.6-27b",
5688
+ name: "Qwen3.6 27B",
5740
5689
  api: "openai-completions",
5741
5690
  provider: "groq",
5742
5691
  baseUrl: "https://api.groq.com/openai/v1",
5743
5692
  reasoning: true,
5744
5693
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "default" },
5745
- input: ["text"],
5694
+ input: ["text", "image"],
5746
5695
  cost: {
5747
- input: 0.29,
5748
- output: 0.59,
5749
- cacheRead: 0,
5696
+ input: 0.6,
5697
+ output: 3,
5698
+ cacheRead: 0.3,
5750
5699
  cacheWrite: 0,
5751
5700
  },
5752
5701
  contextWindow: 131072,
5753
- maxTokens: 40960,
5702
+ maxTokens: 16384,
5754
5703
  },
5755
5704
  },
5756
5705
  "huggingface": {
@@ -8947,7 +8896,7 @@ export const MODELS = {
8947
8896
  },
8948
8897
  "deepseek-v4-flash": {
8949
8898
  id: "deepseek-v4-flash",
8950
- name: "DeepSeek V4 Flash 0731",
8899
+ name: "DeepSeek V4 Flash (New)",
8951
8900
  api: "openai-completions",
8952
8901
  provider: "opencode",
8953
8902
  baseUrl: "https://opencode.ai/zen/v1",
@@ -9641,6 +9590,23 @@ export const MODELS = {
9641
9590
  contextWindow: 262144,
9642
9591
  maxTokens: 32768,
9643
9592
  },
9593
+ "longcat-2.0-free": {
9594
+ id: "longcat-2.0-free",
9595
+ name: "LongCat-2.0 Free",
9596
+ api: "openai-completions",
9597
+ provider: "opencode",
9598
+ baseUrl: "https://opencode.ai/zen/v1",
9599
+ reasoning: true,
9600
+ input: ["text"],
9601
+ cost: {
9602
+ input: 0,
9603
+ output: 0,
9604
+ cacheRead: 0,
9605
+ cacheWrite: 0,
9606
+ },
9607
+ contextWindow: 1000000,
9608
+ maxTokens: 131072,
9609
+ },
9644
9610
  "mimo-v2.5-free": {
9645
9611
  id: "mimo-v2.5-free",
9646
9612
  name: "MiMo V2.5 Free",
@@ -11540,6 +11506,23 @@ export const MODELS = {
11540
11506
  contextWindow: 1048576,
11541
11507
  maxTokens: 4096,
11542
11508
  },
11509
+ "meta/muse-spark-1.2": {
11510
+ id: "meta/muse-spark-1.2",
11511
+ name: "Meta: Muse Spark 1.2",
11512
+ api: "openai-completions",
11513
+ provider: "openrouter",
11514
+ baseUrl: "https://openrouter.ai/api/v1",
11515
+ reasoning: true,
11516
+ input: ["text", "image"],
11517
+ cost: {
11518
+ input: 1.25,
11519
+ output: 4.25,
11520
+ cacheRead: 0.15,
11521
+ cacheWrite: 0,
11522
+ },
11523
+ contextWindow: 1048576,
11524
+ maxTokens: 4096,
11525
+ },
11543
11526
  "minimax/minimax-m1": {
11544
11527
  id: "minimax/minimax-m1",
11545
11528
  name: "MiniMax: MiniMax M1",
@@ -11600,7 +11583,7 @@ export const MODELS = {
11600
11583
  reasoning: true,
11601
11584
  input: ["text"],
11602
11585
  cost: {
11603
- input: 0.15,
11586
+ input: 0.22,
11604
11587
  output: 0.8999999999999999,
11605
11588
  cacheRead: 0.049999999999999996,
11606
11589
  cacheWrite: 0,
@@ -11617,9 +11600,9 @@ export const MODELS = {
11617
11600
  reasoning: true,
11618
11601
  input: ["text"],
11619
11602
  cost: {
11620
- input: 0.25,
11621
- output: 1,
11622
- cacheRead: 0.049999999999999996,
11603
+ input: 0.27,
11604
+ output: 1.08,
11605
+ cacheRead: 0.054,
11623
11606
  cacheWrite: 0,
11624
11607
  },
11625
11608
  contextWindow: 204800,
@@ -11872,8 +11855,8 @@ export const MODELS = {
11872
11855
  reasoning: false,
11873
11856
  input: ["text", "image"],
11874
11857
  cost: {
11875
- input: 0.075,
11876
- output: 0.19999999999999998,
11858
+ input: 0.09375,
11859
+ output: 0.25,
11877
11860
  cacheRead: 0,
11878
11861
  cacheWrite: 0,
11879
11862
  },
@@ -12009,7 +11992,7 @@ export const MODELS = {
12009
11992
  reasoning: true,
12010
11993
  input: ["text", "image"],
12011
11994
  cost: {
12012
- input: 0.73,
11995
+ input: 0.7,
12013
11996
  output: 3.5,
12014
11997
  cacheRead: 0.15,
12015
11998
  cacheWrite: 0,
@@ -13438,13 +13421,13 @@ export const MODELS = {
13438
13421
  reasoning: false,
13439
13422
  input: ["text"],
13440
13423
  cost: {
13441
- input: 0.14950000000000002,
13442
- output: 0.5980000000000001,
13424
+ input: 0.09,
13425
+ output: 0.55,
13443
13426
  cacheRead: 0,
13444
13427
  cacheWrite: 0,
13445
13428
  },
13446
13429
  contextWindow: 262144,
13447
- maxTokens: 32768,
13430
+ maxTokens: 16384,
13448
13431
  },
13449
13432
  "qwen/qwen3-235b-a22b-thinking-2507": {
13450
13433
  id: "qwen/qwen3-235b-a22b-thinking-2507",
@@ -13727,8 +13710,8 @@ export const MODELS = {
13727
13710
  reasoning: true,
13728
13711
  input: ["text", "image"],
13729
13712
  cost: {
13730
- input: 0.98,
13731
- output: 3.95,
13713
+ input: 0.39999999999999997,
13714
+ output: 4,
13732
13715
  cacheRead: 0,
13733
13716
  cacheWrite: 0,
13734
13717
  },
@@ -14310,12 +14293,12 @@ export const MODELS = {
14310
14293
  cacheRead: 0.015,
14311
14294
  cacheWrite: 0,
14312
14295
  },
14313
- contextWindow: 128000,
14314
- maxTokens: 4096,
14296
+ contextWindow: 131072,
14297
+ maxTokens: 131072,
14315
14298
  },
14316
14299
  "x-ai/grok-4.20": {
14317
14300
  id: "x-ai/grok-4.20",
14318
- name: "xAI: Grok 4.20",
14301
+ name: "SpaceXAI: Grok 4.20",
14319
14302
  api: "openai-completions",
14320
14303
  provider: "openrouter",
14321
14304
  baseUrl: "https://openrouter.ai/api/v1",
@@ -14332,7 +14315,7 @@ export const MODELS = {
14332
14315
  },
14333
14316
  "x-ai/grok-4.3": {
14334
14317
  id: "x-ai/grok-4.3",
14335
- name: "xAI: Grok 4.3",
14318
+ name: "SpaceXAI: Grok 4.3",
14336
14319
  api: "openai-completions",
14337
14320
  provider: "openrouter",
14338
14321
  baseUrl: "https://openrouter.ai/api/v1",
@@ -14349,7 +14332,7 @@ export const MODELS = {
14349
14332
  },
14350
14333
  "x-ai/grok-4.5": {
14351
14334
  id: "x-ai/grok-4.5",
14352
- name: "xAI: Grok 4.5",
14335
+ name: "SpaceXAI: Grok 4.5",
14353
14336
  api: "openai-completions",
14354
14337
  provider: "openrouter",
14355
14338
  baseUrl: "https://openrouter.ai/api/v1",
@@ -14366,7 +14349,7 @@ export const MODELS = {
14366
14349
  },
14367
14350
  "x-ai/grok-build-0.1": {
14368
14351
  id: "x-ai/grok-build-0.1",
14369
- name: "xAI: Grok Build 0.1",
14352
+ name: "SpaceXAI: Grok Build 0.1",
14370
14353
  api: "openai-completions",
14371
14354
  provider: "openrouter",
14372
14355
  baseUrl: "https://openrouter.ai/api/v1",
@@ -14577,13 +14560,13 @@ export const MODELS = {
14577
14560
  reasoning: true,
14578
14561
  input: ["text"],
14579
14562
  cost: {
14580
- input: 0.966,
14581
- output: 3.036,
14582
- cacheRead: 0.1794,
14563
+ input: 0.952,
14564
+ output: 2.992,
14565
+ cacheRead: 0.17679999999999998,
14583
14566
  cacheWrite: 0,
14584
14567
  },
14585
14568
  contextWindow: 204800,
14586
- maxTokens: 128000,
14569
+ maxTokens: 131072,
14587
14570
  },
14588
14571
  "z-ai/glm-5.2": {
14589
14572
  id: "z-ai/glm-5.2",
@@ -14702,13 +14685,13 @@ export const MODELS = {
14702
14685
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "xhigh" },
14703
14686
  input: ["text"],
14704
14687
  cost: {
14705
- input: 0.09,
14706
- output: 0.18,
14707
- cacheRead: 0.018,
14688
+ input: 0.083,
14689
+ output: 0.167,
14690
+ cacheRead: 0.0027,
14708
14691
  cacheWrite: 0,
14709
14692
  },
14710
14693
  contextWindow: 1048576,
14711
- maxTokens: 65536,
14694
+ maxTokens: 1048576,
14712
14695
  },
14713
14696
  "~google/gemini-flash-latest": {
14714
14697
  id: "~google/gemini-flash-latest",
@@ -16357,23 +16340,6 @@ export const MODELS = {
16357
16340
  contextWindow: 200000,
16358
16341
  maxTokens: 8192,
16359
16342
  },
16360
- "anthropic/claude-opus-4.1": {
16361
- id: "anthropic/claude-opus-4.1",
16362
- name: "Claude Opus 4.1",
16363
- api: "anthropic-messages",
16364
- provider: "vercel-ai-gateway",
16365
- baseUrl: "https://ai-gateway.vercel.sh",
16366
- reasoning: true,
16367
- input: ["text", "image"],
16368
- cost: {
16369
- input: 15,
16370
- output: 75,
16371
- cacheRead: 1.5,
16372
- cacheWrite: 18.75,
16373
- },
16374
- contextWindow: 200000,
16375
- maxTokens: 32000,
16376
- },
16377
16343
  "anthropic/claude-opus-4.5": {
16378
16344
  id: "anthropic/claude-opus-4.5",
16379
16345
  name: "Claude Opus 4.5",
@@ -16807,13 +16773,13 @@ export const MODELS = {
16807
16773
  reasoning: true,
16808
16774
  input: ["text"],
16809
16775
  cost: {
16810
- input: 0.435,
16811
- output: 0.87,
16812
- cacheRead: 0.0036,
16776
+ input: 1.74,
16777
+ output: 3.48,
16778
+ cacheRead: 0.14,
16813
16779
  cacheWrite: 0,
16814
16780
  },
16815
- contextWindow: 1000000,
16816
- maxTokens: 384000,
16781
+ contextWindow: 1048600,
16782
+ maxTokens: 1048600,
16817
16783
  },
16818
16784
  "google/gemini-2.5-flash": {
16819
16785
  id: "google/gemini-2.5-flash",
@@ -17240,6 +17206,40 @@ export const MODELS = {
17240
17206
  contextWindow: 1048576,
17241
17207
  maxTokens: 1048576,
17242
17208
  },
17209
+ "meta/muse-spark-1.2": {
17210
+ id: "meta/muse-spark-1.2",
17211
+ name: "Muse Spark 1.2",
17212
+ api: "anthropic-messages",
17213
+ provider: "vercel-ai-gateway",
17214
+ baseUrl: "https://ai-gateway.vercel.sh",
17215
+ reasoning: true,
17216
+ input: ["text", "image"],
17217
+ cost: {
17218
+ input: 1.25,
17219
+ output: 4.25,
17220
+ cacheRead: 0.15,
17221
+ cacheWrite: 0,
17222
+ },
17223
+ contextWindow: 1048576,
17224
+ maxTokens: 1048576,
17225
+ },
17226
+ "meta/muse-spark-1.2-contributor": {
17227
+ id: "meta/muse-spark-1.2-contributor",
17228
+ name: "Muse Spark 1.2 Contributor",
17229
+ api: "anthropic-messages",
17230
+ provider: "vercel-ai-gateway",
17231
+ baseUrl: "https://ai-gateway.vercel.sh",
17232
+ reasoning: true,
17233
+ input: ["text", "image"],
17234
+ cost: {
17235
+ input: 0.09999999999999999,
17236
+ output: 0.19999999999999998,
17237
+ cacheRead: 0.002,
17238
+ cacheWrite: 0,
17239
+ },
17240
+ contextWindow: 1048576,
17241
+ maxTokens: 1048576,
17242
+ },
17243
17243
  "minimax/minimax-m2": {
17244
17244
  id: "minimax/minimax-m2",
17245
17245
  name: "MiniMax M2",