@dreb/ai 2.17.0 → 2.19.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.
@@ -1003,7 +1003,7 @@ export const MODELS = {
1003
1003
  cacheWrite: 0,
1004
1004
  },
1005
1005
  contextWindow: 128000,
1006
- maxTokens: 4096,
1006
+ maxTokens: 16384,
1007
1007
  },
1008
1008
  "openai.gpt-oss-20b-1:0": {
1009
1009
  id: "openai.gpt-oss-20b-1:0",
@@ -1020,7 +1020,7 @@ export const MODELS = {
1020
1020
  cacheWrite: 0,
1021
1021
  },
1022
1022
  contextWindow: 128000,
1023
- maxTokens: 4096,
1023
+ maxTokens: 16384,
1024
1024
  },
1025
1025
  "openai.gpt-oss-safeguard-120b": {
1026
1026
  id: "openai.gpt-oss-safeguard-120b",
@@ -1037,7 +1037,7 @@ export const MODELS = {
1037
1037
  cacheWrite: 0,
1038
1038
  },
1039
1039
  contextWindow: 128000,
1040
- maxTokens: 4096,
1040
+ maxTokens: 16384,
1041
1041
  },
1042
1042
  "openai.gpt-oss-safeguard-20b": {
1043
1043
  id: "openai.gpt-oss-safeguard-20b",
@@ -1054,7 +1054,7 @@ export const MODELS = {
1054
1054
  cacheWrite: 0,
1055
1055
  },
1056
1056
  contextWindow: 128000,
1057
- maxTokens: 4096,
1057
+ maxTokens: 16384,
1058
1058
  },
