@dreb/ai 2.34.2 → 2.34.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.
@@ -1600,6 +1600,23 @@ export const MODELS = {
1600
1600
  contextWindow: 1040000,
1601
1601
  maxTokens: 8192,
1602
1602
  },
1603
+ "xai.grok-4.3": {
1604
+ id: "xai.grok-4.3",
1605
+ name: "Grok 4.3",
1606
+ api: "bedrock-converse-stream",
1607
+ provider: "amazon-bedrock",
1608
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1609
+ reasoning: true,
1610
+ input: ["text", "image"],
1611
+ cost: {
1612
+ input: 1.25,
1613
+ output: 2.5,
1614
+ cacheRead: 0.2,
1615
+ cacheWrite: 0,
1616
+ },
1617
+ contextWindow: 1000000,
1618
+ maxTokens: 131072,
1619
+ },
1603
1620
  "zai.glm-4.7": {
1604
1621
  id: "zai.glm-4.7",
1605
1622
  name: "GLM-4.7",
@@ -4020,7 +4037,7 @@ export const MODELS = {
4020
4037
  cost: {
4021
4038
  input: 0.075,
4022
4039
  output: 0.3,
4023
- cacheRead: 0.037,
4040
+ cacheRead: 0,
4024
4041
  cacheWrite: 0,
4025
4042
  },
4026
4043
  contextWindow: 131072,
@@ -4693,6 +4710,24 @@ export const MODELS = {
4693
4710
  contextWindow: 262144,
4694
4711
  maxTokens: 262144,
4695
4712
  },
4713
+ "openai/gpt-oss-120b": {
4714
+ id: "openai/gpt-oss-120b",
4715
+ name: "GPT OSS 120B",
4716
+ api: "openai-completions",
4717
+ provider: "huggingface",
4718
+ baseUrl: "https://router.huggingface.co/v1",
4719
+ compat: { "supportsDeveloperRole": false },
4720
+ reasoning: true,
4721
+ input: ["text"],
4722
+ cost: {
4723
+ input: 0.25,
4724
+ output: 0.69,
4725
+ cacheRead: 0,
4726
+ cacheWrite: 0,
4727
+ },
4728
+ contextWindow: 131072,
4729
+ maxTokens: 32768,
4730
+ },
4696
4731
  "stepfun-ai/Step-3.5-Flash": {
4697
4732
  id: "stepfun-ai/Step-3.5-Flash",
4698
4733
  name: "Step 3.5 Flash",
@@ -7615,23 +7650,6 @@ export const MODELS = {
7615
7650
  contextWindow: 1000000,
7616
7651
  maxTokens: 128000,
7617
7652
  },
7618
- "anthropic/claude-opus-4.6-fast": {
7619
- id: "anthropic/claude-opus-4.6-fast",
7620
- name: "Anthropic: Claude Opus 4.6 (Fast)",
7621
- api: "openai-completions",
7622
- provider: "openrouter",
7623
- baseUrl: "https://openrouter.ai/api/v1",
7624
- reasoning: true,
7625
- input: ["text", "image"],
7626
- cost: {
7627
- input: 30,
7628
- output: 150,
7629
- cacheRead: 3,
7630
- cacheWrite: 37.5,
7631
- },
7632
- contextWindow: 1000000,
7633
- maxTokens: 128000,
7634
- },
7635
7653
  "anthropic/claude-opus-4.7": {
7636
7654
  id: "anthropic/claude-opus-4.7",
7637
7655
  name: "Anthropic: Claude Opus 4.7",
@@ -9058,7 +9076,7 @@ export const MODELS = {
9058
9076
  cacheWrite: 0,
9059
9077
  },
9060
9078
  contextWindow: 131072,
9061
- maxTokens: 32768,
9079
+ maxTokens: 100352,
9062
9080
  },
9063
9081
  "moonshotai/kimi-k2-0905": {
9064
9082
  id: "moonshotai/kimi-k2-0905",
@@ -9075,7 +9093,7 @@ export const MODELS = {
9075
9093
  cacheWrite: 0,
9076
9094
  },
9077
9095
  contextWindow: 262144,
9078
- maxTokens: 262144,
9096
+ maxTokens: 100352,
9079
9097
  },
9080
9098
  "moonshotai/kimi-k2-thinking": {
9081
9099
  id: "moonshotai/kimi-k2-thinking",
@@ -9120,9 +9138,9 @@ export const MODELS = {
9120
9138
  reasoning: true,
9121
9139
  input: ["text", "image"],
9122
9140
  cost: {
9123
- input: 0.66,
9124
- output: 3.41,
9125
- cacheRead: 0.144,
9141
+ input: 0.55,
9142
+ output: 3.1999999999999997,
9143
+ cacheRead: 0.11,
9126
9144
  cacheWrite: 0,
9127
9145
  },
9128
9146
  contextWindow: 262144,
@@ -11041,8 +11059,8 @@ export const MODELS = {
11041
11059
  reasoning: true,
11042
11060
  input: ["text", "image"],
11043
11061
  cost: {
11044
- input: 0.28850000000000003,
11045
- output: 2.65,
11062
+ input: 0.2596,
11063
+ output: 2.3850000000000002,
11046
11064
  cacheRead: 0,
11047
11065
  cacheWrite: 0,
11048
11066
  },
@@ -11228,13 +11246,13 @@ export const MODELS = {
11228
11246
  reasoning: true,
11229
11247
  input: ["text"],
11230
11248
  cost: {
11231
- input: 0.09,
11249
+ input: 0.09999999999999999,
11232
11250
  output: 0.3,
11233
- cacheRead: 0.02,
11251
+ cacheRead: 0,
11234
11252
  cacheWrite: 0,
11235
11253
  },
11236
11254
  contextWindow: 262144,
11237
- maxTokens: 16384,
11255
+ maxTokens: 65536,
11238
11256
  },
11239
11257
  "stepfun/step-3.7-flash": {
11240
11258
  id: "stepfun/step-3.7-flash",
@@ -11568,13 +11586,13 @@ export const MODELS = {
11568
11586
  reasoning: true,
11569
11587
  input: ["text"],
11570
11588
  cost: {
11571
- input: 0.95,
11589
+ input: 0.94,
11572
11590
  output: 3,
11573
11591
  cacheRead: 0.18,
11574
11592
  cacheWrite: 0,
11575
11593
  },
11576
11594
  contextWindow: 1048576,
11577
- maxTokens: 32768,
11595
+ maxTokens: 4096,
11578
11596
  },
11579
11597
  "z-ai/glm-5v-turbo": {
11580
11598
  id: "z-ai/glm-5v-turbo",
@@ -11704,9 +11722,9 @@ export const MODELS = {
11704
11722
  reasoning: true,
11705
11723
  input: ["text", "image"],
11706
11724
  cost: {
11707
- input: 0.66,
11708
- output: 3.41,
11709
- cacheRead: 0.144,
11725
+ input: 0.55,
11726
+ output: 3.1999999999999997,
11727
+ cacheRead: 0.11,
11710
11728
  cacheWrite: 0,
11711
11729
  },
11712
11730
  contextWindow: 262144,
@@ -14640,7 +14658,7 @@ export const MODELS = {
14640
14658
  },
14641
14659
  "zai/glm-4.5": {
14642
14660
  id: "zai/glm-4.5",
14643
- name: "GLM-4.5",
14661
+ name: "GLM 4.5",
14644
14662
  api: "anthropic-messages",
14645
14663
  provider: "vercel-ai-gateway",
14646
14664
  baseUrl: "https://ai-gateway.vercel.sh",