@earendil-works/pi-ai 0.74.1 → 0.75.0

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.
@@ -4002,7 +4002,7 @@ export const MODELS = {
4002
4002
  baseUrl: "https://api.individual.githubcopilot.com",
4003
4003
  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" },
4004
4004
  reasoning: true,
4005
- thinkingLevelMap: { "off": null },
4005
+ thinkingLevelMap: { "off": null, "minimal": "low" },
4006
4006
  input: ["text", "image"],
4007
4007
  cost: {
4008
4008
  input: 0,
@@ -4021,7 +4021,7 @@ export const MODELS = {
4021
4021
  baseUrl: "https://api.individual.githubcopilot.com",
4022
4022
  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" },
4023
4023
  reasoning: true,
4024
- thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
4024
+ thinkingLevelMap: { "off": null, "minimal": "low", "xhigh": "xhigh" },
4025
4025
  input: ["text", "image"],
4026
4026
  cost: {
4027
4027
  input: 0,
@@ -4040,7 +4040,7 @@ export const MODELS = {
4040
4040
  baseUrl: "https://api.individual.githubcopilot.com",
4041
4041
  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" },
4042
4042
  reasoning: true,
4043
- thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
4043
+ thinkingLevelMap: { "off": null, "minimal": "low", "xhigh": "xhigh" },
4044
4044
  input: ["text", "image"],
4045
4045
  cost: {
4046
4046
  input: 0,
@@ -4059,7 +4059,7 @@ export const MODELS = {
4059
4059
  baseUrl: "https://api.individual.githubcopilot.com",
4060
4060
  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" },
4061
4061
  reasoning: true,
4062
- thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
4062
+ thinkingLevelMap: { "off": null, "minimal": "low", "xhigh": "xhigh" },
4063
4063
  input: ["text", "image"],
4064
4064
  cost: {
4065
4065
  input: 0,
@@ -4078,7 +4078,7 @@ export const MODELS = {
4078
4078
  baseUrl: "https://api.individual.githubcopilot.com",
4079
4079
  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" },
4080
4080
  reasoning: true,
4081
- thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
4081
+ thinkingLevelMap: { "off": null, "minimal": "low", "xhigh": "xhigh" },
4082
4082
  input: ["text", "image"],
4083
4083
  cost: {
4084
4084
  input: 0,
@@ -4097,7 +4097,7 @@ export const MODELS = {
4097
4097
  baseUrl: "https://api.individual.githubcopilot.com",
4098
4098
  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" },
4099
4099
  reasoning: true,
4100
- thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
4100
+ thinkingLevelMap: { "off": null, "minimal": "low", "xhigh": "xhigh" },
4101
4101
  input: ["text", "image"],
4102
4102
  cost: {
4103
4103
  input: 0,
@@ -4116,7 +4116,7 @@ export const MODELS = {
4116
4116
  baseUrl: "https://api.individual.githubcopilot.com",
4117
4117
  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" },
4118
4118
  reasoning: true,
4119
- thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
4119
+ thinkingLevelMap: { "off": null, "minimal": "low", "xhigh": "xhigh" },
4120
4120
  input: ["text", "image"],
4121
4121
  cost: {
4122
4122
  input: 0,
@@ -7152,67 +7152,51 @@ export const MODELS = {
7152
7152
  },
7153
7153
  },
7154
7154
  "openai-codex": {
7155
- "gpt-5.1": {
7156
- id: "gpt-5.1",
7157
- name: "GPT-5.1",
7158
- api: "openai-codex-responses",
7159
- provider: "openai-codex",
7160
- baseUrl: "https://chatgpt.com/backend-api",
7161
- reasoning: true,
7162
- input: ["text", "image"],
7163
- cost: {
7164
- input: 1.25,
7165
- output: 10,
7166
- cacheRead: 0.125,
7167
- cacheWrite: 0,
7168
- },
7169
- contextWindow: 272000,
7170
- maxTokens: 128000,
7171
- },
7172
- "gpt-5.1-codex-max": {
7173
- id: "gpt-5.1-codex-max",
7174
- name: "GPT-5.1 Codex Max",
7155
+ "gpt-5.2": {
7156
+ id: "gpt-5.2",
7157
+ name: "GPT-5.2",
7175
7158
  api: "openai-codex-responses",
7176
7159
  provider: "openai-codex",
7177
7160
  baseUrl: "https://chatgpt.com/backend-api",
7178
7161
  reasoning: true,
7162
+ thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7179
7163
  input: ["text", "image"],
7180
7164
  cost: {
7181
- input: 1.25,
7182
- output: 10,
7183
- cacheRead: 0.125,
7165
+ input: 1.75,
7166
+ output: 14,
7167
+ cacheRead: 0.175,
7184
7168
  cacheWrite: 0,
7185
7169
  },
7186
7170
  contextWindow: 272000,
7187
7171
  maxTokens: 128000,
7188
7172
  },
7189
- "gpt-5.1-codex-mini": {
7190
- id: "gpt-5.1-codex-mini",
7191
- name: "GPT-5.1 Codex Mini",
7173
+ "gpt-5.3-codex": {
7174
+ id: "gpt-5.3-codex",
7175
+ name: "GPT-5.3 Codex",
7192
7176
  api: "openai-codex-responses",
7193
7177
  provider: "openai-codex",
7194
7178
  baseUrl: "https://chatgpt.com/backend-api",
7195
7179
  reasoning: true,
7196
- thinkingLevelMap: { "minimal": "medium", "low": "medium", "medium": "medium", "high": "high" },
7180
+ thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7197
7181
  input: ["text", "image"],
7198
7182
  cost: {
7199
- input: 0.25,
7200
- output: 2,
7201
- cacheRead: 0.025,
7183
+ input: 1.75,
7184
+ output: 14,
7185
+ cacheRead: 0.175,
7202
7186
  cacheWrite: 0,
7203
7187
  },
7204
7188
  contextWindow: 272000,
7205
7189
  maxTokens: 128000,
7206
7190
  },
7207
- "gpt-5.2": {
7208
- id: "gpt-5.2",
7209
- name: "GPT-5.2",
7191
+ "gpt-5.3-codex-spark": {
7192
+ id: "gpt-5.3-codex-spark",
7193
+ name: "GPT-5.3 Codex Spark",
7210
7194
  api: "openai-codex-responses",
7211
7195
  provider: "openai-codex",
7212
7196
  baseUrl: "https://chatgpt.com/backend-api",
7213
7197
  reasoning: true,
7214
7198
  thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7215
- input: ["text", "image"],
7199
+ input: ["text"],
7216
7200
  cost: {
7217
7201
  input: 1.75,
7218
7202
  output: 14,
@@ -7222,9 +7206,9 @@ export const MODELS = {
7222
7206
  contextWindow: 272000,
7223
7207
  maxTokens: 128000,
7224
7208
  },
7225
- "gpt-5.2-codex": {
7226
- id: "gpt-5.2-codex",
7227
- name: "GPT-5.2 Codex",
7209
+ "gpt-5.4": {
7210
+ id: "gpt-5.4",
7211
+ name: "GPT-5.4",
7228
7212
  api: "openai-codex-responses",
7229
7213
  provider: "openai-codex",
7230
7214
  baseUrl: "https://chatgpt.com/backend-api",
@@ -7232,17 +7216,17 @@ export const MODELS = {
7232
7216
  thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7233
7217
  input: ["text", "image"],
7234
7218
  cost: {
7235
- input: 1.75,
7236
- output: 14,
7237
- cacheRead: 0.175,
7219
+ input: 2.5,
7220
+ output: 15,
7221
+ cacheRead: 0.25,
7238
7222
  cacheWrite: 0,
7239
7223
  },
7240
7224
  contextWindow: 272000,
7241
7225
  maxTokens: 128000,
7242
7226
  },
7243
- "gpt-5.3-codex": {
7244
- id: "gpt-5.3-codex",
7245
- name: "GPT-5.3 Codex",
7227
+ "gpt-5.4-fast": {
7228
+ id: "gpt-5.4-fast",
7229
+ name: "GPT-5.4 Fast",
7246
7230
  api: "openai-codex-responses",
7247
7231
  provider: "openai-codex",
7248
7232
  baseUrl: "https://chatgpt.com/backend-api",
@@ -7250,35 +7234,35 @@ export const MODELS = {
7250
7234
  thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7251
7235
  input: ["text", "image"],
7252
7236
  cost: {
7253
- input: 1.75,
7254
- output: 14,
7255
- cacheRead: 0.175,
7237
+ input: 5,
7238
+ output: 30,
7239
+ cacheRead: 0.5,
7256
7240
  cacheWrite: 0,
7257
7241
  },
7258
7242
  contextWindow: 272000,
7259
7243
  maxTokens: 128000,
7260
7244
  },
7261
- "gpt-5.3-codex-spark": {
7262
- id: "gpt-5.3-codex-spark",
7263
- name: "GPT-5.3 Codex Spark",
7245
+ "gpt-5.4-mini": {
7246
+ id: "gpt-5.4-mini",
7247
+ name: "GPT-5.4 mini",
7264
7248
  api: "openai-codex-responses",
7265
7249
  provider: "openai-codex",
7266
7250
  baseUrl: "https://chatgpt.com/backend-api",
7267
7251
  reasoning: true,
7268
7252
  thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7269
- input: ["text"],
7253
+ input: ["text", "image"],
7270
7254
  cost: {
7271
- input: 0,
7272
- output: 0,
7273
- cacheRead: 0,
7255
+ input: 0.75,
7256
+ output: 4.5,
7257
+ cacheRead: 0.075,
7274
7258
  cacheWrite: 0,
7275
7259
  },
7276
- contextWindow: 128000,
7260
+ contextWindow: 272000,
7277
7261
  maxTokens: 128000,
7278
7262
  },
7279
- "gpt-5.4": {
7280
- id: "gpt-5.4",
7281
- name: "GPT-5.4",
7263
+ "gpt-5.4-mini-fast": {
7264
+ id: "gpt-5.4-mini-fast",
7265
+ name: "GPT-5.4 mini Fast",
7282
7266
  api: "openai-codex-responses",
7283
7267
  provider: "openai-codex",
7284
7268
  baseUrl: "https://chatgpt.com/backend-api",
@@ -7286,17 +7270,17 @@ export const MODELS = {
7286
7270
  thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7287
7271
  input: ["text", "image"],
7288
7272
  cost: {
7289
- input: 2.5,
7290
- output: 15,
7291
- cacheRead: 0.25,
7273
+ input: 1.5,
7274
+ output: 9,
7275
+ cacheRead: 0.15,
7292
7276
  cacheWrite: 0,
7293
7277
  },
7294
7278
  contextWindow: 272000,
7295
7279
  maxTokens: 128000,
7296
7280
  },
7297
- "gpt-5.4-mini": {
7298
- id: "gpt-5.4-mini",
7299
- name: "GPT-5.4 Mini",
7281
+ "gpt-5.5": {
7282
+ id: "gpt-5.5",
7283
+ name: "GPT-5.5",
7300
7284
  api: "openai-codex-responses",
7301
7285
  provider: "openai-codex",
7302
7286
  baseUrl: "https://chatgpt.com/backend-api",
@@ -7304,17 +7288,17 @@ export const MODELS = {
7304
7288
  thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7305
7289
  input: ["text", "image"],
7306
7290
  cost: {
7307
- input: 0.75,
7308
- output: 4.5,
7309
- cacheRead: 0.075,
7291
+ input: 5,
7292
+ output: 30,
7293
+ cacheRead: 0.5,
7310
7294
  cacheWrite: 0,
7311
7295
  },
7312
7296
  contextWindow: 272000,
7313
7297
  maxTokens: 128000,
7314
7298
  },
7315
- "gpt-5.5": {
7316
- id: "gpt-5.5",
7317
- name: "GPT-5.5",
7299
+ "gpt-5.5-fast": {
7300
+ id: "gpt-5.5-fast",
7301
+ name: "GPT-5.5 Fast",
7318
7302
  api: "openai-codex-responses",
7319
7303
  provider: "openai-codex",
7320
7304
  baseUrl: "https://chatgpt.com/backend-api",
@@ -7322,9 +7306,9 @@ export const MODELS = {
7322
7306
  thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7323
7307
  input: ["text", "image"],
7324
7308
  cost: {
7325
- input: 5,
7326
- output: 30,
7327
- cacheRead: 0.5,
7309
+ input: 12.5,
7310
+ output: 75,
7311
+ cacheRead: 1.25,
7328
7312
  cacheWrite: 0,
7329
7313
  },
7330
7314
  contextWindow: 272000,
@@ -9304,13 +9288,13 @@ export const MODELS = {
9304
9288
  reasoning: true,
9305
9289
  input: ["text", "image"],
9306
9290
  cost: {
9307
- input: 0.07,
9308
- output: 0.33999999999999997,
9291
+ input: 0.06,
9292
+ output: 0.33,
9309
9293
  cacheRead: 0,
9310
9294
  cacheWrite: 0,
9311
9295
  },
9312
9296
  contextWindow: 262144,
9313
- maxTokens: 16384,
9297
+ maxTokens: 4096,
9314
9298
  },
9315
9299
  "google/gemma-4-26b-a4b-it:free": {
9316
9300
  id: "google/gemma-4-26b-a4b-it:free",
@@ -9901,12 +9885,12 @@ export const MODELS = {
9901
9885
  input: ["text"],
9902
9886
  cost: {
9903
9887
  input: 0.02,
9904
- output: 0.04,
9888
+ output: 0.03,
9905
9889
  cacheRead: 0,
9906
9890
  cacheWrite: 0,
9907
9891
  },
9908
9892
  contextWindow: 131072,
9909
- maxTokens: 16384,
9893
+ maxTokens: 4096,
9910
9894
  },
9911
9895
  "mistralai/mistral-saba": {
9912
9896
  id: "mistralai/mistral-saba",
@@ -10189,13 +10173,13 @@ export const MODELS = {
10189
10173
  reasoning: true,
10190
10174
  input: ["text"],
10191
10175
  cost: {
10192
- input: 0.09999999999999999,
10193
- output: 0.5,
10176
+ input: 0.09,
10177
+ output: 0.44999999999999996,
10194
10178
  cacheRead: 0,
10195
10179
  cacheWrite: 0,
10196
10180
  },
10197
10181
  contextWindow: 1000000,
10198
- maxTokens: 16384,
10182
+ maxTokens: 4096,
10199
10183
  },
10200
10184
  "nvidia/nemotron-3-super-120b-a12b:free": {
10201
10185
  id: "nvidia/nemotron-3-super-120b-a12b:free",
@@ -11018,12 +11002,12 @@ export const MODELS = {
11018
11002
  input: ["text"],
11019
11003
  cost: {
11020
11004
  input: 0.039,
11021
- output: 0.19,
11005
+ output: 0.18,
11022
11006
  cacheRead: 0,
11023
11007
  cacheWrite: 0,
11024
11008
  },
11025
11009
  contextWindow: 131072,
11026
- maxTokens: 131072,
11010
+ maxTokens: 4096,
11027
11011
  },
11028
11012
  "openai/gpt-oss-120b:free": {
11029
11013
  id: "openai/gpt-oss-120b:free",