1059
1059
  "qwen.qwen3-235b-a22b-2507-v1:0": {
1060
1060
  id: "qwen.qwen3-235b-a22b-2507-v1:0",
@@ -3057,7 +3057,7 @@ export const MODELS = {
3057
3057
  cost: {
3058
3058
  input: 0.1,
3059
3059
  output: 0.4,
3060
- cacheRead: 0.025,
3060
+ cacheRead: 0.01,
3061
3061
  cacheWrite: 0,
3062
3062
  },
3063
3063
  contextWindow: 1048576,
@@ -3245,7 +3245,7 @@ export const MODELS = {
3245
3245
  input: 0.25,
3246
3246
  output: 1.5,
3247
3247
  cacheRead: 0.025,
3248
- cacheWrite: 1,
3248
+ cacheWrite: 0,
3249
3249
  },
3250
3250
  contextWindow: 1048576,
3251
3251
  maxTokens: 65536,
@@ -3262,7 +3262,7 @@ export const MODELS = {
3262
3262
  input: 0.25,
3263
3263
  output: 1.5,
3264
3264
  cacheRead: 0.025,
3265
- cacheWrite: 1,
3265
+ cacheWrite: 0,
3266
3266
  },
3267
3267
  contextWindow: 1048576,
3268
3268
  maxTokens: 65536,
@@ -6699,22 +6699,22 @@ export const MODELS = {
6699
6699
  contextWindow: 262144,
6700
6700
  maxTokens: 65536,
6701
6701
  },
6702
- "ring-2.6-1t-free": {
6703
- id: "ring-2.6-1t-free",
6704
- name: "Ring 2.6 1T Free",
6705
- api: "openai-completions",
6702
+ "qwen3.6-plus-free": {
6703
+ id: "qwen3.6-plus-free",
6704
+ name: "Qwen3.6 Plus Free",
6705
+ api: "anthropic-messages",
6706
6706
  provider: "opencode",
6707
- baseUrl: "https://opencode.ai/zen/v1",
6707
+ baseUrl: "https://opencode.ai/zen",
6708
6708
  reasoning: true,
6709
- input: ["text"],
6709
+ input: ["text", "image"],
6710
6710
  cost: {
6711
6711
  input: 0,
6712
6712
  output: 0,
6713
6713
  cacheRead: 0,
6714
6714
  cacheWrite: 0,
6715
6715
  },
6716
- contextWindow: 262000,
6717
- maxTokens: 66000,
6716
+ contextWindow: 262144,
6717
+ maxTokens: 65536,
6718
6718
  },
6719
6719
  },
6720
6720
  "opencode-go": {
@@ -6857,9 +6857,9 @@ export const MODELS = {
6857
6857
  "minimax-m2.5": {
6858
6858
  id: "minimax-m2.5",
6859
6859
  name: "MiniMax M2.5",
6860
- api: "openai-completions",
6860
+ api: "anthropic-messages",
6861
6861
  provider: "opencode-go",
6862
- baseUrl: "https://opencode.ai/zen/go/v1",
6862
+ baseUrl: "https://opencode.ai/zen/go",
6863
6863
  reasoning: true,
6864
6864
  input: ["text"],
6865
6865
  cost: {
@@ -7196,6 +7196,23 @@ export const MODELS = {
7196
7196
  contextWindow: 1000000,
7197
7197
  maxTokens: 128000,
7198
7198
  },
7199
+ "anthropic/claude-opus-4.7-fast": {
7200
+ id: "anthropic/claude-opus-4.7-fast",
7201
+ name: "Anthropic: Claude Opus 4.7 (Fast)",
7202
+ api: "openai-completions",
7203
+ provider: "openrouter",
7204
+ baseUrl: "https://openrouter.ai/api/v1",
7205
+ reasoning: true,
7206
+ input: ["text", "image"],
7207
+ cost: {
7208
+ input: 30,
7209
+ output: 150,
7210
+ cacheRead: 3,
7211
+ cacheWrite: 37.5,
7212
+ },
7213
+ contextWindow: 1000000,
7214
+ maxTokens: 128000,
7215
+ },
7199
7216
  "anthropic/claude-sonnet-4": {
7200
7217
  id: "anthropic/claude-sonnet-4",
7201
7218
  name: "Anthropic: Claude Sonnet 4",
@@ -7647,9 +7664,26 @@ export const MODELS = {
7647
7664
  reasoning: true,
7648
7665
  input: ["text"],
7649
7666
  cost: {
7650
- input: 0.14,
7651
- output: 0.28,
7652
- cacheRead: 0.0028,
7667
+ input: 0.126,
7668
+ output: 0.252,
7669
+ cacheRead: 0.0252,
7670
+ cacheWrite: 0,
7671
+ },
7672
+ contextWindow: 1048576,
7673
+ maxTokens: 131072,
7674
+ },
7675
+ "deepseek/deepseek-v4-flash:free": {
7676
+ id: "deepseek/deepseek-v4-flash:free",
7677
+ name: "DeepSeek: DeepSeek V4 Flash (free)",
7678
+ api: "openai-completions",
7679
+ provider: "openrouter",
7680
+ baseUrl: "https://openrouter.ai/api/v1",
7681
+ reasoning: true,
7682
+ input: ["text"],
7683
+ cost: {
7684
+ input: 0,
7685
+ output: 0,
7686
+ cacheRead: 0,
7653
7687
  cacheWrite: 0,
7654
7688
  },
7655
7689
  contextWindow: 1048576,
@@ -8072,9 +8106,9 @@ export const MODELS = {
8072
8106
  reasoning: false,
8073
8107
  input: ["text"],
8074
8108
  cost: {
8075
- input: 0.08,
8076
- output: 0.24,
8077
- cacheRead: 0.016,
8109
+ input: 0.01,
8110
+ output: 0.03,
8111
+ cacheRead: 0.002,
8078
8112
  cacheWrite: 0,
8079
8113
  },
8080
8114
  contextWindow: 262144,
@@ -8293,13 +8327,13 @@ export const MODELS = {
8293
8327
  reasoning: true,
8294
8328
  input: ["text"],
8295
8329
  cost: {
8296
- input: 0.19999999999999998,
8330
+ input: 0.27899999999999997,
8297
8331
  output: 1.2,
8298
8332
  cacheRead: 0,
8299
8333
  cacheWrite: 0,
8300
8334
  },
8301
8335
  contextWindow: 196608,
8302
- maxTokens: 4096,
8336
+ maxTokens: 131072,
8303
8337
  },
8304
8338
  "mistralai/codestral-2508": {
8305
8339
  id: "mistralai/codestral-2508",
@@ -8684,8 +8718,8 @@ export const MODELS = {
8684
8718
  reasoning: false,
8685
8719
  input: ["text"],
8686
8720
  cost: {
8687
- input: 0.39999999999999997,
8688
- output: 2,
8721
+ input: 0.6,
8722
+ output: 2.5,
8689
8723
  cacheRead: 0,
8690
8724
  cacheWrite: 0,
8691
8725
  },
@@ -8735,13 +8769,13 @@ export const MODELS = {
8735
8769
  reasoning: true,
8736
8770
  input: ["text", "image"],
8737
8771
  cost: {
8738
- input: 0.74,
8739
- output: 3.5,
8772
+ input: 0.73,
8773
+ output: 3.49,
8740
8774
  cacheRead: 0.25,
8741
8775
  cacheWrite: 0,
8742
8776
  },
8743
- contextWindow: 32768,
8744
- maxTokens: 32768,
8777
+ contextWindow: 262142,
8778
+ maxTokens: 262142,
8745
8779
  },
8746
8780
  "nex-agi/deepseek-v3.1-nex-n1": {
8747
8781
  id: "nex-agi/deepseek-v3.1-nex-n1",
@@ -10018,23 +10052,6 @@ export const MODELS = {
10018
10052
  contextWindow: 32768,
10019
10053
  maxTokens: 32768,
10020
10054
  },
10021
- "qwen/qwen-max": {
10022
- id: "qwen/qwen-max",
10023
- name: "Qwen: Qwen-Max ",
10024
- api: "openai-completions",
10025
- provider: "openrouter",
10026
- baseUrl: "https://openrouter.ai/api/v1",
10027
- reasoning: false,
10028
- input: ["text"],
10029
- cost: {
10030
- input: 1.04,
10031
- output: 4.16,
10032
- cacheRead: 0.20800000000000002,
10033
- cacheWrite: 0,
10034
- },
10035
- contextWindow: 32768,
10036
- maxTokens: 8192,
10037
- },
10038
10055
  "qwen/qwen-plus": {
10039
10056
  id: "qwen/qwen-plus",
10040
10057
  name: "Qwen: Qwen-Plus",
@@ -10086,40 +10103,6 @@ export const MODELS = {
10086
10103
  contextWindow: 1000000,
10087
10104
  maxTokens: 32768,
10088
10105
  },
10089
- "qwen/qwen-turbo": {
10090
- id: "qwen/qwen-turbo",
10091
- name: "Qwen: Qwen-Turbo",
10092
- api: "openai-completions",
10093
- provider: "openrouter",
10094
- baseUrl: "https://openrouter.ai/api/v1",
10095
- reasoning: false,
10096
- input: ["text"],
10097
- cost: {
10098
- input: 0.0325,
10099
- output: 0.13,
10100
- cacheRead: 0.006500000000000001,
10101
- cacheWrite: 0,
10102
- },
10103
- contextWindow: 131072,
10104
- maxTokens: 8192,
10105
- },
10106
- "qwen/qwen-vl-max": {
10107
- id: "qwen/qwen-vl-max",
10108
- name: "Qwen: Qwen VL Max",
10109
- api: "openai-completions",
10110
- provider: "openrouter",
10111
- baseUrl: "https://openrouter.ai/api/v1",
10112
- reasoning: false,
10113
- input: ["text", "image"],
10114
- cost: {
10115
- input: 0.52,
10116
- output: 2.08,
10117
- cacheRead: 0,
10118
- cacheWrite: 0,
10119
- },
10120
- contextWindow: 131072,
10121
- maxTokens: 32768,
10122
- },
10123
10106
  "qwen/qwen3-14b": {
10124
10107
  id: "qwen/qwen3-14b",
10125
10108
  name: "Qwen: Qwen3 14B",
@@ -10129,7 +10112,7 @@ export const MODELS = {
10129
10112
  reasoning: true,
10130
10113
  input: ["text"],
10131
10114
  cost: {
10132
- input: 0.06,
10115
+ input: 0.09999999999999999,
10133
10116
  output: 0.24,
10134
10117
  cacheRead: 0,
10135
10118
  cacheWrite: 0,
@@ -10641,7 +10624,7 @@ export const MODELS = {
10641
10624
  cost: {
10642
10625
  input: 0.39,
10643
10626
  output: 2.34,
10644
- cacheRead: 0,
10627
+ cacheRead: 0.195,
10645
10628
  cacheWrite: 0,
10646
10629
  },
10647
10630
  contextWindow: 262144,
@@ -10707,8 +10690,8 @@ export const MODELS = {
10707
10690
  reasoning: true,
10708
10691
  input: ["text", "image"],
10709
10692
  cost: {
10710
- input: 0.39999999999999997,
10711
- output: 2.4,
10693
+ input: 0.3,
10694
+ output: 1.7999999999999998,
10712
10695
  cacheRead: 0,
10713
10696
  cacheWrite: 0,
10714
10697
  },
@@ -10758,10 +10741,10 @@ export const MODELS = {
10758
10741
  reasoning: true,
10759
10742
  input: ["text", "image"],
10760
10743
  cost: {
10761
- input: 0.25,
10762
- output: 1.5,
10744
+ input: 0.1875,
10745
+ output: 1.125,
10763
10746
  cacheRead: 0,
10764
- cacheWrite: 0.3125,
10747
+ cacheWrite: 0.234375,
10765
10748
  },
10766
10749
  contextWindow: 1000000,
10767
10750
  maxTokens: 65536,
@@ -11302,13 +11285,13 @@ export const MODELS = {
11302
11285
  reasoning: true,
11303
11286
  input: ["text"],
11304
11287
  cost: {
11305
- input: 0.39,
11306
- output: 1.9,
11307
- cacheRead: 0,
11288
+ input: 0.43,
11289
+ output: 1.74,
11290
+ cacheRead: 0.08,
11308
11291
  cacheWrite: 0,
11309
11292
  },
11310
- contextWindow: 204800,
11311
- maxTokens: 204800,
11293
+ contextWindow: 202752,
11294
+ maxTokens: 131072,
11312
11295
  },
11313
11296
  "z-ai/glm-4.6v": {
11314
11297
  id: "z-ai/glm-4.6v",
@@ -11523,13 +11506,13 @@ export const MODELS = {
11523
11506
  reasoning: true,
11524
11507
  input: ["text", "image"],
11525
11508
  cost: {
11526
- input: 0.74,
11527
- output: 3.5,
11509
+ input: 0.73,
11510
+ output: 3.49,
11528
11511
  cacheRead: 0.25,
11529
11512
  cacheWrite: 0,
11530
11513
  },
11531
- contextWindow: 32768,
11532
- maxTokens: 32768,
11514
+ contextWindow: 262142,
11515
+ maxTokens: 262142,
11533
11516
  },
11534
11517
  "~openai/gpt-latest": {
11535
11518
  id: "~openai/gpt-latest",
@@ -13575,7 +13558,7 @@ export const MODELS = {
13575
13558
  },
13576
13559
  "openai/gpt-oss-20b": {
13577
13560
  id: "openai/gpt-oss-20b",
13578
- name: "GPT OSS 120B",
13561
+ name: "GPT OSS 20B",
13579
13562
  api: "anthropic-messages",
13580
13563
  provider: "vercel-ai-gateway",
13581
13564
  baseUrl: "https://ai-gateway.vercel.sh",