@earendil-works/pi-ai 0.75.0 → 0.75.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.
@@ -7224,24 +7224,6 @@ export const MODELS = {
7224
7224
  contextWindow: 272000,
7225
7225
  maxTokens: 128000,
7226
7226
  },
7227
- "gpt-5.4-fast": {
7228
- id: "gpt-5.4-fast",
7229
- name: "GPT-5.4 Fast",
7230
- api: "openai-codex-responses",
7231
- provider: "openai-codex",
7232
- baseUrl: "https://chatgpt.com/backend-api",
7233
- reasoning: true,
7234
- thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7235
- input: ["text", "image"],
7236
- cost: {
7237
- input: 5,
7238
- output: 30,
7239
- cacheRead: 0.5,
7240
- cacheWrite: 0,
7241
- },
7242
- contextWindow: 272000,
7243
- maxTokens: 128000,
7244
- },
7245
7227
  "gpt-5.4-mini": {
7246
7228
  id: "gpt-5.4-mini",
7247
7229
  name: "GPT-5.4 mini",
@@ -7260,24 +7242,6 @@ export const MODELS = {
7260
7242
  contextWindow: 272000,
7261
7243
  maxTokens: 128000,
7262
7244
  },
7263
- "gpt-5.4-mini-fast": {
7264
- id: "gpt-5.4-mini-fast",
7265
- name: "GPT-5.4 mini Fast",
7266
- api: "openai-codex-responses",
7267
- provider: "openai-codex",
7268
- baseUrl: "https://chatgpt.com/backend-api",
7269
- reasoning: true,
7270
- thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7271
- input: ["text", "image"],
7272
- cost: {
7273
- input: 1.5,
7274
- output: 9,
7275
- cacheRead: 0.15,
7276
- cacheWrite: 0,
7277
- },
7278
- contextWindow: 272000,
7279
- maxTokens: 128000,
7280
- },
7281
7245
  "gpt-5.5": {
7282
7246
  id: "gpt-5.5",
7283
7247
  name: "GPT-5.5",
@@ -7296,24 +7260,6 @@ export const MODELS = {
7296
7260
  contextWindow: 272000,
7297
7261
  maxTokens: 128000,
7298
7262
  },
7299
- "gpt-5.5-fast": {
7300
- id: "gpt-5.5-fast",
7301
- name: "GPT-5.5 Fast",
7302
- api: "openai-codex-responses",
7303
- provider: "openai-codex",
7304
- baseUrl: "https://chatgpt.com/backend-api",
7305
- reasoning: true,
7306
- thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7307
- input: ["text", "image"],
7308
- cost: {
7309
- input: 12.5,
7310
- output: 75,
7311
- cacheRead: 1.25,
7312
- cacheWrite: 0,
7313
- },
7314
- contextWindow: 272000,
7315
- maxTokens: 128000,
7316
- },
7317
7263
  },
7318
7264
  "opencode": {
7319
7265
  "big-pickle": {
@@ -15927,9 +15873,9 @@ export const MODELS = {
15927
15873
  "mimo-v2-flash": {
15928
15874
  id: "mimo-v2-flash",
15929
15875
  name: "MiMo-V2-Flash",
15930
- api: "anthropic-messages",
15876
+ api: "openai-completions",
15931
15877
  provider: "xiaomi",
15932
- baseUrl: "https://api.xiaomimimo.com/anthropic",
15878
+ baseUrl: "https://api.xiaomimimo.com/v1",
15933
15879
  reasoning: true,
15934
15880
  input: ["text"],
15935
15881
  cost: {
@@ -15944,9 +15890,9 @@ export const MODELS = {
15944
15890
  "mimo-v2-omni": {
15945
15891
  id: "mimo-v2-omni",
15946
15892
  name: "MiMo-V2-Omni",
15947
- api: "anthropic-messages",
15893
+ api: "openai-completions",
15948
15894
  provider: "xiaomi",
15949
- baseUrl: "https://api.xiaomimimo.com/anthropic",
15895
+ baseUrl: "https://api.xiaomimimo.com/v1",
15950
15896
  reasoning: true,
15951
15897
  input: ["text", "image"],
15952
15898
  cost: {
@@ -15961,9 +15907,9 @@ export const MODELS = {
15961
15907
  "mimo-v2-pro": {
15962
15908
  id: "mimo-v2-pro",
15963
15909
  name: "MiMo-V2-Pro",
15964
- api: "anthropic-messages",
15910
+ api: "openai-completions",
15965
15911
  provider: "xiaomi",
15966
- baseUrl: "https://api.xiaomimimo.com/anthropic",
15912
+ baseUrl: "https://api.xiaomimimo.com/v1",
15967
15913
  reasoning: true,
15968
15914
  input: ["text"],
15969
15915
  cost: {
@@ -15978,9 +15924,9 @@ export const MODELS = {
15978
15924
  "mimo-v2.5": {
15979
15925
  id: "mimo-v2.5",
15980
15926
  name: "MiMo-V2.5",
15981
- api: "anthropic-messages",
15927
+ api: "openai-completions",
15982
15928
  provider: "xiaomi",
15983
- baseUrl: "https://api.xiaomimimo.com/anthropic",
15929
+ baseUrl: "https://api.xiaomimimo.com/v1",
15984
15930
  reasoning: true,
15985
15931
  input: ["text", "image"],
15986
15932
  cost: {
@@ -15995,9 +15941,9 @@ export const MODELS = {
15995
15941
  "mimo-v2.5-pro": {
15996
15942
  id: "mimo-v2.5-pro",
15997
15943
  name: "MiMo-V2.5-Pro",
15998
- api: "anthropic-messages",
15944
+ api: "openai-completions",
15999
15945
  provider: "xiaomi",
16000
- baseUrl: "https://api.xiaomimimo.com/anthropic",
15946
+ baseUrl: "https://api.xiaomimimo.com/v1",
16001
15947
  reasoning: true,
16002
15948
  input: ["text"],
16003
15949
  cost: {
@@ -16014,9 +15960,9 @@ export const MODELS = {
16014
15960
  "mimo-v2-flash": {
16015
15961
  id: "mimo-v2-flash",
16016
15962
  name: "MiMo-V2-Flash",
16017
- api: "anthropic-messages",
15963
+ api: "openai-completions",
16018
15964
  provider: "xiaomi-token-plan-ams",
16019
- baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
15965
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/v1",
16020
15966
  reasoning: true,
16021
15967
  input: ["text"],
16022
15968
  cost: {
@@ -16031,9 +15977,9 @@ export const MODELS = {
16031
15977
  "mimo-v2-omni": {
16032
15978
  id: "mimo-v2-omni",
16033
15979
  name: "MiMo-V2-Omni",
16034
- api: "anthropic-messages",
15980
+ api: "openai-completions",
16035
15981
  provider: "xiaomi-token-plan-ams",
16036
- baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
15982
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/v1",
16037
15983
  reasoning: true,
16038
15984
  input: ["text", "image"],
16039
15985
  cost: {
@@ -16048,9 +15994,9 @@ export const MODELS = {
16048
15994
  "mimo-v2-pro": {
16049
15995
  id: "mimo-v2-pro",
16050
15996
  name: "MiMo-V2-Pro",
16051
- api: "anthropic-messages",
15997
+ api: "openai-completions",
16052
15998
  provider: "xiaomi-token-plan-ams",
16053
- baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
15999
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/v1",
16054
16000
  reasoning: true,
16055
16001
  input: ["text"],
16056
16002
  cost: {
@@ -16065,9 +16011,9 @@ export const MODELS = {
16065
16011
  "mimo-v2.5": {
16066
16012
  id: "mimo-v2.5",
16067
16013
  name: "MiMo-V2.5",
16068
- api: "anthropic-messages",
16014
+ api: "openai-completions",
16069
16015
  provider: "xiaomi-token-plan-ams",
16070
- baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16016
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/v1",
16071
16017
  reasoning: true,
16072
16018
  input: ["text", "image"],
16073
16019
  cost: {
@@ -16082,9 +16028,9 @@ export const MODELS = {
16082
16028
  "mimo-v2.5-pro": {
16083
16029
  id: "mimo-v2.5-pro",
16084
16030
  name: "MiMo-V2.5-Pro",
16085
- api: "anthropic-messages",
16031
+ api: "openai-completions",
16086
16032
  provider: "xiaomi-token-plan-ams",
16087
- baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16033
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/v1",
16088
16034
  reasoning: true,
16089
16035
  input: ["text"],
16090
16036
  cost: {
@@ -16101,9 +16047,9 @@ export const MODELS = {
16101
16047
  "mimo-v2-flash": {
16102
16048
  id: "mimo-v2-flash",
16103
16049
  name: "MiMo-V2-Flash",
16104
- api: "anthropic-messages",
16050
+ api: "openai-completions",
16105
16051
  provider: "xiaomi-token-plan-cn",
16106
- baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
16052
+ baseUrl: "https://token-plan-cn.xiaomimimo.com/v1",
16107
16053
  reasoning: true,
16108
16054
  input: ["text"],
16109
16055
  cost: {
@@ -16118,9 +16064,9 @@ export const MODELS = {
16118
16064
  "mimo-v2-omni": {
16119
16065
  id: "mimo-v2-omni",
16120
16066
  name: "MiMo-V2-Omni",
16121
- api: "anthropic-messages",
16067
+ api: "openai-completions",
16122
16068
  provider: "xiaomi-token-plan-cn",
16123
- baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
16069
+ baseUrl: "https://token-plan-cn.xiaomimimo.com/v1",
16124
16070
  reasoning: true,
16125
16071
  input: ["text", "image"],
16126
16072
  cost: {
@@ -16135,9 +16081,9 @@ export const MODELS = {
16135
16081
  "mimo-v2-pro": {
16136
16082
  id: "mimo-v2-pro",
16137
16083
  name: "MiMo-V2-Pro",
16138
- api: "anthropic-messages",
16084
+ api: "openai-completions",
16139
16085
  provider: "xiaomi-token-plan-cn",
16140
- baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
16086
+ baseUrl: "https://token-plan-cn.xiaomimimo.com/v1",
16141
16087
  reasoning: true,
16142
16088
  input: ["text"],
16143
16089
  cost: {
@@ -16152,9 +16098,9 @@ export const MODELS = {
16152
16098
  "mimo-v2.5": {
16153
16099
  id: "mimo-v2.5",
16154
16100
  name: "MiMo-V2.5",
16155
- api: "anthropic-messages",
16101
+ api: "openai-completions",
16156
16102
  provider: "xiaomi-token-plan-cn",
16157
- baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
16103
+ baseUrl: "https://token-plan-cn.xiaomimimo.com/v1",
16158
16104
  reasoning: true,
16159
16105
  input: ["text", "image"],
16160
16106
  cost: {
@@ -16169,9 +16115,9 @@ export const MODELS = {
16169
16115
  "mimo-v2.5-pro": {
16170
16116
  id: "mimo-v2.5-pro",
16171
16117
  name: "MiMo-V2.5-Pro",
16172
- api: "anthropic-messages",
16118
+ api: "openai-completions",
16173
16119
  provider: "xiaomi-token-plan-cn",
16174
- baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
16120
+ baseUrl: "https://token-plan-cn.xiaomimimo.com/v1",
16175
16121
  reasoning: true,
16176
16122
  input: ["text"],
16177
16123
  cost: {
@@ -16188,9 +16134,9 @@ export const MODELS = {
16188
16134
  "mimo-v2-flash": {
16189
16135
  id: "mimo-v2-flash",
16190
16136
  name: "MiMo-V2-Flash",
16191
- api: "anthropic-messages",
16137
+ api: "openai-completions",
16192
16138
  provider: "xiaomi-token-plan-sgp",
16193
- baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
16139
+ baseUrl: "https://token-plan-sgp.xiaomimimo.com/v1",
16194
16140
  reasoning: true,
16195
16141
  input: ["text"],
16196
16142
  cost: {
@@ -16205,9 +16151,9 @@ export const MODELS = {
16205
16151
  "mimo-v2-omni": {
16206
16152
  id: "mimo-v2-omni",
16207
16153
  name: "MiMo-V2-Omni",
16208
- api: "anthropic-messages",
16154
+ api: "openai-completions",
16209
16155
  provider: "xiaomi-token-plan-sgp",
16210
- baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
16156
+ baseUrl: "https://token-plan-sgp.xiaomimimo.com/v1",
16211
16157
  reasoning: true,
16212
16158
  input: ["text", "image"],
16213
16159
  cost: {
@@ -16222,9 +16168,9 @@ export const MODELS = {
16222
16168
  "mimo-v2-pro": {
16223
16169
  id: "mimo-v2-pro",
16224
16170
  name: "MiMo-V2-Pro",
16225
- api: "anthropic-messages",
16171
+ api: "openai-completions",
16226
16172
  provider: "xiaomi-token-plan-sgp",
16227
- baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
16173
+ baseUrl: "https://token-plan-sgp.xiaomimimo.com/v1",
16228
16174
  reasoning: true,
16229
16175
  input: ["text"],
16230
16176
  cost: {
@@ -16239,9 +16185,9 @@ export const MODELS = {
16239
16185
  "mimo-v2.5": {
16240
16186
  id: "mimo-v2.5",
16241
16187
  name: "MiMo-V2.5",
16242
- api: "anthropic-messages",
16188
+ api: "openai-completions",
16243
16189
  provider: "xiaomi-token-plan-sgp",
16244
- baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
16190
+ baseUrl: "https://token-plan-sgp.xiaomimimo.com/v1",
16245
16191
  reasoning: true,
16246
16192
  input: ["text", "image"],
16247
16193
  cost: {
@@ -16256,9 +16202,9 @@ export const MODELS = {
16256
16202
  "mimo-v2.5-pro": {
16257
16203
  id: "mimo-v2.5-pro",
16258
16204
  name: "MiMo-V2.5-Pro",
16259
- api: "anthropic-messages",
16205
+ api: "openai-completions",
16260
16206
  provider: "xiaomi-token-plan-sgp",
16261
- baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
16207
+ baseUrl: "https://token-plan-sgp.xiaomimimo.com/v1",
16262
16208
  reasoning: true,
16263
16209
  input: ["text"],
16264
16210
  cost: {