@dreb/ai 2.22.0 → 2.22.1

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": {
@@ -8075,9 +8075,9 @@ export const MODELS = {
8075
8075
  reasoning: true,
8076
8076
  input: ["text"],
8077
8077
  cost: {
8078
- input: 0.3,
8079
- output: 2.5,
8080
- cacheRead: 0.06,
8078
+ input: 0.075,
8079
+ output: 0.625,
8080
+ cacheRead: 0.015,
8081
8081
  cacheWrite: 0,
8082
8082
  },
8083
8083
  contextWindow: 262144,
@@ -12290,12 +12290,12 @@ export const MODELS = {
12290
12290
  api: "anthropic-messages",
12291
12291
  provider: "vercel-ai-gateway",
12292
12292
  baseUrl: "https://ai-gateway.vercel.sh",
12293
- reasoning: false,
12293
+ reasoning: true,
12294
12294
  input: ["text", "image"],
12295
12295
  cost: {
12296
- input: 0.13,
12297
- output: 0.39999999999999997,
12298
- cacheRead: 0,
12296
+ input: 0.15,
12297
+ output: 0.6,
12298
+ cacheRead: 0.015,
12299
12299
  cacheWrite: 0,
12300
12300
  },
12301
12301
  contextWindow: 262144,