@dreb/ai 2.22.0 → 2.23.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.
@@ -2730,7 +2730,7 @@ export const MODELS = {
2730
2730
  cacheWrite: 6.25,
2731
2731
  },
2732
2732
  contextWindow: 200000,
2733
- maxTokens: 64000,
2733
+ maxTokens: 32000,
2734
2734
  },
2735
2735
  "claude-opus-4.6": {
2736
2736
  id: "claude-opus-4.6",
@@ -2748,7 +2748,7 @@ export const MODELS = {
2748
2748
  cacheWrite: 6.25,
2749
2749
  },
2750
2750
  contextWindow: 1000000,
2751
- maxTokens: 128000,
2751
+ maxTokens: 32000,
2752
2752
  },
2753
2753
  "claude-opus-4.7": {
2754
2754
  id: "claude-opus-4.7",
@@ -2765,8 +2765,8 @@ export const MODELS = {
2765
2765
  cacheRead: 0.5,
2766
2766
  cacheWrite: 6.25,
2767
2767
  },
2768
- contextWindow: 1000000,
2769
- maxTokens: 128000,
2768
+ contextWindow: 200000,
2769
+ maxTokens: 32000,
2770
2770
  },
2771
2771
  "claude-opus-4.8": {
2772
2772
  id: "claude-opus-4.8",
@@ -2783,8 +2783,8 @@ export const MODELS = {
2783
2783
  cacheRead: 0.5,
2784
2784
  cacheWrite: 6.25,
2785
2785
  },
2786
- contextWindow: 1000000,
2787
- maxTokens: 128000,
2786
+ contextWindow: 200000,
2787
+ maxTokens: 64000,
2788
2788
  },
2789
2789
  "claude-sonnet-4": {
2790
2790
  id: "claude-sonnet-4",
@@ -2801,8 +2801,8 @@ export const MODELS = {
2801
2801
  cacheRead: 0.3,
2802
2802
  cacheWrite: 3.75,
2803
2803
  },
2804
- contextWindow: 200000,
2805
- maxTokens: 64000,
2804
+ contextWindow: 216000,
2805
+ maxTokens: 16000,
2806
2806
  },
2807
2807
  "claude-sonnet-4.5": {
2808
2808
  id: "claude-sonnet-4.5",
@@ -2820,7 +2820,7 @@ export const MODELS = {
2820
2820
  cacheWrite: 3.75,
2821
2821
  },
2822
2822
  contextWindow: 200000,
2823
- maxTokens: 64000,
2823
+ maxTokens: 32000,
2824
2824
  },
2825
2825
  "claude-sonnet-4.6": {
2826
2826
  id: "claude-sonnet-4.6",
@@ -2838,7 +2838,7 @@ export const MODELS = {
2838
2838
  cacheWrite: 3.75,
2839
2839
  },
2840
2840
  contextWindow: 1000000,
2841
- maxTokens: 64000,
2841
+ maxTokens: 32000,
2842
2842
  },
2843
2843
  "gemini-2.5-pro": {
2844
2844
  id: "gemini-2.5-pro",
@@ -2856,8 +2856,8 @@ export const MODELS = {
2856
2856
  cacheRead: 0.125,
2857
2857
  cacheWrite: 0,
2858
2858
  },
2859
- contextWindow: 1048576,
2860
- maxTokens: 65536,
2859
+ contextWindow: 128000,
2860
+ maxTokens: 64000,
2861
2861
  },
2862
2862
  "gemini-3-flash-preview": {
2863
2863
  id: "gemini-3-flash-preview",
@@ -2875,8 +2875,8 @@ export const MODELS = {
2875
2875
  cacheRead: 0.05,
2876
2876
  cacheWrite: 0,
2877
2877
  },
2878
- contextWindow: 1048576,
2879
- maxTokens: 65536,
2878
+ contextWindow: 128000,
2879
+ maxTokens: 64000,
2880
2880
  },
2881
2881
  "gemini-3.1-pro-preview": {
2882
2882
  id: "gemini-3.1-pro-preview",
@@ -2894,8 +2894,8 @@ export const MODELS = {
2894
2894
  cacheRead: 0.2,
2895
2895
  cacheWrite: 0,
2896
2896
  },
2897
- contextWindow: 1048576,
2898
- maxTokens: 65536,
2897
+ contextWindow: 200000,
2898
+ maxTokens: 64000,
2899
2899
  },
