@caupulican/pi-ai 0.90.4 → 0.90.6

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.
@@ -4965,6 +4965,24 @@ export const MODELS = {
4965
4965
  contextWindow: 256000,
4966
4966
  maxTokens: 128000,
4967
4967
  },
4968
+ "mai-code-1.1-flash": {
4969
+ id: "mai-code-1.1-flash",
4970
+ name: "MAI-Code-1.1-Flash",
4971
+ api: "openai-responses",
4972
+ provider: "github-copilot",
4973
+ baseUrl: "https://api.individual.githubcopilot.com",
4974
+ headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4975
+ reasoning: true,
4976
+ input: ["text", "image"],
4977
+ cost: {
4978
+ input: 0.2,
4979
+ output: 1.2,
4980
+ cacheRead: 0.02,
4981
+ cacheWrite: 0,
4982
+ },
4983
+ contextWindow: 256000,
4984
+ maxTokens: 128000,
4985
+ },
4968
4986
  },
4969
4987
  "google": {
4970
4988
  "deep-research-max-preview-04-2026": {
@@ -9489,6 +9507,24 @@ export const MODELS = {
9489
9507
  contextWindow: 500000,
9490
9508
  maxTokens: 500000,
9491
9509
  },
9510
+ "grok-4.6": {
9511
+ id: "grok-4.6",
9512
+ name: "Grok 4.6",
9513
+ api: "openai-responses",
9514
+ provider: "opencode",
9515
+ baseUrl: "https://opencode.ai/zen/v1",
9516
+ compat: { "sessionAffinityFormat": "openai-nosession" },
9517
+ reasoning: true,
9518
+ input: ["text", "image"],
9519
+ cost: {
9520
+ input: 2,
9521
+ output: 6,
9522
+ cacheRead: 0.5,
9523
+ cacheWrite: 0,
9524
+ },
9525
+ contextWindow: 500000,
9526
+ maxTokens: 500000,
9527
+ },
9492
9528
  "grok-build-0.1": {
9493
9529
  id: "grok-build-0.1",
9494
9530
  name: "Grok Build 0.1",
@@ -9786,7 +9822,7 @@ export const MODELS = {
9786
9822
  },
9787
9823
  "deepseek-v4-pro": {
9788
9824
  id: "deepseek-v4-pro",
9789
- name: "DeepSeek V4 Pro",
9825
+ name: "DeepSeek V4 Pro (New)",
9790
9826
  api: "openai-completions",
9791
9827
  provider: "opencode-go",
9792
9828
  baseUrl: "https://opencode.ai/zen/go/v1",
@@ -10841,6 +10877,23 @@ export const MODELS = {
10841
10877
  contextWindow: 262144,
10842
10878
  maxTokens: 32768,
10843
10879
  },
10880
+ "bytedance-seed/seed-2-1-turbo": {
10881
+ id: "bytedance-seed/seed-2-1-turbo",
10882
+ name: "ByteDance Seed: Seed 2.1 Turbo",
10883
+ api: "openai-completions",
10884
+ provider: "openrouter",
10885
+ baseUrl: "https://openrouter.ai/api/v1",
10886
+ reasoning: true,
10887
+ input: ["text", "image"],
10888
+ cost: {
10889
+ input: 0.5,
10890
+ output: 2.5,
10891
+ cacheRead: 0,
10892
+ cacheWrite: 0,
10893
+ },
10894
+ contextWindow: 262144,
10895
+ maxTokens: 262144,
10896
+ },
10844
10897
  "bytedance-seed/seed-2.0-code": {
10845
10898
  id: "bytedance-seed/seed-2.0-code",
10846
10899
  name: "ByteDance Seed: Seed-2.0-Code",
@@ -11136,6 +11189,25 @@ export const MODELS = {
11136
11189
  contextWindow: 1048576,
11137
11190
  maxTokens: 393216,
11138
11191
  },
11192
+ "deepseek/deepseek-v4-pro-0813": {
11193
+ id: "deepseek/deepseek-v4-pro-0813",
11194
+ name: "DeepSeek: DeepSeek V4 Pro 0813",
11195
+ api: "openai-completions",
11196
+ provider: "openrouter",
11197
+ baseUrl: "https://openrouter.ai/api/v1",
11198
+ compat: { "requiresReasoningContentOnAssistantMessages": true },
11199
+ reasoning: true,
11200
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "xhigh" },
11201
+ input: ["text"],
11202
+ cost: {
11203
+ input: 0.435,
11204
+ output: 0.87,
11205
+ cacheRead: 0.003625,
11206
+ cacheWrite: 0,
11207
+ },
11208
+ contextWindow: 1048576,
11209
+ maxTokens: 384000,
11210
+ },
11139
11211
  "google/gemini-2.5-flash": {
11140
11212
  id: "google/gemini-2.5-flash",
11141
11213
  name: "Google: Gemini 2.5 Flash",
@@ -12439,9 +12511,9 @@ export const MODELS = {
12439
12511
  reasoning: true,
12440
12512
  input: ["text", "image"],
12441
12513
  cost: {
12442
- input: 0.95,
12443
- output: 4,
12444
- cacheRead: 0.16,
12514
+ input: 0.5795,
12515
+ output: 2.44,
12516
+ cacheRead: 0.0976,
12445
12517
  cacheWrite: 0,
12446
12518
  },
12447
12519
  contextWindow: 262144,
@@ -12456,8 +12528,8 @@ export const MODELS = {
12456
12528
  reasoning: true,
12457
12529
  input: ["text", "image"],
12458
12530
  cost: {
12459
- input: 0.7,
12460
- output: 3.5,
12531
+ input: 0.67,
12532
+ output: 3.4,
12461
12533
  cacheRead: 0.15,
12462
12534
  cacheWrite: 0,
12463
12535
  },
@@ -15164,6 +15236,23 @@ export const MODELS = {
15164
15236
  contextWindow: 1000000,
15165
15237
  maxTokens: 131072,
15166
15238
  },
15239
+ "qwen/qwen3.8-2.4t-a95b": {
15240
+ id: "qwen/qwen3.8-2.4t-a95b",
15241
+ name: "Qwen: Qwen3.8 2.4T A95B",
15242
+ api: "openai-completions",
15243
+ provider: "openrouter",
15244
+ baseUrl: "https://openrouter.ai/api/v1",
15245
+ reasoning: true,
15246
+ input: ["text"],
15247
+ cost: {
15248
+ input: 2,
15249
+ output: 6,
15250
+ cacheRead: 0.19999999999999998,
15251
+ cacheWrite: 0,
15252
+ },
15253
+ contextWindow: 262144,
15254
+ maxTokens: 52429,
15255
+ },
15167
15256
  "qwen/qwen3.8-max": {
15168
15257
  id: "qwen/qwen3.8-max",
15169
15258
  name: "Qwen: Qwen3.8 Max",
@@ -15487,6 +15576,23 @@ export const MODELS = {
15487
15576
  contextWindow: 500000,
15488
15577
  maxTokens: 4096,
15489
15578
  },
15579
+ "x-ai/grok-4.6": {
15580
+ id: "x-ai/grok-4.6",
15581
+ name: "SpaceXAI: Grok 4.6",
15582
+ api: "openai-completions",
15583
+ provider: "openrouter",
15584
+ baseUrl: "https://openrouter.ai/api/v1",
15585
+ reasoning: true,
15586
+ input: ["text", "image"],
15587
+ cost: {
15588
+ input: 2,
15589
+ output: 6,
15590
+ cacheRead: 0.5,
15591
+ cacheWrite: 0,
15592
+ },
15593
+ contextWindow: 500000,
15594
+ maxTokens: 4096,
15595
+ },
15490
15596
  "x-ai/grok-build-0.1": {
15491
15597
  id: "x-ai/grok-build-0.1",
15492
15598
  name: "SpaceXAI: Grok Build 0.1",
@@ -15717,9 +15823,9 @@ export const MODELS = {
15717
15823
  reasoning: true,
15718
15824
  input: ["text"],
15719
15825
  cost: {
15720
- input: 0.5,
15721
- output: 3.15,
15722
- cacheRead: 0.09999999999999999,
15826
+ input: 0.49,
15827
+ output: 1.54,
15828
+ cacheRead: 0.091,
15723
15829
  cacheWrite: 0,
15724
15830
  },
15725
15831
  contextWindow: 1048576,
@@ -15946,7 +16052,7 @@ export const MODELS = {
15946
16052
  cost: {
15947
16053
  input: 2,
15948
16054
  output: 6,
15949
- cacheRead: 0.3,
16055
+ cacheRead: 0.5,
15950
16056
  cacheWrite: 0,
15951
16057
  },
15952
16058
  contextWindow: 500000,
@@ -17938,6 +18044,23 @@ export const MODELS = {
17938
18044
  contextWindow: 1048600,
17939
18045
  maxTokens: 1048600,
17940
18046
  },
18047
+ "deepseek/deepseek-v4-pro-0813": {
18048
+ id: "deepseek/deepseek-v4-pro-0813",
18049
+ name: "DeepSeek V4 Pro 0813",
18050
+ api: "anthropic-messages",
18051
+ provider: "vercel-ai-gateway",
18052
+ baseUrl: "https://ai-gateway.vercel.sh",
18053
+ reasoning: true,
18054
+ input: ["text"],
18055
+ cost: {
18056
+ input: 0.435,
18057
+ output: 0.87,
18058
+ cacheRead: 0.0036,
18059
+ cacheWrite: 0,
18060
+ },
18061
+ contextWindow: 1000000,
18062
+ maxTokens: 384000,
18063
+ },
17941
18064
  "google/gemini-2.5-flash": {
17942
18065
  id: "google/gemini-2.5-flash",
17943
18066
  name: "Gemini 2.5 Flash",
@@ -20008,6 +20131,23 @@ export const MODELS = {
20008
20131
  contextWindow: 500000,
20009
20132
  maxTokens: 500000,
20010
20133
  },
20134
+ "xai/grok-4.6": {
20135
+ id: "xai/grok-4.6",
20136
+ name: "Grok 4.6",
20137
+ api: "anthropic-messages",
20138
+ provider: "vercel-ai-gateway",
20139
+ baseUrl: "https://ai-gateway.vercel.sh",
20140
+ reasoning: true,
20141
+ input: ["text"],
20142
+ cost: {
20143
+ input: 2,
20144
+ output: 6,
20145
+ cacheRead: 0.5,
20146
+ cacheWrite: 0,
20147
+ },
20148
+ contextWindow: 500000,
20149
+ maxTokens: 500000,
20150
+ },
20011
20151
  "xai/grok-build-0.1": {
20012
20152
  id: "xai/grok-build-0.1",
20013
20153
  name: "Grok Build 0.1",
@@ -20420,6 +20560,23 @@ export const MODELS = {
20420
20560
  contextWindow: 500000,
20421
20561
  maxTokens: 500000,
20422
20562
  },
20563
+ "grok-4.6": {
20564
+ id: "grok-4.6",
20565
+ name: "Grok 4.6",
20566
+ api: "openai-completions",
20567
+ provider: "xai",
20568
+ baseUrl: "https://api.x.ai/v1",
20569
+ reasoning: true,
20570
+ input: ["text", "image"],
20571
+ cost: {
20572
+ input: 2,
20573
+ output: 6,
20574
+ cacheRead: 0.5,
20575
+ cacheWrite: 0,
20576
+ },
20577
+ contextWindow: 500000,
20578
+ maxTokens: 500000,
20579
+ },
20423
20580
  "grok-build-0.1": {
20424
20581
  id: "grok-build-0.1",
20425
20582
  name: "Grok Build 0.1",