@dreb/ai 2.6.3 → 2.8.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.
@@ -7580,13 +7580,13 @@ export const MODELS = {
7580
7580
  reasoning: true,
7581
7581
  input: ["text"],
7582
7582
  cost: {
7583
- input: 0.26,
7584
- output: 0.38,
7585
- cacheRead: 0.13,
7583
+ input: 0.25899999999999995,
7584
+ output: 0.42,
7585
+ cacheRead: 0.135,
7586
7586
  cacheWrite: 0,
7587
7587
  },
7588
7588
  contextWindow: 163840,
7589
- maxTokens: 4096,
7589
+ maxTokens: 163840,
7590
7590
  },
7591
7591
  "deepseek/deepseek-v3.2-exp": {
7592
7592
  id: "deepseek/deepseek-v3.2-exp",
@@ -7636,7 +7636,7 @@ export const MODELS = {
7636
7636
  cacheRead: 0.024999999999999998,
7637
7637
  cacheWrite: 0.08333333333333334,
7638
7638
  },
7639
- contextWindow: 1048576,
7639
+ contextWindow: 1000000,
7640
7640
  maxTokens: 8192,
7641
7641
  },
7642
7642
  "google/gemini-2.0-flash-lite-001": {
@@ -7835,13 +7835,13 @@ export const MODELS = {
7835
7835
  reasoning: true,
7836
7836
  input: ["text", "image"],
7837
7837
  cost: {
7838
- input: 0.07,
7839
- output: 0.39999999999999997,
7840
- cacheRead: 0.04,
7838
+ input: 0.08,
7839
+ output: 0.35,
7840
+ cacheRead: 0.01,
7841
7841
  cacheWrite: 0,
7842
7842
  },
7843
7843
  contextWindow: 262144,
7844
- maxTokens: 262144,
7844
+ maxTokens: 4096,
7845
7845
  },
7846
7846
  "google/gemma-4-26b-a4b-it:free": {
7847
7847
  id: "google/gemma-4-26b-a4b-it:free",
@@ -8685,9 +8685,9 @@ export const MODELS = {
8685
8685
  reasoning: true,
8686
8686
  input: ["text"],
8687
8687
  cost: {
8688
- input: 0.09999999999999999,
8689
- output: 0.5,
8690
- cacheRead: 0.09999999999999999,
8688
+ input: 0.09,
8689
+ output: 0.44999999999999996,
8690
+ cacheRead: 0,
8691
8691
  cacheWrite: 0,
8692
8692
  },
8693
8693
  contextWindow: 262144,
@@ -9861,7 +9861,7 @@ export const MODELS = {
9861
9861
  input: 0.26,
9862
9862
  output: 0.78,
9863
9863
  cacheRead: 0.052000000000000005,
9864
- cacheWrite: 0,
9864
+ cacheWrite: 0.325,
9865
9865
  },
9866
9866
  contextWindow: 1000000,
9867
9867
  maxTokens: 32768,
@@ -9878,7 +9878,7 @@ export const MODELS = {
9878
9878
  input: 0.26,
9879
9879
  output: 0.78,
9880
9880
  cacheRead: 0,
9881
- cacheWrite: 0,
9881
+ cacheWrite: 0.325,
9882
9882
  },
9883
9883
  contextWindow: 1000000,
9884
9884
  maxTokens: 32768,
@@ -9895,7 +9895,7 @@ export const MODELS = {
9895
9895
  input: 0.26,
9896
9896
  output: 0.78,
9897
9897
  cacheRead: 0,
9898
- cacheWrite: 0,
9898
+ cacheWrite: 0.325,
9899
9899
  },
9900
9900
  contextWindow: 1000000,
9901
9901
  maxTokens: 32768,
@@ -9994,13 +9994,13 @@ export const MODELS = {
9994
9994
  reasoning: true,
9995
9995
  input: ["text"],
9996
9996
  cost: {
9997
- input: 0.14950000000000002,
9998
- output: 1.495,
9997
+ input: 0.13,
9998
+ output: 0.6,
9999
9999
  cacheRead: 0,
10000
10000
  cacheWrite: 0,
10001
10001
  },
10002
- contextWindow: 131072,
10003
- maxTokens: 4096,
10002
+ contextWindow: 262144,
10003
+ maxTokens: 262144,
10004
10004
  },
10005
10005
  "qwen/qwen3-30b-a3b": {
10006
10006
  id: "qwen/qwen3-30b-a3b",
@@ -10133,7 +10133,7 @@ export const MODELS = {
10133
10133
  input: 0.195,
10134
10134
  output: 0.975,
10135
10135
  cacheRead: 0.039,
10136
- cacheWrite: 0,
10136
+ cacheWrite: 0.24375,
10137
10137
  },
10138
10138
  contextWindow: 1000000,
10139
10139
  maxTokens: 65536,
@@ -10167,7 +10167,7 @@ export const MODELS = {
10167
10167
  input: 0.65,
10168
10168
  output: 3.25,
10169
10169
  cacheRead: 0.13,
10170
- cacheWrite: 0,
10170
+ cacheWrite: 0.8125,
10171
10171
  },
10172
10172
  contextWindow: 1000000,
10173
10173
  maxTokens: 65536,
@@ -10201,7 +10201,7 @@ export const MODELS = {
10201
10201
  input: 0.78,
10202
10202
  output: 3.9,
10203
10203
  cacheRead: 0.156,
10204
- cacheWrite: 0,
10204
+ cacheWrite: 0.975,
10205
10205
  },
10206
10206
  contextWindow: 262144,
10207
10207
  maxTokens: 32768,
@@ -10455,7 +10455,7 @@ export const MODELS = {
10455
10455
  cost: {
10456
10456
  input: 0.39,
10457
10457
  output: 2.34,
10458
- cacheRead: 0,
10458
+ cacheRead: 0.195,
10459
10459
  cacheWrite: 0,
10460
10460
  },
10461
10461
  contextWindow: 262144,
@@ -10490,7 +10490,7 @@ export const MODELS = {
10490
10490
  input: 0.065,
10491
10491
  output: 0.26,
10492
10492
  cacheRead: 0,
10493
- cacheWrite: 0,
10493
+ cacheWrite: 0.08125,
10494
10494
  },
10495
10495
  contextWindow: 1000000,
10496
10496
  maxTokens: 65536,
@@ -10507,7 +10507,7 @@ export const MODELS = {
10507
10507
  input: 0.26,
10508
10508
  output: 1.56,
10509
10509
  cacheRead: 0,
10510
- cacheWrite: 0,
10510
+ cacheWrite: 0.325,
10511
10511
  },
10512
10512
  contextWindow: 1000000,
10513
10513
  maxTokens: 65536,
@@ -10524,7 +10524,7 @@ export const MODELS = {
10524
10524
  input: 0.325,
10525
10525
  output: 1.95,
10526
10526
  cacheRead: 0,
10527
- cacheWrite: 0,
10527
+ cacheWrite: 0.40625,
10528
10528
  },
10529
10529
  contextWindow: 1000000,
10530
10530
  maxTokens: 65536,
@@ -13032,7 +13032,7 @@ export const MODELS = {
13032
13032
  },
13033
13033
  "openai/gpt-oss-20b": {
13034
13034
  id: "openai/gpt-oss-20b",
13035
- name: "gpt-oss-20b",
13035
+ name: "GPT OSS 120B",
13036
13036
  api: "anthropic-messages",
13037
13037
  provider: "vercel-ai-gateway",
13038
13038
  baseUrl: "https://ai-gateway.vercel.sh",
@@ -13049,7 +13049,7 @@ export const MODELS = {
13049
13049
  },
13050
13050
  "openai/gpt-oss-safeguard-20b": {
13051
13051
  id: "openai/gpt-oss-safeguard-20b",
13052
- name: "gpt-oss-safeguard-20b",
13052
+ name: "GPT OSS Safeguard 20B",
13053
13053
  api: "anthropic-messages",
13054
13054
  provider: "vercel-ai-gateway",
13055
13055
  baseUrl: "https://ai-gateway.vercel.sh",
@@ -13309,7 +13309,7 @@ export const MODELS = {
13309
13309
  provider: "vercel-ai-gateway",
13310
13310
  baseUrl: "https://ai-gateway.vercel.sh",
13311
13311
  reasoning: false,
13312
- input: ["text"],
13312
+ input: ["text", "image"],
13313
13313
  cost: {
13314
13314
  input: 0.19999999999999998,
13315
13315
  output: 0.5,
@@ -13326,7 +13326,7 @@ export const MODELS = {
13326
13326
  provider: "vercel-ai-gateway",
13327
13327
  baseUrl: "https://ai-gateway.vercel.sh",
13328
13328
  reasoning: true,
13329
- input: ["text"],
13329
+ input: ["text", "image"],
13330
13330
  cost: {
13331
13331
  input: 0.19999999999999998,
13332
13332
  output: 0.5,
@@ -13343,7 +13343,7 @@ export const MODELS = {
13343
13343
  provider: "vercel-ai-gateway",
13344
13344
  baseUrl: "https://ai-gateway.vercel.sh",
13345
13345
  reasoning: false,
13346
- input: ["text"],
13346
+ input: ["text", "image"],
13347
13347
  cost: {
13348
13348
  input: 0.19999999999999998,
13349
13349
  output: 0.5,
@@ -13360,7 +13360,7 @@ export const MODELS = {
13360
13360
  provider: "vercel-ai-gateway",
13361
13361
  baseUrl: "https://ai-gateway.vercel.sh",
13362
13362
  reasoning: true,
13363
- input: ["text"],
13363
+ input: ["text", "image"],
13364
13364
  cost: {
13365
13365
  input: 0.19999999999999998,
13366
13366
  output: 0.5,
@@ -13377,7 +13377,7 @@ export const MODELS = {
13377
13377
  provider: "vercel-ai-gateway",
13378
13378
  baseUrl: "https://ai-gateway.vercel.sh",
13379
13379
  reasoning: true,
13380
- input: ["text"],
13380
+ input: ["text", "image"],
13381
13381
  cost: {
13382
13382
  input: 2,
13383
13383
  output: 6,
@@ -13394,7 +13394,7 @@ export const MODELS = {
13394
13394
  provider: "vercel-ai-gateway",
13395
13395
  baseUrl: "https://ai-gateway.vercel.sh",
13396
13396
  reasoning: true,
13397
- input: ["text"],
13397
+ input: ["text", "image"],
13398
13398
  cost: {
13399
13399
  input: 2,
13400
13400
  output: 6,