@dreb/ai 2.20.0 → 2.21.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.
@@ -155,6 +155,23 @@ export const MODELS = {
155
155
  contextWindow: 1000000,
156
156
  maxTokens: 128000,
157
157
  },
158
+ "anthropic.claude-opus-4-8": {
159
+ id: "anthropic.claude-opus-4-8",
160
+ name: "Claude Opus 4.8",
161
+ api: "bedrock-converse-stream",
162
+ provider: "amazon-bedrock",
163
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
164
+ reasoning: true,
165
+ input: ["text", "image"],
166
+ cost: {
167
+ input: 5,
168
+ output: 25,
169
+ cacheRead: 0.5,
170
+ cacheWrite: 6.25,
171
+ },
172
+ contextWindow: 1000000,
173
+ maxTokens: 128000,
174
+ },
158
175
  "anthropic.claude-sonnet-4-5-20250929-v1:0": {
159
176
  id: "anthropic.claude-sonnet-4-5-20250929-v1:0",
160
177
  name: "Claude Sonnet 4.5",
@@ -1738,6 +1755,23 @@ export const MODELS = {
1738
1755
  contextWindow: 1000000,
1739
1756
  maxTokens: 128000,
1740
1757
  },
1758
+ "claude-opus-4-8": {
1759
+ id: "claude-opus-4-8",
1760
+ name: "Claude Opus 4.8",
1761
+ api: "anthropic-messages",
1762
+ provider: "anthropic",
1763
+ baseUrl: "https://api.anthropic.com",
1764
+ reasoning: true,
1765
+ input: ["text", "image"],
1766
+ cost: {
1767
+ input: 5,
1768
+ output: 25,
1769
+ cacheRead: 0.5,
1770
+ cacheWrite: 6.25,
1771
+ },
1772
+ contextWindow: 1000000,
1773
+ maxTokens: 128000,
1774
+ },
1741
1775
  "claude-sonnet-4-0": {
1742
1776
  id: "claude-sonnet-4-0",
1743
1777
  name: "Claude Sonnet 4 (latest)",
@@ -5953,6 +5987,23 @@ export const MODELS = {
5953
5987
  contextWindow: 1000000,
5954
5988
  maxTokens: 128000,
5955
5989
  },
5990
+ "claude-opus-4-8": {
5991
+ id: "claude-opus-4-8",
5992
+ name: "Claude Opus 4.8",
5993
+ api: "anthropic-messages",
5994
+ provider: "opencode",
5995
+ baseUrl: "https://opencode.ai/zen",
5996
+ reasoning: true,
5997
+ input: ["text", "image"],
5998
+ cost: {
5999
+ input: 5,
6000
+ output: 25,
6001
+ cacheRead: 0.5,
6002
+ cacheWrite: 6.25,
6003
+ },
6004
+ contextWindow: 1000000,
6005
+ maxTokens: 128000,
6006
+ },
5956
6007
  "claude-sonnet-4": {
5957
6008
  id: "claude-sonnet-4",
5958
6009
  name: "Claude Sonnet 4",
@@ -7028,6 +7079,40 @@ export const MODELS = {
7028
7079
  contextWindow: 1000000,
7029
7080
  maxTokens: 128000,
7030
7081
  },
7082
+ "anthropic/claude-opus-4.8": {
7083
+ id: "anthropic/claude-opus-4.8",
7084
+ name: "Anthropic: Claude Opus 4.8",
7085
+ api: "openai-completions",
7086
+ provider: "openrouter",
7087
+ baseUrl: "https://openrouter.ai/api/v1",
7088
+ reasoning: true,
7089
+ input: ["text", "image"],
7090
+ cost: {
7091
+ input: 5,
7092
+ output: 25,
7093
+ cacheRead: 0.5,
7094
+ cacheWrite: 6.25,
7095
+ },
7096
+ contextWindow: 1000000,
7097
+ maxTokens: 128000,
7098
+ },
7099
+ "anthropic/claude-opus-4.8-fast": {
7100
+ id: "anthropic/claude-opus-4.8-fast",
7101
+ name: "Anthropic: Claude Opus 4.8 (Fast)",
7102
+ api: "openai-completions",
7103
+ provider: "openrouter",
7104
+ baseUrl: "https://openrouter.ai/api/v1",
7105
+ reasoning: true,
7106
+ input: ["text", "image"],
7107
+ cost: {
7108
+ input: 10,
7109
+ output: 50,
7110
+ cacheRead: 1,
7111
+ cacheWrite: 12.5,
7112
+ },
7113
+ contextWindow: 1000000,
7114
+ maxTokens: 128000,
7115
+ },
7031
7116
  "anthropic/claude-sonnet-4": {
7032
7117
  id: "anthropic/claude-sonnet-4",
7033
7118
  name: "Anthropic: Claude Sonnet 4",
@@ -10931,8 +11016,8 @@ export const MODELS = {
10931
11016
  input: ["text"],
10932
11017
  cost: {
10933
11018
  input: 0.125,
10934
- output: 0.84,
10935
- cacheRead: 0,
11019
+ output: 0.85,
11020
+ cacheRead: 0.06,
10936
11021
  cacheWrite: 0,
10937
11022
  },
10938
11023
  contextWindow: 131072,
@@ -11705,6 +11790,23 @@ export const MODELS = {
11705
11790
  contextWindow: 1000000,
11706
11791
  maxTokens: 128000,
11707
11792
  },
11793
+ "anthropic/claude-opus-4.8": {
11794
+ id: "anthropic/claude-opus-4.8",
11795
+ name: "Claude Opus 4.8",
11796
+ api: "anthropic-messages",
11797
+ provider: "vercel-ai-gateway",
11798
+ baseUrl: "https://ai-gateway.vercel.sh",
11799
+ reasoning: true,
11800
+ input: ["text", "image"],
11801
+ cost: {
11802
+ input: 5,
11803
+ output: 25,
11804
+ cacheRead: 0.5,
11805
+ cacheWrite: 6.25,
11806
+ },
11807
+ contextWindow: 1000000,
11808
+ maxTokens: 128000,
11809
+ },
11708
11810
  "anthropic/claude-sonnet-4": {
11709
11811
  id: "anthropic/claude-sonnet-4",
11710
11812
  name: "Claude Sonnet 4",