@kolisachint/hoocode-ai 0.1.4 → 0.2.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.
@@ -4242,7 +4242,7 @@ export const MODELS = {
4242
4242
  cost: {
4243
4243
  input: 0.1,
4244
4244
  output: 0.4,
4245
- cacheRead: 0.025,
4245
+ cacheRead: 0.01,
4246
4246
  cacheWrite: 0,
4247
4247
  },
4248
4248
  contextWindow: 1048576,
@@ -4433,7 +4433,7 @@ export const MODELS = {
4433
4433
  input: 0.25,
4434
4434
  output: 1.5,
4435
4435
  cacheRead: 0.025,
4436
- cacheWrite: 1,
4436
+ cacheWrite: 0,
4437
4437
  },
4438
4438
  contextWindow: 1048576,
4439
4439
  maxTokens: 65536,
@@ -4451,7 +4451,7 @@ export const MODELS = {
4451
4451
  input: 0.25,
4452
4452
  output: 1.5,
4453
4453
  cacheRead: 0.025,
4454
- cacheWrite: 1,
4454
+ cacheWrite: 0,
4455
4455
  },
4456
4456
  contextWindow: 1048576,
4457
4457
  maxTokens: 65536,
@@ -8358,13 +8358,15 @@ export const MODELS = {
8358
8358
  contextWindow: 1000000,
8359
8359
  maxTokens: 64000,
8360
8360
  },
8361
- "deepseep-v4-flash-free": {
8362
- id: "deepseep-v4-flash-free",
8361
+ "deepseek-v4-flash-free": {
8362
+ id: "deepseek-v4-flash-free",
8363
8363
  name: "DeepSeek V4 Flash Free",
8364
8364
  api: "openai-completions",
8365
8365
  provider: "opencode",
8366
8366
  baseUrl: "https://opencode.ai/zen/v1",
8367
+ compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
8367
8368
  reasoning: true,
8369
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
8368
8370
  input: ["text"],
8369
8371
  cost: {
8370
8372
  input: 0,
@@ -9031,9 +9033,9 @@ export const MODELS = {
9031
9033
  "minimax-m2.5": {
9032
9034
  id: "minimax-m2.5",
9033
9035
  name: "MiniMax M2.5",
9034
- api: "openai-completions",
9036
+ api: "anthropic-messages",
9035
9037
  provider: "opencode-go",
9036
- baseUrl: "https://opencode.ai/zen/go/v1",
9038
+ baseUrl: "https://opencode.ai/zen/go",
9037
9039
  reasoning: true,
9038
9040
  input: ["text"],
9039
9041
  cost: {
@@ -9375,6 +9377,24 @@ export const MODELS = {
9375
9377
  contextWindow: 1000000,
9376
9378
  maxTokens: 128000,
9377
9379
  },
9380
+ "anthropic/claude-opus-4.7-fast": {
9381
+ id: "anthropic/claude-opus-4.7-fast",
9382
+ name: "Anthropic: Claude Opus 4.7 (Fast)",
9383
+ api: "openai-completions",
9384
+ provider: "openrouter",
9385
+ baseUrl: "https://openrouter.ai/api/v1",
9386
+ reasoning: true,
9387
+ thinkingLevelMap: { "xhigh": "xhigh" },
9388
+ input: ["text", "image"],
9389
+ cost: {
9390
+ input: 30,
9391
+ output: 150,
9392
+ cacheRead: 3,
9393
+ cacheWrite: 37.5,
9394
+ },
9395
+ contextWindow: 1000000,
9396
+ maxTokens: 128000,
9397
+ },
9378
9398
  "anthropic/claude-sonnet-4": {
9379
9399
  id: "anthropic/claude-sonnet-4",
9380
9400
  name: "Anthropic: Claude Sonnet 4",
@@ -9460,6 +9480,23 @@ export const MODELS = {
9460
9480
  contextWindow: 262144,
9461
9481
  maxTokens: 262144,
9462
9482
  },
9483
+ "arcee-ai/trinity-large-thinking:free": {
9484
+ id: "arcee-ai/trinity-large-thinking:free",
9485
+ name: "Arcee AI: Trinity Large Thinking (free)",
9486
+ api: "openai-completions",
9487
+ provider: "openrouter",
9488
+ baseUrl: "https://openrouter.ai/api/v1",
9489
+ reasoning: true,
9490
+ input: ["text"],
9491
+ cost: {
9492
+ input: 0,
9493
+ output: 0,
9494
+ cacheRead: 0,
9495
+ cacheWrite: 0,
9496
+ },
9497
+ contextWindow: 262144,
9498
+ maxTokens: 80000,
9499
+ },
9463
9500
  "arcee-ai/trinity-mini": {
9464
9501
  id: "arcee-ai/trinity-mini",
9465
9502
  name: "Arcee AI: Trinity Mini",
@@ -9707,13 +9744,13 @@ export const MODELS = {
9707
9744
  reasoning: true,
9708
9745
  input: ["text"],
9709
9746
  cost: {
9710
- input: 0.15,
9711
- output: 0.75,
9712
- cacheRead: 0,
9747
+ input: 0.21,
9748
+ output: 0.7899999999999999,
9749
+ cacheRead: 0.13,
9713
9750
  cacheWrite: 0,
9714
9751
  },
9715
- contextWindow: 32768,
9716
- maxTokens: 7168,
9752
+ contextWindow: 163840,
9753
+ maxTokens: 32768,
9717
9754
  },
9718
9755
  "deepseek/deepseek-r1": {
9719
9756
  id: "deepseek/deepseek-r1",
@@ -9869,7 +9906,7 @@ export const MODELS = {
9869
9906
  cacheRead: 0.024999999999999998,
9870
9907
  cacheWrite: 0.08333333333333334,
9871
9908
  },
9872
- contextWindow: 1000000,
9909
+ contextWindow: 1048576,
9873
9910
  maxTokens: 8192,
9874
9911
  },
9875
9912
  "google/gemini-2.0-flash-lite-001": {
@@ -10153,8 +10190,8 @@ export const MODELS = {
10153
10190
  reasoning: true,
10154
10191
  input: ["text", "image"],
10155
10192
  cost: {
10156
- input: 0.13,
10157
- output: 0.38,
10193
+ input: 0.12,
10194
+ output: 0.37,
10158
10195
  cacheRead: 0,
10159
10196
  cacheWrite: 0,
10160
10197
  },
@@ -10459,13 +10496,13 @@ export const MODELS = {
10459
10496
  reasoning: true,
10460
10497
  input: ["text"],
10461
10498
  cost: {
10462
- input: 0.29900000000000004,
10499
+ input: 0.28,
10463
10500
  output: 1.2,
10464
10501
  cacheRead: 0,
10465
10502
  cacheWrite: 0,
10466
10503
  },
10467
10504
  contextWindow: 196608,
10468
- maxTokens: 131072,
10505
+ maxTokens: 4096,
10469
10506
  },
10470
10507
  "mistralai/codestral-2508": {
10471
10508
  id: "mistralai/codestral-2508",
@@ -10901,13 +10938,13 @@ export const MODELS = {
10901
10938
  reasoning: true,
10902
10939
  input: ["text", "image"],
10903
10940
  cost: {
10904
- input: 0.75,
10941
+ input: 0.74,
10905
10942
  output: 3.5,
10906
- cacheRead: 0.15,
10943
+ cacheRead: 0.25,
10907
10944
  cacheWrite: 0,
10908
10945
  },
10909
- contextWindow: 262144,
10910
- maxTokens: 16384,
10946
+ contextWindow: 262142,
10947
+ maxTokens: 262142,
10911
10948
  },
10912
10949
  "nex-agi/deepseek-v3.1-nex-n1": {
10913
10950
  id: "nex-agi/deepseek-v3.1-nex-n1",
@@ -12196,23 +12233,6 @@ export const MODELS = {
12196
12233
  contextWindow: 32768,
12197
12234
  maxTokens: 32768,
12198
12235
  },
12199
- "qwen/qwen-max": {
12200
- id: "qwen/qwen-max",
12201
- name: "Qwen: Qwen-Max ",
12202
- api: "openai-completions",
12203
- provider: "openrouter",
12204
- baseUrl: "https://openrouter.ai/api/v1",
12205
- reasoning: false,
12206
- input: ["text"],
12207
- cost: {
12208
- input: 1.04,
12209
- output: 4.16,
12210
- cacheRead: 0.20800000000000002,
12211
- cacheWrite: 0,
12212
- },
12213
- contextWindow: 32768,
12214
- maxTokens: 8192,
12215
- },
12216
12236
  "qwen/qwen-plus": {
12217
12237
  id: "qwen/qwen-plus",
12218
12238
  name: "Qwen: Qwen-Plus",
@@ -12264,40 +12284,6 @@ export const MODELS = {
12264
12284
  contextWindow: 1000000,
12265
12285
  maxTokens: 32768,
12266
12286
  },
12267
- "qwen/qwen-turbo": {
12268
- id: "qwen/qwen-turbo",
12269
- name: "Qwen: Qwen-Turbo",
12270
- api: "openai-completions",
12271
- provider: "openrouter",
12272
- baseUrl: "https://openrouter.ai/api/v1",
12273
- reasoning: false,
12274
- input: ["text"],
12275
- cost: {
12276
- input: 0.0325,
12277
- output: 0.13,
12278
- cacheRead: 0.006500000000000001,
12279
- cacheWrite: 0,
12280
- },
12281
- contextWindow: 131072,
12282
- maxTokens: 8192,
12283
- },
12284
- "qwen/qwen-vl-max": {
12285
- id: "qwen/qwen-vl-max",
12286
- name: "Qwen: Qwen VL Max",
12287
- api: "openai-completions",
12288
- provider: "openrouter",
12289
- baseUrl: "https://openrouter.ai/api/v1",
12290
- reasoning: false,
12291
- input: ["text", "image"],
12292
- cost: {
12293
- input: 0.52,
12294
- output: 2.08,
12295
- cacheRead: 0,
12296
- cacheWrite: 0,
12297
- },
12298
- contextWindow: 131072,
12299
- maxTokens: 32768,
12300
- },
12301
12287
  "qwen/qwen3-14b": {
12302
12288
  id: "qwen/qwen3-14b",
12303
12289
  name: "Qwen: Qwen3 14B",
@@ -12819,7 +12805,7 @@ export const MODELS = {
12819
12805
  cost: {
12820
12806
  input: 0.39,
12821
12807
  output: 2.34,
12822
- cacheRead: 0.195,
12808
+ cacheRead: 0,
12823
12809
  cacheWrite: 0,
12824
12810
  },
12825
12811
  contextWindow: 262144,
@@ -13701,13 +13687,13 @@ export const MODELS = {
13701
13687
  reasoning: true,
13702
13688
  input: ["text", "image"],
13703
13689
  cost: {
13704
- input: 0.75,
13690
+ input: 0.74,
13705
13691
  output: 3.5,
13706
- cacheRead: 0.15,
13692
+ cacheRead: 0.25,
13707
13693
  cacheWrite: 0,
13708
13694
  },
13709
- contextWindow: 262144,
13710
- maxTokens: 16384,
13695
+ contextWindow: 262142,
13696
+ maxTokens: 262142,
13711
13697
  },
13712
13698
  "~openai/gpt-latest": {
13713
13699
  id: "~openai/gpt-latest",
@@ -14407,23 +14393,6 @@ export const MODELS = {
14407
14393
  contextWindow: 200000,
14408
14394
  maxTokens: 8192,
14409
14395
  },
14410
- "anthropic/claude-3.7-sonnet": {
14411
- id: "anthropic/claude-3.7-sonnet",
14412
- name: "Claude 3.7 Sonnet",
14413
- api: "anthropic-messages",
14414
- provider: "vercel-ai-gateway",
14415
- baseUrl: "https://ai-gateway.vercel.sh",
14416
- reasoning: true,
14417
- input: ["text", "image"],
14418
- cost: {
14419
- input: 3,
14420
- output: 15,
14421
- cacheRead: 0.3,
14422
- cacheWrite: 3.75,
14423
- },
14424
- contextWindow: 200000,
14425
- maxTokens: 8192,
14426
- },
14427
14396
  "anthropic/claude-haiku-4.5": {
14428
14397
  id: "anthropic/claude-haiku-4.5",
14429
14398
  name: "Claude Haiku 4.5",