@dreb/ai 2.17.0 → 2.18.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,23 +6699,6 @@ 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",
6706
- provider: "opencode",
6707
- baseUrl: "https://opencode.ai/zen/v1",
6708
- reasoning: true,
6709
- input: ["text"],
6710
- cost: {
6711
- input: 0,
6712
- output: 0,
6713
- cacheRead: 0,
6714
- cacheWrite: 0,
6715
- },
6716
- contextWindow: 262000,
6717
- maxTokens: 66000,
6718
- },
6719
6702
  },
6720
6703
  "opencode-go": {
6721
6704
  "deepseek-v4-flash": {
@@ -6857,9 +6840,9 @@ export const MODELS = {
6857
6840
  "minimax-m2.5": {
6858
6841
  id: "minimax-m2.5",
6859
6842
  name: "MiniMax M2.5",
6860
- api: "openai-completions",
6843
+ api: "anthropic-messages",
6861
6844
  provider: "opencode-go",
6862
- baseUrl: "https://opencode.ai/zen/go/v1",
6845
+ baseUrl: "https://opencode.ai/zen/go",
6863
6846
  reasoning: true,
6864
6847
  input: ["text"],
6865
6848
  cost: {
@@ -7196,6 +7179,23 @@ export const MODELS = {
7196
7179
  contextWindow: 1000000,
7197
7180
  maxTokens: 128000,
7198
7181
  },
7182
+ "anthropic/claude-opus-4.7-fast": {
7183
+ id: "anthropic/claude-opus-4.7-fast",
7184
+ name: "Anthropic: Claude Opus 4.7 (Fast)",
7185
+ api: "openai-completions",
7186
+ provider: "openrouter",
7187
+ baseUrl: "https://openrouter.ai/api/v1",
7188
+ reasoning: true,
7189
+ input: ["text", "image"],
7190
+ cost: {
7191
+ input: 30,
7192
+ output: 150,
7193
+ cacheRead: 3,
7194
+ cacheWrite: 37.5,
7195
+ },
7196
+ contextWindow: 1000000,
7197
+ maxTokens: 128000,
7198
+ },
7199
7199
  "anthropic/claude-sonnet-4": {
7200
7200
  id: "anthropic/claude-sonnet-4",
7201
7201
  name: "Anthropic: Claude Sonnet 4",
@@ -7647,9 +7647,26 @@ export const MODELS = {
7647
7647
  reasoning: true,
7648
7648
  input: ["text"],
7649
7649
  cost: {
7650
- input: 0.14,
7651
- output: 0.28,
7652
- cacheRead: 0.0028,
7650
+ input: 0.126,
7651
+ output: 0.252,
7652
+ cacheRead: 0.0252,
7653
+ cacheWrite: 0,
7654
+ },
7655
+ contextWindow: 1048576,
7656
+ maxTokens: 131072,
7657
+ },
7658
+ "deepseek/deepseek-v4-flash:free": {
7659
+ id: "deepseek/deepseek-v4-flash:free",
7660
+ name: "DeepSeek: DeepSeek V4 Flash (free)",
7661
+ api: "openai-completions",
7662
+ provider: "openrouter",
7663
+ baseUrl: "https://openrouter.ai/api/v1",
7664
+ reasoning: true,
7665
+ input: ["text"],
7666
+ cost: {
7667
+ input: 0,
7668
+ output: 0,
7669
+ cacheRead: 0,
7653
7670
  cacheWrite: 0,
7654
7671
  },
7655
7672
  contextWindow: 1048576,
@@ -8293,7 +8310,7 @@ export const MODELS = {
8293
8310
  reasoning: true,
8294
8311
  input: ["text"],
8295
8312
  cost: {
8296
- input: 0.19999999999999998,
8313
+ input: 0.26,
8297
8314
  output: 1.2,
8298
8315
  cacheRead: 0,
8299
8316
  cacheWrite: 0,
@@ -8684,8 +8701,8 @@ export const MODELS = {
8684
8701
  reasoning: false,
8685
8702
  input: ["text"],
8686
8703
  cost: {
8687
- input: 0.39999999999999997,
8688
- output: 2,
8704
+ input: 0.6,
8705
+ output: 2.5,
8689
8706
  cacheRead: 0,
8690
8707
  cacheWrite: 0,
8691
8708
  },
@@ -8735,13 +8752,13 @@ export const MODELS = {
8735
8752
  reasoning: true,
8736
8753
  input: ["text", "image"],
8737
8754
  cost: {
8738
- input: 0.74,
8739
- output: 3.5,
8755
+ input: 0.73,
8756
+ output: 3.49,
8740
8757
  cacheRead: 0.25,
8741
8758
  cacheWrite: 0,
8742
8759
  },
8743
- contextWindow: 32768,
8744
- maxTokens: 32768,
8760
+ contextWindow: 262142,
8761
+ maxTokens: 262142,
8745
8762
  },
8746
8763
  "nex-agi/deepseek-v3.1-nex-n1": {
8747
8764
  id: "nex-agi/deepseek-v3.1-nex-n1",
@@ -10018,23 +10035,6 @@ export const MODELS = {
10018
10035
  contextWindow: 32768,
10019
10036
  maxTokens: 32768,
10020
10037
  },
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
10038
  "qwen/qwen-plus": {
10039
10039
  id: "qwen/qwen-plus",
10040
10040
  name: "Qwen: Qwen-Plus",
@@ -10086,40 +10086,6 @@ export const MODELS = {
10086
10086
  contextWindow: 1000000,
10087
10087
  maxTokens: 32768,
10088
10088
  },
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
10089
  "qwen/qwen3-14b": {
10124
10090
  id: "qwen/qwen3-14b",
10125
10091
  name: "Qwen: Qwen3 14B",
@@ -10129,7 +10095,7 @@ export const MODELS = {
10129
10095
  reasoning: true,
10130
10096
  input: ["text"],
10131
10097
  cost: {
10132
- input: 0.06,
10098
+ input: 0.09999999999999999,
10133
10099
  output: 0.24,
10134
10100
  cacheRead: 0,
10135
10101
  cacheWrite: 0,
@@ -10641,7 +10607,7 @@ export const MODELS = {
10641
10607
  cost: {
10642
10608
  input: 0.39,
10643
10609
  output: 2.34,
10644
- cacheRead: 0,
10610
+ cacheRead: 0.195,
10645
10611
  cacheWrite: 0,
10646
10612
  },
10647
10613
  contextWindow: 262144,
@@ -11302,13 +11268,13 @@ export const MODELS = {
11302
11268
  reasoning: true,
11303
11269
  input: ["text"],
11304
11270
  cost: {
11305
- input: 0.39,
11306
- output: 1.9,
11307
- cacheRead: 0,
11271
+ input: 0.43,
11272
+ output: 1.74,
11273
+ cacheRead: 0.08,
11308
11274
  cacheWrite: 0,
11309
11275
  },
11310
- contextWindow: 204800,
11311
- maxTokens: 204800,
11276
+ contextWindow: 202752,
11277
+ maxTokens: 131072,
11312
11278
  },
11313
11279
  "z-ai/glm-4.6v": {
11314
11280
  id: "z-ai/glm-4.6v",
@@ -11523,13 +11489,13 @@ export const MODELS = {
11523
11489
  reasoning: true,
11524
11490
  input: ["text", "image"],
11525
11491
  cost: {
11526
- input: 0.74,
11527
- output: 3.5,
11492
+ input: 0.73,
11493
+ output: 3.49,
11528
11494
  cacheRead: 0.25,
11529
11495
  cacheWrite: 0,
11530
11496
  },
11531
- contextWindow: 32768,
11532
- maxTokens: 32768,
11497
+ contextWindow: 262142,
11498
+ maxTokens: 262142,
11533
11499
  },
11534
11500
  "~openai/gpt-latest": {
11535
11501
  id: "~openai/gpt-latest",
@@ -13575,7 +13541,7 @@ export const MODELS = {
13575
13541
  },
13576
13542
  "openai/gpt-oss-20b": {
13577
13543
  id: "openai/gpt-oss-20b",
13578
- name: "GPT OSS 120B",
13544
+ name: "GPT OSS 20B",
13579
13545
  api: "anthropic-messages",
13580
13546
  provider: "vercel-ai-gateway",
13581
13547
  baseUrl: "https://ai-gateway.vercel.sh",