@caupulican/pi-ai 0.80.0 → 0.80.2

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.
@@ -3852,7 +3852,7 @@ export const MODELS = {
3852
3852
  "github-copilot": {
3853
3853
  "claude-haiku-4.5": {
3854
3854
  id: "claude-haiku-4.5",
3855
- name: "Claude Haiku 4.5",
3855
+ name: "Claude Haiku 4.5 (latest)",
3856
3856
  api: "anthropic-messages",
3857
3857
  provider: "github-copilot",
3858
3858
  baseUrl: "https://api.individual.githubcopilot.com",
@@ -3861,17 +3861,17 @@ export const MODELS = {
3861
3861
  reasoning: true,
3862
3862
  input: ["text", "image"],
3863
3863
  cost: {
3864
- input: 0,
3865
- output: 0,
3866
- cacheRead: 0,
3867
- cacheWrite: 0,
3864
+ input: 1,
3865
+ output: 5,
3866
+ cacheRead: 0.1,
3867
+ cacheWrite: 1.25,
3868
3868
  },
3869
3869
  contextWindow: 200000,
3870
3870
  maxTokens: 64000,
3871
3871
  },
3872
3872
  "claude-opus-4.5": {
3873
3873
  id: "claude-opus-4.5",
3874
- name: "Claude Opus 4.5",
3874
+ name: "Claude Opus 4.5 (latest)",
3875
3875
  api: "anthropic-messages",
3876
3876
  provider: "github-copilot",
3877
3877
  baseUrl: "https://api.individual.githubcopilot.com",
@@ -3879,13 +3879,13 @@ export const MODELS = {
3879
3879
  reasoning: true,
3880
3880
  input: ["text", "image"],
3881
3881
  cost: {
3882
- input: 0,
3883
- output: 0,
3884
- cacheRead: 0,
3885
- cacheWrite: 0,
3882
+ input: 5,
3883
+ output: 25,
3884
+ cacheRead: 0.5,
3885
+ cacheWrite: 6.25,
3886
3886
  },
3887
3887
  contextWindow: 200000,
3888
- maxTokens: 32000,
3888
+ maxTokens: 64000,
3889
3889
  },
3890
3890
  "claude-opus-4.6": {
3891
3891
  id: "claude-opus-4.6",
@@ -3899,13 +3899,13 @@ export const MODELS = {
3899
3899
  thinkingLevelMap: { "xhigh": "max" },
3900
3900
  input: ["text", "image"],
3901
3901
  cost: {
3902
- input: 0,
3903
- output: 0,
3904
- cacheRead: 0,
3905
- cacheWrite: 0,
3902
+ input: 5,
3903
+ output: 25,
3904
+ cacheRead: 0.5,
3905
+ cacheWrite: 6.25,
3906
3906
  },
3907
3907
  contextWindow: 1000000,
3908
- maxTokens: 32000,
3908
+ maxTokens: 128000,
3909
3909
  },
3910
3910
  "claude-opus-4.7": {
3911
3911
  id: "claude-opus-4.7",
@@ -3919,13 +3919,13 @@ export const MODELS = {
3919
3919
  thinkingLevelMap: { "xhigh": "xhigh" },
3920
3920
  input: ["text", "image"],
3921
3921
  cost: {
3922
- input: 0,
3923
- output: 0,
3924
- cacheRead: 0,
3925
- cacheWrite: 0,
3922
+ input: 5,
3923
+ output: 25,
3924
+ cacheRead: 0.5,
3925
+ cacheWrite: 6.25,
3926
3926
  },
3927
- contextWindow: 200000,
3928
- maxTokens: 32000,
3927
+ contextWindow: 1000000,
3928
+ maxTokens: 128000,
3929
3929
  },
3930
3930
  "claude-opus-4.8": {
3931
3931
  id: "claude-opus-4.8",
@@ -3939,17 +3939,36 @@ export const MODELS = {
3939
3939
  thinkingLevelMap: { "xhigh": "xhigh" },
3940
3940
  input: ["text", "image"],
3941
3941
  cost: {
3942
- input: 0,
3943
- output: 0,
3944
- cacheRead: 0,
3945
- cacheWrite: 0,
3942
+ input: 5,
3943
+ output: 25,
3944
+ cacheRead: 0.5,
3945
+ cacheWrite: 6.25,
3946
+ },
3947
+ contextWindow: 1000000,
3948
+ maxTokens: 128000,
3949
+ },
3950
+ "claude-sonnet-4": {
3951
+ id: "claude-sonnet-4",
3952
+ name: "Claude Sonnet 4 (latest)",
3953
+ api: "anthropic-messages",
3954
+ provider: "github-copilot",
3955
+ baseUrl: "https://api.individual.githubcopilot.com",
3956
+ 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" },
3957
+ compat: { "supportsEagerToolInputStreaming": false },
3958
+ reasoning: true,
3959
+ input: ["text", "image"],
3960
+ cost: {
3961
+ input: 3,
3962
+ output: 15,
3963
+ cacheRead: 0.3,
3964
+ cacheWrite: 3.75,
3946
3965
  },
3947
3966
  contextWindow: 200000,
3948
3967
  maxTokens: 64000,
3949
3968
  },
3950
3969
  "claude-sonnet-4.5": {
3951
3970
  id: "claude-sonnet-4.5",
3952
- name: "Claude Sonnet 4.5",
3971
+ name: "Claude Sonnet 4.5 (latest)",
3953
3972
  api: "anthropic-messages",
3954
3973
  provider: "github-copilot",
3955
3974
  baseUrl: "https://api.individual.githubcopilot.com",
@@ -3958,13 +3977,13 @@ export const MODELS = {
3958
3977
  reasoning: true,
3959
3978
  input: ["text", "image"],
3960
3979
  cost: {
3961
- input: 0,
3962
- output: 0,
3963
- cacheRead: 0,
3964
- cacheWrite: 0,
3980
+ input: 3,
3981
+ output: 15,
3982
+ cacheRead: 0.3,
3983
+ cacheWrite: 3.75,
3965
3984
  },
3966
3985
  contextWindow: 200000,
3967
- maxTokens: 32000,
3986
+ maxTokens: 64000,
3968
3987
  },
3969
3988
  "claude-sonnet-4.6": {
3970
3989
  id: "claude-sonnet-4.6",
@@ -3977,13 +3996,13 @@ export const MODELS = {
3977
3996
  reasoning: true,
3978
3997
  input: ["text", "image"],
3979
3998
  cost: {
3980
- input: 0,
3981
- output: 0,
3982
- cacheRead: 0,
3983
- cacheWrite: 0,
3999
+ input: 3,
4000
+ output: 15,
4001
+ cacheRead: 0.3,
4002
+ cacheWrite: 3.75,
3984
4003
  },
3985
4004
  contextWindow: 1000000,
3986
- maxTokens: 32000,
4005
+ maxTokens: 64000,
3987
4006
  },
3988
4007
  "gemini-2.5-pro": {
3989
4008
  id: "gemini-2.5-pro",
@@ -3993,20 +4012,20 @@ export const MODELS = {
3993
4012
  baseUrl: "https://api.individual.githubcopilot.com",
3994
4013
  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" },
3995
4014
  compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false },
3996
- reasoning: false,
4015
+ reasoning: true,
3997
4016
  input: ["text", "image"],
3998
4017
  cost: {
3999
- input: 0,
4000
- output: 0,
4001
- cacheRead: 0,
4018
+ input: 1.25,
4019
+ output: 10,
4020
+ cacheRead: 0.125,
4002
4021
  cacheWrite: 0,
4003
4022
  },
4004
- contextWindow: 128000,
4005
- maxTokens: 64000,
4023
+ contextWindow: 1048576,
4024
+ maxTokens: 65536,
4006
4025
  },
4007
4026
  "gemini-3-flash-preview": {
4008
4027
  id: "gemini-3-flash-preview",
4009
- name: "Gemini 3 Flash",
4028
+ name: "Gemini 3 Flash Preview",
4010
4029
  api: "openai-completions",
4011
4030
  provider: "github-copilot",
4012
4031
  baseUrl: "https://api.individual.githubcopilot.com",
@@ -4015,13 +4034,13 @@ export const MODELS = {
4015
4034
  reasoning: true,
4016
4035
  input: ["text", "image"],
4017
4036
  cost: {
4018
- input: 0,
4019
- output: 0,
4020
- cacheRead: 0,
4037
+ input: 0.5,
4038
+ output: 3,
4039
+ cacheRead: 0.05,
4021
4040
  cacheWrite: 0,
4022
4041
  },
4023
- contextWindow: 128000,
4024
- maxTokens: 64000,
4042
+ contextWindow: 1048576,
4043
+ maxTokens: 65536,
4025
4044
  },
4026
4045
  "gemini-3.1-pro-preview": {
4027
4046
  id: "gemini-3.1-pro-preview",
@@ -4034,13 +4053,13 @@ export const MODELS = {
4034
4053
  reasoning: true,
4035
4054
  input: ["text", "image"],
4036
4055
  cost: {
4037
- input: 0,
4038
- output: 0,
4039
- cacheRead: 0,
4056
+ input: 2,
4057
+ output: 12,
4058
+ cacheRead: 0.2,
4040
4059
  cacheWrite: 0,
4041
4060
  },
4042
- contextWindow: 200000,
4043
- maxTokens: 64000,
4061
+ contextWindow: 1048576,
4062
+ maxTokens: 65536,
4044
4063
  },
4045
4064
  "gemini-3.5-flash": {
4046
4065
  id: "gemini-3.5-flash",
@@ -4053,13 +4072,13 @@ export const MODELS = {
4053
4072
  reasoning: true,
4054
4073
  input: ["text", "image"],
4055
4074
  cost: {
4056
- input: 0,
4057
- output: 0,
4058
- cacheRead: 0,
4075
+ input: 1.5,
4076
+ output: 9,
4077
+ cacheRead: 0.15,
4059
4078
  cacheWrite: 0,
4060
4079
  },
4061
- contextWindow: 200000,
4062
- maxTokens: 64000,
4080
+ contextWindow: 1048576,
4081
+ maxTokens: 65536,
4063
4082
  },
4064
4083
  "gpt-4.1": {
4065
4084
  id: "gpt-4.1",
@@ -4072,36 +4091,17 @@ export const MODELS = {
4072
4091
  reasoning: false,
4073
4092
  input: ["text", "image"],
4074
4093
  cost: {
4075
- input: 0,
4076
- output: 0,
4077
- cacheRead: 0,
4078
- cacheWrite: 0,
4079
- },
4080
- contextWindow: 128000,
4081
- maxTokens: 16384,
4082
- },
4083
- "gpt-4o": {
4084
- id: "gpt-4o",
4085
- name: "GPT-4o",
4086
- api: "openai-completions",
4087
- provider: "github-copilot",
4088
- baseUrl: "https://api.individual.githubcopilot.com",
4089
- 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" },
4090
- compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false },
4091
- reasoning: false,
4092
- input: ["text", "image"],
4093
- cost: {
4094
- input: 0,
4095
- output: 0,
4096
- cacheRead: 0,
4094
+ input: 2,
4095
+ output: 8,
4096
+ cacheRead: 0.5,
4097
4097
  cacheWrite: 0,
4098
4098
  },
4099
- contextWindow: 128000,
4100
- maxTokens: 4096,
4099
+ contextWindow: 1047576,
4100
+ maxTokens: 32768,
4101
4101
  },
4102
4102
  "gpt-5-mini": {
4103
4103
  id: "gpt-5-mini",
4104
- name: "GPT-5-mini",
4104
+ name: "GPT-5 Mini",
4105
4105
  api: "openai-responses",
4106
4106
  provider: "github-copilot",
4107
4107
  baseUrl: "https://api.individual.githubcopilot.com",
@@ -4110,13 +4110,13 @@ export const MODELS = {
4110
4110
  thinkingLevelMap: { "off": null, "minimal": "low" },
4111
4111
  input: ["text", "image"],
4112
4112
  cost: {
4113
- input: 0,
4114
- output: 0,
4115
- cacheRead: 0,
4113
+ input: 0.25,
4114
+ output: 2,
4115
+ cacheRead: 0.025,
4116
4116
  cacheWrite: 0,
4117
4117
  },
4118
- contextWindow: 264000,
4119
- maxTokens: 64000,
4118
+ contextWindow: 400000,
4119
+ maxTokens: 128000,
4120
4120
  },
4121
4121
  "gpt-5.2": {
4122
4122
  id: "gpt-5.2",
@@ -4129,9 +4129,9 @@ export const MODELS = {
4129
4129
  thinkingLevelMap: { "off": null, "minimal": "low", "xhigh": "xhigh" },
4130
4130
  input: ["text", "image"],
4131
4131
  cost: {
4132
- input: 0,
4133
- output: 0,
4134
- cacheRead: 0,
4132
+ input: 1.75,
4133
+ output: 14,
4134
+ cacheRead: 0.175,
4135
4135
  cacheWrite: 0,
4136
4136
  },
4137
4137
  contextWindow: 400000,
@@ -4139,7 +4139,7 @@ export const MODELS = {
4139
4139
  },
4140
4140
  "gpt-5.2-codex": {
4141
4141
  id: "gpt-5.2-codex",
4142
- name: "GPT-5.2-Codex",
4142
+ name: "GPT-5.2 Codex",
4143
4143
  api: "openai-responses",
4144
4144
  provider: "github-copilot",
4145
4145
  baseUrl: "https://api.individual.githubcopilot.com",
@@ -4148,9 +4148,9 @@ export const MODELS = {
4148
4148
  thinkingLevelMap: { "off": null, "minimal": "low", "xhigh": "xhigh" },
4149
4149
  input: ["text", "image"],
4150
4150
  cost: {
4151
- input: 0,
4152
- output: 0,
4153
- cacheRead: 0,
4151
+ input: 1.75,
4152
+ output: 14,
4153
+ cacheRead: 0.175,
4154
4154
  cacheWrite: 0,
4155
4155
  },
4156
4156
  contextWindow: 400000,
@@ -4158,7 +4158,7 @@ export const MODELS = {
4158
4158
  },
4159
4159
  "gpt-5.3-codex": {
4160
4160
  id: "gpt-5.3-codex",
4161
- name: "GPT-5.3-Codex",
4161
+ name: "GPT-5.3 Codex",
4162
4162
  api: "openai-responses",
4163
4163
  provider: "github-copilot",
4164
4164
  baseUrl: "https://api.individual.githubcopilot.com",
@@ -4167,9 +4167,9 @@ export const MODELS = {
4167
4167
  thinkingLevelMap: { "off": null, "minimal": "low", "xhigh": "xhigh" },
4168
4168
  input: ["text", "image"],
4169
4169
  cost: {
4170
- input: 0,
4171
- output: 0,
4172
- cacheRead: 0,
4170
+ input: 1.75,
4171
+ output: 14,
4172
+ cacheRead: 0.175,
4173
4173
  cacheWrite: 0,
4174
4174
  },
4175
4175
  contextWindow: 400000,
@@ -4186,17 +4186,17 @@ export const MODELS = {
4186
4186
  thinkingLevelMap: { "off": null, "minimal": "low", "xhigh": "xhigh" },
4187
4187
  input: ["text", "image"],
4188
4188
  cost: {
4189
- input: 0,
4190
- output: 0,
4191
- cacheRead: 0,
4189
+ input: 2.5,
4190
+ output: 15,
4191
+ cacheRead: 0.25,
4192
4192
  cacheWrite: 0,
4193
4193
  },
4194
- contextWindow: 400000,
4194
+ contextWindow: 1050000,
4195
4195
  maxTokens: 128000,
4196
4196
  },
4197
4197
  "gpt-5.4-mini": {
4198
4198
  id: "gpt-5.4-mini",
4199
- name: "GPT-5.4 Mini",
4199
+ name: "GPT-5.4 mini",
4200
4200
  api: "openai-responses",
4201
4201
  provider: "github-copilot",
4202
4202
  baseUrl: "https://api.individual.githubcopilot.com",
@@ -4205,9 +4205,28 @@ export const MODELS = {
4205
4205
  thinkingLevelMap: { "off": null, "minimal": "low", "xhigh": "xhigh" },
4206
4206
  input: ["text", "image"],
4207
4207
  cost: {
4208
- input: 0,
4209
- output: 0,
4210
- cacheRead: 0,
4208
+ input: 0.75,
4209
+ output: 4.5,
4210
+ cacheRead: 0.075,
4211
+ cacheWrite: 0,
4212
+ },
4213
+ contextWindow: 400000,
4214
+ maxTokens: 128000,
4215
+ },
4216
+ "gpt-5.4-nano": {
4217
+ id: "gpt-5.4-nano",
4218
+ name: "GPT-5.4 nano",
4219
+ api: "openai-responses",
4220
+ provider: "github-copilot",
4221
+ baseUrl: "https://api.individual.githubcopilot.com",
4222
+ 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" },
4223
+ reasoning: true,
4224
+ thinkingLevelMap: { "off": null, "minimal": "low", "xhigh": "xhigh" },
4225
+ input: ["text", "image"],
4226
+ cost: {
4227
+ input: 0.2,
4228
+ output: 1.25,
4229
+ cacheRead: 0.02,
4211
4230
  cacheWrite: 0,
4212
4231
  },
4213
4232
  contextWindow: 400000,
@@ -4224,32 +4243,32 @@ export const MODELS = {
4224
4243
  thinkingLevelMap: { "off": null, "minimal": "low", "xhigh": "xhigh" },
4225
4244
  input: ["text", "image"],
4226
4245
  cost: {
4227
- input: 0,
4228
- output: 0,
4229
- cacheRead: 0,
4246
+ input: 5,
4247
+ output: 30,
4248
+ cacheRead: 0.5,
4230
4249
  cacheWrite: 0,
4231
4250
  },
4232
- contextWindow: 400000,
4251
+ contextWindow: 1050000,
4233
4252
  maxTokens: 128000,
4234
4253
  },
4235
- "grok-code-fast-1": {
4236
- id: "grok-code-fast-1",
4237
- name: "Grok Code Fast 1",
4254
+ "raptor-mini": {
4255
+ id: "raptor-mini",
4256
+ name: "Raptor mini",
4238
4257
  api: "openai-completions",
4239
4258
  provider: "github-copilot",
4240
4259
  baseUrl: "https://api.individual.githubcopilot.com",
4241
4260
  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" },
4242
4261
  compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false },
4243
4262
  reasoning: true,
4244
- input: ["text"],
4263
+ input: ["text", "image"],
4245
4264
  cost: {
4246
- input: 0,
4247
- output: 0,
4248
- cacheRead: 0,
4265
+ input: 0.25,
4266
+ output: 2,
4267
+ cacheRead: 0.025,
4249
4268
  cacheWrite: 0,
4250
4269
  },
4251
- contextWindow: 128000,
4252
- maxTokens: 64000,
4270
+ contextWindow: 400000,
4271
+ maxTokens: 128000,
4253
4272
  },
4254
4273
  },
4255
4274
  "google": {
@@ -9509,13 +9528,13 @@ export const MODELS = {
9509
9528
  reasoning: true,
9510
9529
  input: ["text"],
9511
9530
  cost: {
9512
- input: 0.26,
9531
+ input: 0.27899999999999997,
9513
9532
  output: 1.2,
9514
9533
  cacheRead: 0,
9515
9534
  cacheWrite: 0,
9516
9535
  },
9517
9536
  contextWindow: 204800,
9518
- maxTokens: 4096,
9537
+ maxTokens: 131072,
9519
9538
  },
9520
9539
  "minimax/minimax-m3": {
9521
9540
  id: "minimax/minimax-m3",
@@ -12039,13 +12058,13 @@ export const MODELS = {
12039
12058
  reasoning: true,
12040
12059
  input: ["text"],
12041
12060
  cost: {
12042
- input: 0.06599999999999999,
12043
- output: 0.26,
12044
- cacheRead: 0.029,
12061
+ input: 0.063,
12062
+ output: 0.21,
12063
+ cacheRead: 0.020999999999999998,
12045
12064
  cacheWrite: 0,
12046
12065
  },
12047
12066
  contextWindow: 262144,
12048
- maxTokens: 262144,
12067
+ maxTokens: 4096,
12049
12068
  },
12050
12069
  "thedrummer/rocinante-12b": {
12051
12070
  id: "thedrummer/rocinante-12b",
@@ -13257,6 +13276,23 @@ export const MODELS = {
13257
13276
  contextWindow: 991000,
13258
13277
  maxTokens: 64000,
13259
13278
  },
13279
+ "alibaba/qwen3.7-plus": {
13280
+ id: "alibaba/qwen3.7-plus",
13281
+ name: "Qwen 3.7 Plus",
13282
+ api: "anthropic-messages",
13283
+ provider: "vercel-ai-gateway",
13284
+ baseUrl: "https://ai-gateway.vercel.sh",
13285
+ reasoning: true,
13286
+ input: ["text", "image"],
13287
+ cost: {
13288
+ input: 0.39999999999999997,
13289
+ output: 1.5999999999999999,
13290
+ cacheRead: 0.08,
13291
+ cacheWrite: 0.5,
13292
+ },
13293
+ contextWindow: 1000000,
13294
+ maxTokens: 64000,
13295
+ },
13260
13296
  "anthropic/claude-3-haiku": {
13261
13297
  id: "anthropic/claude-3-haiku",
13262
13298
  name: "Claude 3 Haiku",