@earendil-works/pi-ai 0.80.3 → 0.80.6
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.
- package/README.md +4 -2
- package/dist/api/anthropic-messages.d.ts.map +1 -1
- package/dist/api/anthropic-messages.js +7 -4
- package/dist/api/anthropic-messages.js.map +1 -1
- package/dist/api/azure-openai-responses.d.ts +1 -1
- package/dist/api/azure-openai-responses.d.ts.map +1 -1
- package/dist/api/azure-openai-responses.js +3 -1
- package/dist/api/azure-openai-responses.js.map +1 -1
- package/dist/api/bedrock-converse-stream.d.ts.map +1 -1
- package/dist/api/bedrock-converse-stream.js +9 -5
- package/dist/api/bedrock-converse-stream.js.map +1 -1
- package/dist/api/google-generative-ai.d.ts.map +1 -1
- package/dist/api/google-generative-ai.js.map +1 -1
- package/dist/api/google-vertex.d.ts.map +1 -1
- package/dist/api/google-vertex.js.map +1 -1
- package/dist/api/openai-codex-responses.d.ts +1 -1
- package/dist/api/openai-codex-responses.d.ts.map +1 -1
- package/dist/api/openai-codex-responses.js +52 -18
- package/dist/api/openai-codex-responses.js.map +1 -1
- package/dist/api/openai-completions.d.ts +1 -1
- package/dist/api/openai-completions.d.ts.map +1 -1
- package/dist/api/openai-completions.js +2 -1
- package/dist/api/openai-completions.js.map +1 -1
- package/dist/api/openai-responses-shared.d.ts.map +1 -1
- package/dist/api/openai-responses-shared.js +7 -5
- package/dist/api/openai-responses-shared.js.map +1 -1
- package/dist/api/openai-responses.d.ts +1 -1
- package/dist/api/openai-responses.d.ts.map +1 -1
- package/dist/api/openai-responses.js +3 -1
- package/dist/api/openai-responses.js.map +1 -1
- package/dist/api/simple-options.d.ts +1 -1
- package/dist/api/simple-options.d.ts.map +1 -1
- package/dist/api/simple-options.js +1 -1
- package/dist/api/simple-options.js.map +1 -1
- package/dist/api/transform-messages.d.ts.map +1 -1
- package/dist/api/transform-messages.js +4 -1
- package/dist/api/transform-messages.js.map +1 -1
- package/dist/models.d.ts.map +1 -1
- package/dist/models.generated.d.ts +1242 -369
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.js +15 -6
- package/dist/models.js.map +1 -1
- package/dist/providers/amazon-bedrock.models.d.ts +100 -5
- package/dist/providers/amazon-bedrock.models.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.models.js +70 -23
- package/dist/providers/amazon-bedrock.models.js.map +1 -1
- package/dist/providers/anthropic.models.d.ts +11 -171
- package/dist/providers/anthropic.models.d.ts.map +1 -1
- package/dist/providers/anthropic.models.js +9 -177
- package/dist/providers/anthropic.models.js.map +1 -1
- package/dist/providers/azure-openai-responses.models.d.ts +66 -0
- package/dist/providers/azure-openai-responses.models.d.ts.map +1 -1
- package/dist/providers/azure-openai-responses.models.js +54 -0
- package/dist/providers/azure-openai-responses.models.js.map +1 -1
- package/dist/providers/cerebras.models.d.ts +21 -0
- package/dist/providers/cerebras.models.d.ts.map +1 -1
- package/dist/providers/cerebras.models.js +18 -0
- package/dist/providers/cerebras.models.js.map +1 -1
- package/dist/providers/cloudflare-ai-gateway.models.d.ts +32 -1
- package/dist/providers/cloudflare-ai-gateway.models.d.ts.map +1 -1
- package/dist/providers/cloudflare-ai-gateway.models.js +24 -4
- package/dist/providers/cloudflare-ai-gateway.models.js.map +1 -1
- package/dist/providers/deepseek.models.d.ts +2 -2
- package/dist/providers/deepseek.models.d.ts.map +1 -1
- package/dist/providers/deepseek.models.js +2 -2
- package/dist/providers/deepseek.models.js.map +1 -1
- package/dist/providers/fireworks.models.d.ts +11 -6
- package/dist/providers/fireworks.models.d.ts.map +1 -1
- package/dist/providers/fireworks.models.js +6 -5
- package/dist/providers/fireworks.models.js.map +1 -1
- package/dist/providers/github-copilot.models.d.ts +89 -1
- package/dist/providers/github-copilot.models.d.ts.map +1 -1
- package/dist/providers/github-copilot.models.js +67 -9
- package/dist/providers/github-copilot.models.js.map +1 -1
- package/dist/providers/huggingface.models.d.ts +20 -0
- package/dist/providers/huggingface.models.d.ts.map +1 -1
- package/dist/providers/huggingface.models.js +18 -0
- package/dist/providers/huggingface.models.js.map +1 -1
- package/dist/providers/mistral.models.d.ts +1 -1
- package/dist/providers/mistral.models.d.ts.map +1 -1
- package/dist/providers/mistral.models.js +4 -4
- package/dist/providers/mistral.models.js.map +1 -1
- package/dist/providers/nvidia.models.d.ts +1 -1
- package/dist/providers/nvidia.models.d.ts.map +1 -1
- package/dist/providers/nvidia.models.js +4 -4
- package/dist/providers/nvidia.models.js.map +1 -1
- package/dist/providers/openai-codex.models.d.ts +101 -0
- package/dist/providers/openai-codex.models.d.ts.map +1 -1
- package/dist/providers/openai-codex.models.js +59 -0
- package/dist/providers/openai-codex.models.js.map +1 -1
- package/dist/providers/openai.models.d.ts +115 -0
- package/dist/providers/openai.models.d.ts.map +1 -1
- package/dist/providers/openai.models.js +61 -0
- package/dist/providers/openai.models.js.map +1 -1
- package/dist/providers/opencode-go.models.d.ts +3 -3
- package/dist/providers/opencode-go.models.d.ts.map +1 -1
- package/dist/providers/opencode-go.models.js +5 -5
- package/dist/providers/opencode-go.models.js.map +1 -1
- package/dist/providers/opencode.models.d.ts +146 -4
- package/dist/providers/opencode.models.d.ts.map +1 -1
- package/dist/providers/opencode.models.js +119 -8
- package/dist/providers/opencode.models.js.map +1 -1
- package/dist/providers/openrouter.models.d.ts +349 -24
- package/dist/providers/openrouter.models.d.ts.map +1 -1
- package/dist/providers/openrouter.models.js +351 -91
- package/dist/providers/openrouter.models.js.map +1 -1
- package/dist/providers/together.models.d.ts.map +1 -1
- package/dist/providers/together.models.js +2 -2
- package/dist/providers/together.models.js.map +1 -1
- package/dist/providers/vercel-ai-gateway.models.d.ts +129 -1
- package/dist/providers/vercel-ai-gateway.models.d.ts.map +1 -1
- package/dist/providers/vercel-ai-gateway.models.js +117 -8
- package/dist/providers/vercel-ai-gateway.models.js.map +1 -1
- package/dist/providers/xai.models.d.ts +22 -0
- package/dist/providers/xai.models.d.ts.map +1 -1
- package/dist/providers/xai.models.js +18 -0
- package/dist/providers/xai.models.js.map +1 -1
- package/dist/providers/xiaomi-token-plan-ams.models.d.ts +0 -42
- package/dist/providers/xiaomi-token-plan-ams.models.d.ts.map +1 -1
- package/dist/providers/xiaomi-token-plan-ams.models.js +9 -45
- package/dist/providers/xiaomi-token-plan-ams.models.js.map +1 -1
- package/dist/providers/xiaomi-token-plan-cn.models.d.ts +0 -42
- package/dist/providers/xiaomi-token-plan-cn.models.d.ts.map +1 -1
- package/dist/providers/xiaomi-token-plan-cn.models.js +9 -45
- package/dist/providers/xiaomi-token-plan-cn.models.js.map +1 -1
- package/dist/providers/xiaomi-token-plan-sgp.models.d.ts +0 -42
- package/dist/providers/xiaomi-token-plan-sgp.models.d.ts.map +1 -1
- package/dist/providers/xiaomi-token-plan-sgp.models.js +9 -45
- package/dist/providers/xiaomi-token-plan-sgp.models.js.map +1 -1
- package/dist/providers/zai-coding-cn.models.d.ts +1 -1
- package/dist/providers/zai-coding-cn.models.d.ts.map +1 -1
- package/dist/providers/zai-coding-cn.models.js +1 -1
- package/dist/providers/zai-coding-cn.models.js.map +1 -1
- package/dist/providers/zai.models.d.ts +1 -1
- package/dist/providers/zai.models.d.ts.map +1 -1
- package/dist/providers/zai.models.js +1 -1
- package/dist/providers/zai.models.js.map +1 -1
- package/dist/types.d.ts +16 -7
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/estimate.d.ts +3 -3
- package/dist/utils/estimate.d.ts.map +1 -1
- package/dist/utils/estimate.js +17 -9
- package/dist/utils/estimate.js.map +1 -1
- package/dist/utils/oauth/device-code.d.ts +2 -0
- package/dist/utils/oauth/device-code.d.ts.map +1 -1
- package/dist/utils/oauth/device-code.js +15 -2
- package/dist/utils/oauth/device-code.js.map +1 -1
- package/dist/utils/oauth/github-copilot.d.ts.map +1 -1
- package/dist/utils/oauth/github-copilot.js +3 -2
- package/dist/utils/oauth/github-copilot.js.map +1 -1
- package/dist/utils/overflow.d.ts +1 -0
- package/dist/utils/overflow.d.ts.map +1 -1
- package/dist/utils/overflow.js +3 -0
- package/dist/utils/overflow.js.map +1 -1
- package/dist/utils/retry.d.ts.map +1 -1
- package/dist/utils/retry.js +4 -0
- package/dist/utils/retry.js.map +1 -1
- package/dist/utils/validation.d.ts.map +1 -1
- package/dist/utils/validation.js +9 -21
- package/dist/utils/validation.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,106 +1,4 @@
|
|
|
1
1
|
export declare const ANTHROPIC_MODELS: {
|
|
2
|
-
readonly "claude-3-5-sonnet-20240620": {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
api: "anthropic-messages";
|
|
6
|
-
provider: string;
|
|
7
|
-
baseUrl: string;
|
|
8
|
-
reasoning: false;
|
|
9
|
-
input: ("image" | "text")[];
|
|
10
|
-
cost: {
|
|
11
|
-
input: number;
|
|
12
|
-
output: number;
|
|
13
|
-
cacheRead: number;
|
|
14
|
-
cacheWrite: number;
|
|
15
|
-
};
|
|
16
|
-
contextWindow: number;
|
|
17
|
-
maxTokens: number;
|
|
18
|
-
};
|
|
19
|
-
readonly "claude-3-5-sonnet-20241022": {
|
|
20
|
-
id: string;
|
|
21
|
-
name: string;
|
|
22
|
-
api: "anthropic-messages";
|
|
23
|
-
provider: string;
|
|
24
|
-
baseUrl: string;
|
|
25
|
-
reasoning: false;
|
|
26
|
-
input: ("image" | "text")[];
|
|
27
|
-
cost: {
|
|
28
|
-
input: number;
|
|
29
|
-
output: number;
|
|
30
|
-
cacheRead: number;
|
|
31
|
-
cacheWrite: number;
|
|
32
|
-
};
|
|
33
|
-
contextWindow: number;
|
|
34
|
-
maxTokens: number;
|
|
35
|
-
};
|
|
36
|
-
readonly "claude-3-7-sonnet-20250219": {
|
|
37
|
-
id: string;
|
|
38
|
-
name: string;
|
|
39
|
-
api: "anthropic-messages";
|
|
40
|
-
provider: string;
|
|
41
|
-
baseUrl: string;
|
|
42
|
-
reasoning: true;
|
|
43
|
-
input: ("image" | "text")[];
|
|
44
|
-
cost: {
|
|
45
|
-
input: number;
|
|
46
|
-
output: number;
|
|
47
|
-
cacheRead: number;
|
|
48
|
-
cacheWrite: number;
|
|
49
|
-
};
|
|
50
|
-
contextWindow: number;
|
|
51
|
-
maxTokens: number;
|
|
52
|
-
};
|
|
53
|
-
readonly "claude-3-haiku-20240307": {
|
|
54
|
-
id: string;
|
|
55
|
-
name: string;
|
|
56
|
-
api: "anthropic-messages";
|
|
57
|
-
provider: string;
|
|
58
|
-
baseUrl: string;
|
|
59
|
-
reasoning: false;
|
|
60
|
-
input: ("image" | "text")[];
|
|
61
|
-
cost: {
|
|
62
|
-
input: number;
|
|
63
|
-
output: number;
|
|
64
|
-
cacheRead: number;
|
|
65
|
-
cacheWrite: number;
|
|
66
|
-
};
|
|
67
|
-
contextWindow: number;
|
|
68
|
-
maxTokens: number;
|
|
69
|
-
};
|
|
70
|
-
readonly "claude-3-opus-20240229": {
|
|
71
|
-
id: string;
|
|
72
|
-
name: string;
|
|
73
|
-
api: "anthropic-messages";
|
|
74
|
-
provider: string;
|
|
75
|
-
baseUrl: string;
|
|
76
|
-
reasoning: false;
|
|
77
|
-
input: ("image" | "text")[];
|
|
78
|
-
cost: {
|
|
79
|
-
input: number;
|
|
80
|
-
output: number;
|
|
81
|
-
cacheRead: number;
|
|
82
|
-
cacheWrite: number;
|
|
83
|
-
};
|
|
84
|
-
contextWindow: number;
|
|
85
|
-
maxTokens: number;
|
|
86
|
-
};
|
|
87
|
-
readonly "claude-3-sonnet-20240229": {
|
|
88
|
-
id: string;
|
|
89
|
-
name: string;
|
|
90
|
-
api: "anthropic-messages";
|
|
91
|
-
provider: string;
|
|
92
|
-
baseUrl: string;
|
|
93
|
-
reasoning: false;
|
|
94
|
-
input: ("image" | "text")[];
|
|
95
|
-
cost: {
|
|
96
|
-
input: number;
|
|
97
|
-
output: number;
|
|
98
|
-
cacheRead: number;
|
|
99
|
-
cacheWrite: number;
|
|
100
|
-
};
|
|
101
|
-
contextWindow: number;
|
|
102
|
-
maxTokens: number;
|
|
103
|
-
};
|
|
104
2
|
readonly "claude-fable-5": {
|
|
105
3
|
id: string;
|
|
106
4
|
name: string;
|
|
@@ -114,6 +12,7 @@ export declare const ANTHROPIC_MODELS: {
|
|
|
114
12
|
thinkingLevelMap: {
|
|
115
13
|
off: null;
|
|
116
14
|
xhigh: string;
|
|
15
|
+
max: string;
|
|
117
16
|
};
|
|
118
17
|
input: ("image" | "text")[];
|
|
119
18
|
cost: {
|
|
@@ -159,23 +58,6 @@ export declare const ANTHROPIC_MODELS: {
|
|
|
159
58
|
contextWindow: number;
|
|
160
59
|
maxTokens: number;
|
|
161
60
|
};
|
|
162
|
-
readonly "claude-opus-4-0": {
|
|
163
|
-
id: string;
|
|
164
|
-
name: string;
|
|
165
|
-
api: "anthropic-messages";
|
|
166
|
-
provider: string;
|
|
167
|
-
baseUrl: string;
|
|
168
|
-
reasoning: true;
|
|
169
|
-
input: ("image" | "text")[];
|
|
170
|
-
cost: {
|
|
171
|
-
input: number;
|
|
172
|
-
output: number;
|
|
173
|
-
cacheRead: number;
|
|
174
|
-
cacheWrite: number;
|
|
175
|
-
};
|
|
176
|
-
contextWindow: number;
|
|
177
|
-
maxTokens: number;
|
|
178
|
-
};
|
|
179
61
|
readonly "claude-opus-4-1": {
|
|
180
62
|
id: string;
|
|
181
63
|
name: string;
|
|
@@ -210,23 +92,6 @@ export declare const ANTHROPIC_MODELS: {
|
|
|
210
92
|
contextWindow: number;
|
|
211
93
|
maxTokens: number;
|
|
212
94
|
};
|
|
213
|
-
readonly "claude-opus-4-20250514": {
|
|
214
|
-
id: string;
|
|
215
|
-
name: string;
|
|
216
|
-
api: "anthropic-messages";
|
|
217
|
-
provider: string;
|
|
218
|
-
baseUrl: string;
|
|
219
|
-
reasoning: true;
|
|
220
|
-
input: ("image" | "text")[];
|
|
221
|
-
cost: {
|
|
222
|
-
input: number;
|
|
223
|
-
output: number;
|
|
224
|
-
cacheRead: number;
|
|
225
|
-
cacheWrite: number;
|
|
226
|
-
};
|
|
227
|
-
contextWindow: number;
|
|
228
|
-
maxTokens: number;
|
|
229
|
-
};
|
|
230
95
|
readonly "claude-opus-4-5": {
|
|
231
96
|
id: string;
|
|
232
97
|
name: string;
|
|
@@ -272,7 +137,7 @@ export declare const ANTHROPIC_MODELS: {
|
|
|
272
137
|
};
|
|
273
138
|
reasoning: true;
|
|
274
139
|
thinkingLevelMap: {
|
|
275
|
-
|
|
140
|
+
max: string;
|
|
276
141
|
};
|
|
277
142
|
input: ("image" | "text")[];
|
|
278
143
|
cost: {
|
|
@@ -297,6 +162,7 @@ export declare const ANTHROPIC_MODELS: {
|
|
|
297
162
|
reasoning: true;
|
|
298
163
|
thinkingLevelMap: {
|
|
299
164
|
xhigh: string;
|
|
165
|
+
max: string;
|
|
300
166
|
};
|
|
301
167
|
input: ("image" | "text")[];
|
|
302
168
|
cost: {
|
|
@@ -321,6 +187,7 @@ export declare const ANTHROPIC_MODELS: {
|
|
|
321
187
|
reasoning: true;
|
|
322
188
|
thinkingLevelMap: {
|
|
323
189
|
xhigh: string;
|
|
190
|
+
max: string;
|
|
324
191
|
};
|
|
325
192
|
input: ("image" | "text")[];
|
|
326
193
|
cost: {
|
|
@@ -332,40 +199,6 @@ export declare const ANTHROPIC_MODELS: {
|
|
|
332
199
|
contextWindow: number;
|
|
333
200
|
maxTokens: number;
|
|
334
201
|
};
|
|
335
|
-
readonly "claude-sonnet-4-0": {
|
|
336
|
-
id: string;
|
|
337
|
-
name: string;
|
|
338
|
-
api: "anthropic-messages";
|
|
339
|
-
provider: string;
|
|
340
|
-
baseUrl: string;
|
|
341
|
-
reasoning: true;
|
|
342
|
-
input: ("image" | "text")[];
|
|
343
|
-
cost: {
|
|
344
|
-
input: number;
|
|
345
|
-
output: number;
|
|
346
|
-
cacheRead: number;
|
|
347
|
-
cacheWrite: number;
|
|
348
|
-
};
|
|
349
|
-
contextWindow: number;
|
|
350
|
-
maxTokens: number;
|
|
351
|
-
};
|
|
352
|
-
readonly "claude-sonnet-4-20250514": {
|
|
353
|
-
id: string;
|
|
354
|
-
name: string;
|
|
355
|
-
api: "anthropic-messages";
|
|
356
|
-
provider: string;
|
|
357
|
-
baseUrl: string;
|
|
358
|
-
reasoning: true;
|
|
359
|
-
input: ("image" | "text")[];
|
|
360
|
-
cost: {
|
|
361
|
-
input: number;
|
|
362
|
-
output: number;
|
|
363
|
-
cacheRead: number;
|
|
364
|
-
cacheWrite: number;
|
|
365
|
-
};
|
|
366
|
-
contextWindow: number;
|
|
367
|
-
maxTokens: number;
|
|
368
|
-
};
|
|
369
202
|
readonly "claude-sonnet-4-5": {
|
|
370
203
|
id: string;
|
|
371
204
|
name: string;
|
|
@@ -410,6 +243,9 @@ export declare const ANTHROPIC_MODELS: {
|
|
|
410
243
|
forceAdaptiveThinking: true;
|
|
411
244
|
};
|
|
412
245
|
reasoning: true;
|
|
246
|
+
thinkingLevelMap: {
|
|
247
|
+
max: string;
|
|
248
|
+
};
|
|
413
249
|
input: ("image" | "text")[];
|
|
414
250
|
cost: {
|
|
415
251
|
input: number;
|
|
@@ -430,6 +266,10 @@ export declare const ANTHROPIC_MODELS: {
|
|
|
430
266
|
forceAdaptiveThinking: true;
|
|
431
267
|
};
|
|
432
268
|
reasoning: true;
|
|
269
|
+
thinkingLevelMap: {
|
|
270
|
+
xhigh: string;
|
|
271
|
+
max: string;
|
|
272
|
+
};
|
|
433
273
|
input: ("image" | "text")[];
|
|
434
274
|
cost: {
|
|
435
275
|
input: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anthropic.models.d.ts","sourceRoot":"","sources":["../../src/providers/anthropic.models.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmanB,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport type { Model } from \"../types.ts\";\n\nexport const ANTHROPIC_MODELS = {\n\t\"claude-3-5-sonnet-20240620\": {\n\t\tid: \"claude-3-5-sonnet-20240620\",\n\t\tname: \"Claude Sonnet 3.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 8192,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-3-5-sonnet-20241022\": {\n\t\tid: \"claude-3-5-sonnet-20241022\",\n\t\tname: \"Claude Sonnet 3.5 v2\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 8192,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-3-7-sonnet-20250219\": {\n\t\tid: \"claude-3-7-sonnet-20250219\",\n\t\tname: \"Claude Sonnet 3.7\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-3-haiku-20240307\": {\n\t\tid: \"claude-3-haiku-20240307\",\n\t\tname: \"Claude Haiku 3\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.25,\n\t\t\toutput: 1.25,\n\t\t\tcacheRead: 0.03,\n\t\t\tcacheWrite: 0.3,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 4096,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-3-opus-20240229\": {\n\t\tid: \"claude-3-opus-20240229\",\n\t\tname: \"Claude Opus 3\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 75,\n\t\t\tcacheRead: 1.5,\n\t\t\tcacheWrite: 18.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 4096,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-3-sonnet-20240229\": {\n\t\tid: \"claude-3-sonnet-20240229\",\n\t\tname: \"Claude Sonnet 3\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 0.3,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 4096,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-fable-5\": {\n\t\tid: \"claude-fable-5\",\n\t\tname: \"Claude Fable 5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 10,\n\t\t\toutput: 50,\n\t\t\tcacheRead: 1,\n\t\t\tcacheWrite: 12.5,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-haiku-4-5\": {\n\t\tid: \"claude-haiku-4-5\",\n\t\tname: \"Claude Haiku 4.5 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 5,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-haiku-4-5-20251001\": {\n\t\tid: \"claude-haiku-4-5-20251001\",\n\t\tname: \"Claude Haiku 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 5,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-0\": {\n\t\tid: \"claude-opus-4-0\",\n\t\tname: \"Claude Opus 4 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 75,\n\t\t\tcacheRead: 1.5,\n\t\t\tcacheWrite: 18.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-1\": {\n\t\tid: \"claude-opus-4-1\",\n\t\tname: \"Claude Opus 4.1 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 75,\n\t\t\tcacheRead: 1.5,\n\t\t\tcacheWrite: 18.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-1-20250805\": {\n\t\tid: \"claude-opus-4-1-20250805\",\n\t\tname: \"Claude Opus 4.1\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 75,\n\t\t\tcacheRead: 1.5,\n\t\t\tcacheWrite: 18.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-20250514\": {\n\t\tid: \"claude-opus-4-20250514\",\n\t\tname: \"Claude Opus 4\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 75,\n\t\t\tcacheRead: 1.5,\n\t\t\tcacheWrite: 18.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-5\": {\n\t\tid: \"claude-opus-4-5\",\n\t\tname: \"Claude Opus 4.5 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-5-20251101\": {\n\t\tid: \"claude-opus-4-5-20251101\",\n\t\tname: \"Claude Opus 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-6\": {\n\t\tid: \"claude-opus-4-6\",\n\t\tname: \"Claude Opus 4.6\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-7\": {\n\t\tid: \"claude-opus-4-7\",\n\t\tname: \"Claude Opus 4.7\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true,\"supportsTemperature\":false},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-8\": {\n\t\tid: \"claude-opus-4-8\",\n\t\tname: \"Claude Opus 4.8\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true,\"supportsTemperature\":false},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-0\": {\n\t\tid: \"claude-sonnet-4-0\",\n\t\tname: \"Claude Sonnet 4 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-20250514\": {\n\t\tid: \"claude-sonnet-4-20250514\",\n\t\tname: \"Claude Sonnet 4\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-5\": {\n\t\tid: \"claude-sonnet-4-5\",\n\t\tname: \"Claude Sonnet 4.5 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-5-20250929\": {\n\t\tid: \"claude-sonnet-4-5-20250929\",\n\t\tname: \"Claude Sonnet 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-6\": {\n\t\tid: \"claude-sonnet-4-6\",\n\t\tname: \"Claude Sonnet 4.6\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-5\": {\n\t\tid: \"claude-sonnet-5\",\n\t\tname: \"Claude Sonnet 5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 2.5,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n} as const;\n"]}
|
|
1
|
+
{"version":3,"file":"anthropic.models.d.ts","sourceRoot":"","sources":["../../src/providers/anthropic.models.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2PnB,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport type { Model } from \"../types.ts\";\n\nexport const ANTHROPIC_MODELS = {\n\t\"claude-fable-5\": {\n\t\tid: \"claude-fable-5\",\n\t\tname: \"Claude Fable 5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 10,\n\t\t\toutput: 50,\n\t\t\tcacheRead: 1,\n\t\t\tcacheWrite: 12.5,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-haiku-4-5\": {\n\t\tid: \"claude-haiku-4-5\",\n\t\tname: \"Claude Haiku 4.5 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 5,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-haiku-4-5-20251001\": {\n\t\tid: \"claude-haiku-4-5-20251001\",\n\t\tname: \"Claude Haiku 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 5,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-1\": {\n\t\tid: \"claude-opus-4-1\",\n\t\tname: \"Claude Opus 4.1 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 75,\n\t\t\tcacheRead: 1.5,\n\t\t\tcacheWrite: 18.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-1-20250805\": {\n\t\tid: \"claude-opus-4-1-20250805\",\n\t\tname: \"Claude Opus 4.1\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 75,\n\t\t\tcacheRead: 1.5,\n\t\t\tcacheWrite: 18.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-5\": {\n\t\tid: \"claude-opus-4-5\",\n\t\tname: \"Claude Opus 4.5 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-5-20251101\": {\n\t\tid: \"claude-opus-4-5-20251101\",\n\t\tname: \"Claude Opus 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-6\": {\n\t\tid: \"claude-opus-4-6\",\n\t\tname: \"Claude Opus 4.6\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-7\": {\n\t\tid: \"claude-opus-4-7\",\n\t\tname: \"Claude Opus 4.7\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true,\"supportsTemperature\":false},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-8\": {\n\t\tid: \"claude-opus-4-8\",\n\t\tname: \"Claude Opus 4.8\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true,\"supportsTemperature\":false},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-5\": {\n\t\tid: \"claude-sonnet-4-5\",\n\t\tname: \"Claude Sonnet 4.5 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-5-20250929\": {\n\t\tid: \"claude-sonnet-4-5-20250929\",\n\t\tname: \"Claude Sonnet 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-6\": {\n\t\tid: \"claude-sonnet-4-6\",\n\t\tname: \"Claude Sonnet 4.6\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-5\": {\n\t\tid: \"claude-sonnet-5\",\n\t\tname: \"Claude Sonnet 5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 2.5,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n} as const;\n"]}
|
|
@@ -1,108 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated by scripts/generate-models.ts
|
|
2
2
|
// Do not edit manually - run 'npm run generate-models' to update
|
|
3
3
|
export const ANTHROPIC_MODELS = {
|
|
4
|
-
"claude-3-5-sonnet-20240620": {
|
|
5
|
-
id: "claude-3-5-sonnet-20240620",
|
|
6
|
-
name: "Claude Sonnet 3.5",
|
|
7
|
-
api: "anthropic-messages",
|
|
8
|
-
provider: "anthropic",
|
|
9
|
-
baseUrl: "https://api.anthropic.com",
|
|
10
|
-
reasoning: false,
|
|
11
|
-
input: ["text", "image"],
|
|
12
|
-
cost: {
|
|
13
|
-
input: 3,
|
|
14
|
-
output: 15,
|
|
15
|
-
cacheRead: 0.3,
|
|
16
|
-
cacheWrite: 3.75,
|
|
17
|
-
},
|
|
18
|
-
contextWindow: 200000,
|
|
19
|
-
maxTokens: 8192,
|
|
20
|
-
},
|
|
21
|
-
"claude-3-5-sonnet-20241022": {
|
|
22
|
-
id: "claude-3-5-sonnet-20241022",
|
|
23
|
-
name: "Claude Sonnet 3.5 v2",
|
|
24
|
-
api: "anthropic-messages",
|
|
25
|
-
provider: "anthropic",
|
|
26
|
-
baseUrl: "https://api.anthropic.com",
|
|
27
|
-
reasoning: false,
|
|
28
|
-
input: ["text", "image"],
|
|
29
|
-
cost: {
|
|
30
|
-
input: 3,
|
|
31
|
-
output: 15,
|
|
32
|
-
cacheRead: 0.3,
|
|
33
|
-
cacheWrite: 3.75,
|
|
34
|
-
},
|
|
35
|
-
contextWindow: 200000,
|
|
36
|
-
maxTokens: 8192,
|
|
37
|
-
},
|
|
38
|
-
"claude-3-7-sonnet-20250219": {
|
|
39
|
-
id: "claude-3-7-sonnet-20250219",
|
|
40
|
-
name: "Claude Sonnet 3.7",
|
|
41
|
-
api: "anthropic-messages",
|
|
42
|
-
provider: "anthropic",
|
|
43
|
-
baseUrl: "https://api.anthropic.com",
|
|
44
|
-
reasoning: true,
|
|
45
|
-
input: ["text", "image"],
|
|
46
|
-
cost: {
|
|
47
|
-
input: 3,
|
|
48
|
-
output: 15,
|
|
49
|
-
cacheRead: 0.3,
|
|
50
|
-
cacheWrite: 3.75,
|
|
51
|
-
},
|
|
52
|
-
contextWindow: 200000,
|
|
53
|
-
maxTokens: 64000,
|
|
54
|
-
},
|
|
55
|
-
"claude-3-haiku-20240307": {
|
|
56
|
-
id: "claude-3-haiku-20240307",
|
|
57
|
-
name: "Claude Haiku 3",
|
|
58
|
-
api: "anthropic-messages",
|
|
59
|
-
provider: "anthropic",
|
|
60
|
-
baseUrl: "https://api.anthropic.com",
|
|
61
|
-
reasoning: false,
|
|
62
|
-
input: ["text", "image"],
|
|
63
|
-
cost: {
|
|
64
|
-
input: 0.25,
|
|
65
|
-
output: 1.25,
|
|
66
|
-
cacheRead: 0.03,
|
|
67
|
-
cacheWrite: 0.3,
|
|
68
|
-
},
|
|
69
|
-
contextWindow: 200000,
|
|
70
|
-
maxTokens: 4096,
|
|
71
|
-
},
|
|
72
|
-
"claude-3-opus-20240229": {
|
|
73
|
-
id: "claude-3-opus-20240229",
|
|
74
|
-
name: "Claude Opus 3",
|
|
75
|
-
api: "anthropic-messages",
|
|
76
|
-
provider: "anthropic",
|
|
77
|
-
baseUrl: "https://api.anthropic.com",
|
|
78
|
-
reasoning: false,
|
|
79
|
-
input: ["text", "image"],
|
|
80
|
-
cost: {
|
|
81
|
-
input: 15,
|
|
82
|
-
output: 75,
|
|
83
|
-
cacheRead: 1.5,
|
|
84
|
-
cacheWrite: 18.75,
|
|
85
|
-
},
|
|
86
|
-
contextWindow: 200000,
|
|
87
|
-
maxTokens: 4096,
|
|
88
|
-
},
|
|
89
|
-
"claude-3-sonnet-20240229": {
|
|
90
|
-
id: "claude-3-sonnet-20240229",
|
|
91
|
-
name: "Claude Sonnet 3",
|
|
92
|
-
api: "anthropic-messages",
|
|
93
|
-
provider: "anthropic",
|
|
94
|
-
baseUrl: "https://api.anthropic.com",
|
|
95
|
-
reasoning: false,
|
|
96
|
-
input: ["text", "image"],
|
|
97
|
-
cost: {
|
|
98
|
-
input: 3,
|
|
99
|
-
output: 15,
|
|
100
|
-
cacheRead: 0.3,
|
|
101
|
-
cacheWrite: 0.3,
|
|
102
|
-
},
|
|
103
|
-
contextWindow: 200000,
|
|
104
|
-
maxTokens: 4096,
|
|
105
|
-
},
|
|
106
4
|
"claude-fable-5": {
|
|
107
5
|
id: "claude-fable-5",
|
|
108
6
|
name: "Claude Fable 5",
|
|
@@ -111,7 +9,7 @@ export const ANTHROPIC_MODELS = {
|
|
|
111
9
|
baseUrl: "https://api.anthropic.com",
|
|
112
10
|
compat: { "forceAdaptiveThinking": true },
|
|
113
11
|
reasoning: true,
|
|
114
|
-
thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
|
|
12
|
+
thinkingLevelMap: { "off": null, "xhigh": "xhigh", "max": "max" },
|
|
115
13
|
input: ["text", "image"],
|
|
116
14
|
cost: {
|
|
117
15
|
input: 10,
|
|
@@ -156,23 +54,6 @@ export const ANTHROPIC_MODELS = {
|
|
|
156
54
|
contextWindow: 200000,
|
|
157
55
|
maxTokens: 64000,
|
|
158
56
|
},
|
|
159
|
-
"claude-opus-4-0": {
|
|
160
|
-
id: "claude-opus-4-0",
|
|
161
|
-
name: "Claude Opus 4 (latest)",
|
|
162
|
-
api: "anthropic-messages",
|
|
163
|
-
provider: "anthropic",
|
|
164
|
-
baseUrl: "https://api.anthropic.com",
|
|
165
|
-
reasoning: true,
|
|
166
|
-
input: ["text", "image"],
|
|
167
|
-
cost: {
|
|
168
|
-
input: 15,
|
|
169
|
-
output: 75,
|
|
170
|
-
cacheRead: 1.5,
|
|
171
|
-
cacheWrite: 18.75,
|
|
172
|
-
},
|
|
173
|
-
contextWindow: 200000,
|
|
174
|
-
maxTokens: 32000,
|
|
175
|
-
},
|
|
176
57
|
"claude-opus-4-1": {
|
|
177
58
|
id: "claude-opus-4-1",
|
|
178
59
|
name: "Claude Opus 4.1 (latest)",
|
|
@@ -207,23 +88,6 @@ export const ANTHROPIC_MODELS = {
|
|
|
207
88
|
contextWindow: 200000,
|
|
208
89
|
maxTokens: 32000,
|
|
209
90
|
},
|
|
210
|
-
"claude-opus-4-20250514": {
|
|
211
|
-
id: "claude-opus-4-20250514",
|
|
212
|
-
name: "Claude Opus 4",
|
|
213
|
-
api: "anthropic-messages",
|
|
214
|
-
provider: "anthropic",
|
|
215
|
-
baseUrl: "https://api.anthropic.com",
|
|
216
|
-
reasoning: true,
|
|
217
|
-
input: ["text", "image"],
|
|
218
|
-
cost: {
|
|
219
|
-
input: 15,
|
|
220
|
-
output: 75,
|
|
221
|
-
cacheRead: 1.5,
|
|
222
|
-
cacheWrite: 18.75,
|
|
223
|
-
},
|
|
224
|
-
contextWindow: 200000,
|
|
225
|
-
maxTokens: 32000,
|
|
226
|
-
},
|
|
227
91
|
"claude-opus-4-5": {
|
|
228
92
|
id: "claude-opus-4-5",
|
|
229
93
|
name: "Claude Opus 4.5 (latest)",
|
|
@@ -266,7 +130,7 @@ export const ANTHROPIC_MODELS = {
|
|
|
266
130
|
baseUrl: "https://api.anthropic.com",
|
|
267
131
|
compat: { "forceAdaptiveThinking": true },
|
|
268
132
|
reasoning: true,
|
|
269
|
-
thinkingLevelMap: { "
|
|
133
|
+
thinkingLevelMap: { "max": "max" },
|
|
270
134
|
input: ["text", "image"],
|
|
271
135
|
cost: {
|
|
272
136
|
input: 5,
|
|
@@ -285,7 +149,7 @@ export const ANTHROPIC_MODELS = {
|
|
|
285
149
|
baseUrl: "https://api.anthropic.com",
|
|
286
150
|
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
287
151
|
reasoning: true,
|
|
288
|
-
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
152
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
289
153
|
input: ["text", "image"],
|
|
290
154
|
cost: {
|
|
291
155
|
input: 5,
|
|
@@ -304,7 +168,7 @@ export const ANTHROPIC_MODELS = {
|
|
|
304
168
|
baseUrl: "https://api.anthropic.com",
|
|
305
169
|
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
306
170
|
reasoning: true,
|
|
307
|
-
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
171
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
308
172
|
input: ["text", "image"],
|
|
309
173
|
cost: {
|
|
310
174
|
input: 5,
|
|
@@ -315,40 +179,6 @@ export const ANTHROPIC_MODELS = {
|
|
|
315
179
|
contextWindow: 1000000,
|
|
316
180
|
maxTokens: 128000,
|
|
317
181
|
},
|
|
318
|
-
"claude-sonnet-4-0": {
|
|
319
|
-
id: "claude-sonnet-4-0",
|
|
320
|
-
name: "Claude Sonnet 4 (latest)",
|
|
321
|
-
api: "anthropic-messages",
|
|
322
|
-
provider: "anthropic",
|
|
323
|
-
baseUrl: "https://api.anthropic.com",
|
|
324
|
-
reasoning: true,
|
|
325
|
-
input: ["text", "image"],
|
|
326
|
-
cost: {
|
|
327
|
-
input: 3,
|
|
328
|
-
output: 15,
|
|
329
|
-
cacheRead: 0.3,
|
|
330
|
-
cacheWrite: 3.75,
|
|
331
|
-
},
|
|
332
|
-
contextWindow: 200000,
|
|
333
|
-
maxTokens: 64000,
|
|
334
|
-
},
|
|
335
|
-
"claude-sonnet-4-20250514": {
|
|
336
|
-
id: "claude-sonnet-4-20250514",
|
|
337
|
-
name: "Claude Sonnet 4",
|
|
338
|
-
api: "anthropic-messages",
|
|
339
|
-
provider: "anthropic",
|
|
340
|
-
baseUrl: "https://api.anthropic.com",
|
|
341
|
-
reasoning: true,
|
|
342
|
-
input: ["text", "image"],
|
|
343
|
-
cost: {
|
|
344
|
-
input: 3,
|
|
345
|
-
output: 15,
|
|
346
|
-
cacheRead: 0.3,
|
|
347
|
-
cacheWrite: 3.75,
|
|
348
|
-
},
|
|
349
|
-
contextWindow: 200000,
|
|
350
|
-
maxTokens: 64000,
|
|
351
|
-
},
|
|
352
182
|
"claude-sonnet-4-5": {
|
|
353
183
|
id: "claude-sonnet-4-5",
|
|
354
184
|
name: "Claude Sonnet 4.5 (latest)",
|
|
@@ -363,7 +193,7 @@ export const ANTHROPIC_MODELS = {
|
|
|
363
193
|
cacheRead: 0.3,
|
|
364
194
|
cacheWrite: 3.75,
|
|
365
195
|
},
|
|
366
|
-
contextWindow:
|
|
196
|
+
contextWindow: 1000000,
|
|
367
197
|
maxTokens: 64000,
|
|
368
198
|
},
|
|
369
199
|
"claude-sonnet-4-5-20250929": {
|
|
@@ -380,7 +210,7 @@ export const ANTHROPIC_MODELS = {
|
|
|
380
210
|
cacheRead: 0.3,
|
|
381
211
|
cacheWrite: 3.75,
|
|
382
212
|
},
|
|
383
|
-
contextWindow:
|
|
213
|
+
contextWindow: 1000000,
|
|
384
214
|
maxTokens: 64000,
|
|
385
215
|
},
|
|
386
216
|
"claude-sonnet-4-6": {
|
|
@@ -391,6 +221,7 @@ export const ANTHROPIC_MODELS = {
|
|
|
391
221
|
baseUrl: "https://api.anthropic.com",
|
|
392
222
|
compat: { "forceAdaptiveThinking": true },
|
|
393
223
|
reasoning: true,
|
|
224
|
+
thinkingLevelMap: { "max": "max" },
|
|
394
225
|
input: ["text", "image"],
|
|
395
226
|
cost: {
|
|
396
227
|
input: 3,
|
|
@@ -399,7 +230,7 @@ export const ANTHROPIC_MODELS = {
|
|
|
399
230
|
cacheWrite: 3.75,
|
|
400
231
|
},
|
|
401
232
|
contextWindow: 1000000,
|
|
402
|
-
maxTokens:
|
|
233
|
+
maxTokens: 128000,
|
|
403
234
|
},
|
|
404
235
|
"claude-sonnet-5": {
|
|
405
236
|
id: "claude-sonnet-5",
|
|
@@ -409,6 +240,7 @@ export const ANTHROPIC_MODELS = {
|
|
|
409
240
|
baseUrl: "https://api.anthropic.com",
|
|
410
241
|
compat: { "forceAdaptiveThinking": true },
|
|
411
242
|
reasoning: true,
|
|
243
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
412
244
|
input: ["text", "image"],
|
|
413
245
|
cost: {
|
|
414
246
|
input: 2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anthropic.models.js","sourceRoot":"","sources":["../../src/providers/anthropic.models.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,iEAAiE;AAIjE,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC/B,4BAA4B,EAAE;QAC7B,EAAE,EAAE,4BAA4B;QAChC,IAAI,EAAE,mBAAmB;QACzB,GAAG,EAAE,oBAAoB;QACzB,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,2BAA2B;QACpC,SAAS,EAAE,KAAK;QAChB,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QACxB,IAAI,EAAE;YACL,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,EAAE;YACV,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,IAAI;SAChB;QACD,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,IAAI;KACuB;IACvC,4BAA4B,EAAE;QAC7B,EAAE,EAAE,4BAA4B;QAChC,IAAI,EAAE,sBAAsB;QAC5B,GAAG,EAAE,oBAAoB;QACzB,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,2BAA2B;QACpC,SAAS,EAAE,KAAK;QAChB,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QACxB,IAAI,EAAE;YACL,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,EAAE;YACV,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,IAAI;SAChB;QACD,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,IAAI;KACuB;IACvC,4BAA4B,EAAE;QAC7B,EAAE,EAAE,4BAA4B;QAChC,IAAI,EAAE,mBAAmB;QACzB,GAAG,EAAE,oBAAoB;QACzB,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,2BAA2B;QACpC,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,CAAC,MA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E,iBAAiB;QACvB,GAAG,EAAE,oBAAoB;QACzB,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,2BAA2B;QACpC,MAAM,EAAE,EAAC,uBAAuB,EAAC,IAAI,EAAC;QACtC,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QACxB,IAAI,EAAE;YACL,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,EAAE;YACV,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,GAAG;SACf;QACD,aAAa,EAAE,OAAO;QACtB,SAAS,EAAE,MAAM;KACqB;CAC9B,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport type { Model } from \"../types.ts\";\n\nexport const ANTHROPIC_MODELS = {\n\t\"claude-3-5-sonnet-20240620\": {\n\t\tid: \"claude-3-5-sonnet-20240620\",\n\t\tname: \"Claude Sonnet 3.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 8192,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-3-5-sonnet-20241022\": {\n\t\tid: \"claude-3-5-sonnet-20241022\",\n\t\tname: \"Claude Sonnet 3.5 v2\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 8192,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-3-7-sonnet-20250219\": {\n\t\tid: \"claude-3-7-sonnet-20250219\",\n\t\tname: \"Claude Sonnet 3.7\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-3-haiku-20240307\": {\n\t\tid: \"claude-3-haiku-20240307\",\n\t\tname: \"Claude Haiku 3\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.25,\n\t\t\toutput: 1.25,\n\t\t\tcacheRead: 0.03,\n\t\t\tcacheWrite: 0.3,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 4096,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-3-opus-20240229\": {\n\t\tid: \"claude-3-opus-20240229\",\n\t\tname: \"Claude Opus 3\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 75,\n\t\t\tcacheRead: 1.5,\n\t\t\tcacheWrite: 18.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 4096,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-3-sonnet-20240229\": {\n\t\tid: \"claude-3-sonnet-20240229\",\n\t\tname: \"Claude Sonnet 3\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 0.3,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 4096,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-fable-5\": {\n\t\tid: \"claude-fable-5\",\n\t\tname: \"Claude Fable 5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 10,\n\t\t\toutput: 50,\n\t\t\tcacheRead: 1,\n\t\t\tcacheWrite: 12.5,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-haiku-4-5\": {\n\t\tid: \"claude-haiku-4-5\",\n\t\tname: \"Claude Haiku 4.5 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 5,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-haiku-4-5-20251001\": {\n\t\tid: \"claude-haiku-4-5-20251001\",\n\t\tname: \"Claude Haiku 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 5,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-0\": {\n\t\tid: \"claude-opus-4-0\",\n\t\tname: \"Claude Opus 4 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 75,\n\t\t\tcacheRead: 1.5,\n\t\t\tcacheWrite: 18.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-1\": {\n\t\tid: \"claude-opus-4-1\",\n\t\tname: \"Claude Opus 4.1 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 75,\n\t\t\tcacheRead: 1.5,\n\t\t\tcacheWrite: 18.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-1-20250805\": {\n\t\tid: \"claude-opus-4-1-20250805\",\n\t\tname: \"Claude Opus 4.1\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 75,\n\t\t\tcacheRead: 1.5,\n\t\t\tcacheWrite: 18.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-20250514\": {\n\t\tid: \"claude-opus-4-20250514\",\n\t\tname: \"Claude Opus 4\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 75,\n\t\t\tcacheRead: 1.5,\n\t\t\tcacheWrite: 18.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-5\": {\n\t\tid: \"claude-opus-4-5\",\n\t\tname: \"Claude Opus 4.5 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-5-20251101\": {\n\t\tid: \"claude-opus-4-5-20251101\",\n\t\tname: \"Claude Opus 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-6\": {\n\t\tid: \"claude-opus-4-6\",\n\t\tname: \"Claude Opus 4.6\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-7\": {\n\t\tid: \"claude-opus-4-7\",\n\t\tname: \"Claude Opus 4.7\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true,\"supportsTemperature\":false},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-8\": {\n\t\tid: \"claude-opus-4-8\",\n\t\tname: \"Claude Opus 4.8\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true,\"supportsTemperature\":false},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-0\": {\n\t\tid: \"claude-sonnet-4-0\",\n\t\tname: \"Claude Sonnet 4 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-20250514\": {\n\t\tid: \"claude-sonnet-4-20250514\",\n\t\tname: \"Claude Sonnet 4\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-5\": {\n\t\tid: \"claude-sonnet-4-5\",\n\t\tname: \"Claude Sonnet 4.5 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-5-20250929\": {\n\t\tid: \"claude-sonnet-4-5-20250929\",\n\t\tname: \"Claude Sonnet 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-6\": {\n\t\tid: \"claude-sonnet-4-6\",\n\t\tname: \"Claude Sonnet 4.6\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-5\": {\n\t\tid: \"claude-sonnet-5\",\n\t\tname: \"Claude Sonnet 5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 2.5,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n} as const;\n"]}
|
|
1
|
+
{"version":3,"file":"anthropic.models.js","sourceRoot":"","sources":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QAC/C,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QACxB,IAAI,EAAE;YACL,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,EAAE;YACV,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,GAAG;SACf;QACD,aAAa,EAAE,OAAO;QACtB,SAAS,EAAE,MAAM;KACqB;CAC9B,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport type { Model } from \"../types.ts\";\n\nexport const ANTHROPIC_MODELS = {\n\t\"claude-fable-5\": {\n\t\tid: \"claude-fable-5\",\n\t\tname: \"Claude Fable 5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 10,\n\t\t\toutput: 50,\n\t\t\tcacheRead: 1,\n\t\t\tcacheWrite: 12.5,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-haiku-4-5\": {\n\t\tid: \"claude-haiku-4-5\",\n\t\tname: \"Claude Haiku 4.5 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 5,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-haiku-4-5-20251001\": {\n\t\tid: \"claude-haiku-4-5-20251001\",\n\t\tname: \"Claude Haiku 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 5,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-1\": {\n\t\tid: \"claude-opus-4-1\",\n\t\tname: \"Claude Opus 4.1 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 75,\n\t\t\tcacheRead: 1.5,\n\t\t\tcacheWrite: 18.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-1-20250805\": {\n\t\tid: \"claude-opus-4-1-20250805\",\n\t\tname: \"Claude Opus 4.1\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 75,\n\t\t\tcacheRead: 1.5,\n\t\t\tcacheWrite: 18.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-5\": {\n\t\tid: \"claude-opus-4-5\",\n\t\tname: \"Claude Opus 4.5 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-5-20251101\": {\n\t\tid: \"claude-opus-4-5-20251101\",\n\t\tname: \"Claude Opus 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-6\": {\n\t\tid: \"claude-opus-4-6\",\n\t\tname: \"Claude Opus 4.6\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-7\": {\n\t\tid: \"claude-opus-4-7\",\n\t\tname: \"Claude Opus 4.7\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true,\"supportsTemperature\":false},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-8\": {\n\t\tid: \"claude-opus-4-8\",\n\t\tname: \"Claude Opus 4.8\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true,\"supportsTemperature\":false},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-5\": {\n\t\tid: \"claude-sonnet-4-5\",\n\t\tname: \"Claude Sonnet 4.5 (latest)\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-5-20250929\": {\n\t\tid: \"claude-sonnet-4-5-20250929\",\n\t\tname: \"Claude Sonnet 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-6\": {\n\t\tid: \"claude-sonnet-4-6\",\n\t\tname: \"Claude Sonnet 4.6\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-5\": {\n\t\tid: \"claude-sonnet-5\",\n\t\tname: \"Claude Sonnet 5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"anthropic\",\n\t\tbaseUrl: \"https://api.anthropic.com\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 2.5,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n} as const;\n"]}
|