@dreb/ai 2.43.2 → 2.43.3

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.
@@ -7576,7 +7576,7 @@ export const MODELS = {
7576
7576
  "grok-4.5": {
7577
7577
  id: "grok-4.5",
7578
7578
  name: "Grok 4.5",
7579
- api: "openai-completions",
7579
+ api: "openai-responses",
7580
7580
  provider: "opencode",
7581
7581
  baseUrl: "https://opencode.ai/zen/v1",
7582
7582
  reasoning: true,
@@ -7884,7 +7884,7 @@ export const MODELS = {
7884
7884
  "grok-4.5": {
7885
7885
  id: "grok-4.5",
7886
7886
  name: "Grok 4.5",
7887
- api: "openai-completions",
7887
+ api: "openai-responses",
7888
7888
  provider: "opencode-go",
7889
7889
  baseUrl: "https://opencode.ai/zen/go/v1",
7890
7890
  reasoning: true,
@@ -9065,13 +9065,13 @@ export const MODELS = {
9065
9065
  reasoning: true,
9066
9066
  input: ["text", "image"],
9067
9067
  cost: {
9068
- input: 0.09999999999999999,
9069
- output: 0.3,
9068
+ input: 0.07,
9069
+ output: 0.33999999999999997,
9070
9070
  cacheRead: 0,
9071
9071
  cacheWrite: 0,
9072
9072
  },
9073
9073
  contextWindow: 262144,
9074
- maxTokens: 256000,
9074
+ maxTokens: 16384,
9075
9075
  },
9076
9076
  "google/gemma-4-26b-a4b-it:free": {
9077
9077
  id: "google/gemma-4-26b-a4b-it:free",
@@ -9099,13 +9099,13 @@ export const MODELS = {
9099
9099
  reasoning: true,
9100
9100
  input: ["text", "image"],
9101
9101
  cost: {
9102
- input: 0.12,
9103
- output: 0.37,
9104
- cacheRead: 0,
9102
+ input: 0.22,
9103
+ output: 0.55,
9104
+ cacheRead: 0.12,
9105
9105
  cacheWrite: 0,
9106
9106
  },
9107
9107
  contextWindow: 262144,
9108
- maxTokens: 16384,
9108
+ maxTokens: 262144,
9109
9109
  },
9110
9110
  "google/gemma-4-31b-it:free": {
9111
9111
  id: "google/gemma-4-31b-it:free",
@@ -9311,23 +9311,6 @@ export const MODELS = {
9311
9311
  contextWindow: 131072,
9312
9312
  maxTokens: 128000,
9313
9313
  },
9314
- "meta-llama/llama-3.3-70b-instruct:free": {
9315
- id: "meta-llama/llama-3.3-70b-instruct:free",
9316
- name: "Meta: Llama 3.3 70B Instruct (free)",
9317
- api: "openai-completions",
9318
- provider: "openrouter",
9319
- baseUrl: "https://openrouter.ai/api/v1",
9320
- reasoning: false,
9321
- input: ["text"],
9322
- cost: {
9323
- input: 0,
9324
- output: 0,
9325
- cacheRead: 0,
9326
- cacheWrite: 0,
9327
- },
9328
- contextWindow: 131072,
9329
- maxTokens: 4096,
9330
- },
9331
9314
  "meta-llama/llama-4-maverick": {
9332
9315
  id: "meta-llama/llama-4-maverick",
9333
9316
  name: "Meta: Llama 4 Maverick",
@@ -9405,9 +9388,9 @@ export const MODELS = {
9405
9388
  reasoning: true,
9406
9389
  input: ["text"],
9407
9390
  cost: {
9408
- input: 0.255,
9409
- output: 1.02,
9410
- cacheRead: 0,
9391
+ input: 0.3,
9392
+ output: 1.2,
9393
+ cacheRead: 0.03,
9411
9394
  cacheWrite: 0,
9412
9395
  },
9413
9396
  contextWindow: 204800,
@@ -9847,13 +9830,13 @@ export const MODELS = {
9847
9830
  reasoning: true,
9848
9831
  input: ["text", "image"],
9849
9832
  cost: {
9850
- input: 0.95,
9851
- output: 4,
9852
- cacheRead: 0.16,
9833
+ input: 0.684,
9834
+ output: 3.42,
9835
+ cacheRead: 0.144,
9853
9836
  cacheWrite: 0,
9854
9837
  },
9855
9838
  contextWindow: 262144,
9856
- maxTokens: 4096,
9839
+ maxTokens: 262144,
9857
9840
  },
9858
9841
  "moonshotai/kimi-k2.7-code": {
9859
9842
  id: "moonshotai/kimi-k2.7-code",
@@ -9865,8 +9848,8 @@ export const MODELS = {
9865
9848
  input: ["text", "image"],
9866
9849
  cost: {
9867
9850
  input: 0.85,
9868
- output: 3.79,
9869
- cacheRead: 0.17800000000000002,
9851
+ output: 3.8,
9852
+ cacheRead: 0.16999999999999998,
9870
9853
  cacheWrite: 0,
9871
9854
  },
9872
9855
  contextWindow: 262144,
@@ -9983,13 +9966,13 @@ export const MODELS = {
9983
9966
  reasoning: true,
9984
9967
  input: ["text"],
9985
9968
  cost: {
9986
- input: 0.21,
9987
- output: 0.45499999999999996,
9988
- cacheRead: 0.06,
9969
+ input: 0.08499999999999999,
9970
+ output: 0.39999999999999997,
9971
+ cacheRead: 0,
9989
9972
  cacheWrite: 0,
9990
9973
  },
9991
9974
  contextWindow: 1000000,
9992
- maxTokens: 4096,
9975
+ maxTokens: 16384,
9993
9976
  },
9994
9977
  "nvidia/nemotron-3-super-120b-a12b:free": {
9995
9978
  id: "nvidia/nemotron-3-super-120b-a12b:free",
@@ -11521,23 +11504,6 @@ export const MODELS = {
11521
11504
  contextWindow: 1000000,
11522
11505
  maxTokens: 65536,
11523
11506
  },
11524
- "qwen/qwen3-coder:free": {
11525
- id: "qwen/qwen3-coder:free",
11526
- name: "Qwen: Qwen3 Coder 480B A35B (free)",
11527
- api: "openai-completions",
11528
- provider: "openrouter",
11529
- baseUrl: "https://openrouter.ai/api/v1",
11530
- reasoning: false,
11531
- input: ["text"],
11532
- cost: {
11533
- input: 0,
11534
- output: 0,
11535
- cacheRead: 0,
11536
- cacheWrite: 0,
11537
- },
11538
- contextWindow: 1048576,
11539
- maxTokens: 262000,
11540
- },
11541
11507
  "qwen/qwen3-max": {
11542
11508
  id: "qwen/qwen3-max",
11543
11509
  name: "Qwen: Qwen3 Max",
@@ -11589,23 +11555,6 @@ export const MODELS = {
11589
11555
  contextWindow: 262144,
11590
11556
  maxTokens: 262144,
11591
11557
  },
11592
- "qwen/qwen3-next-80b-a3b-instruct:free": {
11593
- id: "qwen/qwen3-next-80b-a3b-instruct:free",
11594
- name: "Qwen: Qwen3 Next 80B A3B Instruct (free)",
11595
- api: "openai-completions",
11596
- provider: "openrouter",
11597
- baseUrl: "https://openrouter.ai/api/v1",
11598
- reasoning: false,
11599
- input: ["text"],
11600
- cost: {
11601
- input: 0,
11602
- output: 0,
11603
- cacheRead: 0,
11604
- cacheWrite: 0,
11605
- },
11606
- contextWindow: 262144,
11607
- maxTokens: 4096,
11608
- },
11609
11558
  "qwen/qwen3-next-80b-a3b-thinking": {
11610
11559
  id: "qwen/qwen3-next-80b-a3b-thinking",
11611
11560
  name: "Qwen: Qwen3 Next 80B A3B Thinking",
@@ -12482,9 +12431,9 @@ export const MODELS = {
12482
12431
  reasoning: true,
12483
12432
  input: ["text"],
12484
12433
  cost: {
12485
- input: 0.273,
12486
- output: 0.858,
12487
- cacheRead: 0.050699999999999995,
12434
+ input: 0.252,
12435
+ output: 0.792,
12436
+ cacheRead: 0.0468,
12488
12437
  cacheWrite: 0,
12489
12438
  },
12490
12439
  contextWindow: 1048576,
@@ -15939,7 +15888,7 @@ export const MODELS = {
15939
15888
  cost: {
15940
15889
  input: 2,
15941
15890
  output: 6,
15942
- cacheRead: 0.5,
15891
+ cacheRead: 0.3,
15943
15892
  cacheWrite: 0,
15944
15893
  },
15945
15894
  contextWindow: 500000,