2900
2900
  "gemini-3.5-flash": {
2901
2901
  id: "gemini-3.5-flash",
@@ -2913,8 +2913,8 @@ export const MODELS = {
2913
2913
  cacheRead: 0.15,
2914
2914
  cacheWrite: 0,
2915
2915
  },
2916
- contextWindow: 1048576,
2917
- maxTokens: 65536,
2916
+ contextWindow: 200000,
2917
+ maxTokens: 64000,
2918
2918
  },
2919
2919
  "gpt-4.1": {
2920
2920
  id: "gpt-4.1",
@@ -2932,8 +2932,8 @@ export const MODELS = {
2932
2932
  cacheRead: 0.5,
2933
2933
  cacheWrite: 0,
2934
2934
  },
2935
- contextWindow: 1047576,
2936
- maxTokens: 32768,
2935
+ contextWindow: 128000,
2936
+ maxTokens: 16384,
2937
2937
  },
2938
2938
  "gpt-5-mini": {
2939
2939
  id: "gpt-5-mini",
@@ -2950,8 +2950,8 @@ export const MODELS = {
2950
2950
  cacheRead: 0.025,
2951
2951
  cacheWrite: 0,
2952
2952
  },
2953
- contextWindow: 400000,
2954
- maxTokens: 128000,
2953
+ contextWindow: 264000,
2954
+ maxTokens: 64000,
2955
2955
  },
2956
2956
  "gpt-5.2": {
2957
2957
  id: "gpt-5.2",
@@ -3022,7 +3022,7 @@ export const MODELS = {
3022
3022
  cacheRead: 0.25,
3023
3023
  cacheWrite: 0,
3024
3024
  },
3025
- contextWindow: 1050000,
3025
+ contextWindow: 400000,
3026
3026
  maxTokens: 128000,
3027
3027
  },
3028
3028
  "gpt-5.4-mini": {
@@ -3076,7 +3076,7 @@ export const MODELS = {
3076
3076
  cacheRead: 0.5,
3077
3077
  cacheWrite: 0,
3078
3078
  },
3079
- contextWindow: 1050000,
3079
+ contextWindow: 400000,
3080
3080
  maxTokens: 128000,
3081
3081
  },
3082
3082
  "raptor-mini": {
@@ -4724,6 +4724,23 @@ export const MODELS = {
4724
4724
  contextWindow: 262144,
4725
4725
  maxTokens: 262144,
4726
4726
  },
4727
+ "devstral-latest": {
4728
+ id: "devstral-latest",
4729
+ name: "Devstral 2",
4730
+ api: "mistral-conversations",
4731
+ provider: "mistral",
4732
+ baseUrl: "https://api.mistral.ai",
4733
+ reasoning: false,
4734
+ input: ["text"],
4735
+ cost: {
4736
+ input: 0.4,
4737
+ output: 2,
4738
+ cacheRead: 0,
4739
+ cacheWrite: 0,
4740
+ },
4741
+ contextWindow: 262144,
4742
+ maxTokens: 262144,
4743
+ },
4727
4744
  "devstral-medium-2507": {
4728
4745
  id: "devstral-medium-2507",
4729
4746
  name: "Devstral Medium",
@@ -8075,9 +8092,9 @@ export const MODELS = {
8075
8092
  reasoning: true,
8076
8093
  input: ["text"],
8077
8094
  cost: {
8078
- input: 0.3,
8079
- output: 2.5,
8080
- cacheRead: 0.06,
8095
+ input: 0.075,
8096
+ output: 0.625,
8097
+ cacheRead: 0.015,
8081
8098
  cacheWrite: 0,
8082
8099
  },
8083
8100
  contextWindow: 262144,
@@ -12290,12 +12307,12 @@ export const MODELS = {
12290
12307
  api: "anthropic-messages",
12291
12308
  provider: "vercel-ai-gateway",
12292
12309
  baseUrl: "https://ai-gateway.vercel.sh",
12293
- reasoning: false,
12310
+ reasoning: true,
12294
12311
  input: ["text", "image"],
12295
12312
  cost: {
12296
- input: 0.13,
12297
- output: 0.39999999999999997,
12298
- cacheRead: 0,
12313
+ input: 0.15,
12314
+ output: 0.6,
12315
+ cacheRead: 0.015,
12299
12316
  cacheWrite: 0,
12300
12317
  },
12301
12318
  contextWindow: 262144,