@funkai/models 0.2.1 → 0.3.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.
Files changed (90) hide show
  1. package/.turbo/turbo-build.log +35 -36
  2. package/CHANGELOG.md +18 -0
  3. package/dist/alibaba-B6q4Ng1R.mjs.map +1 -1
  4. package/dist/amazon-bedrock-Cv9AHQBH.mjs.map +1 -1
  5. package/dist/anthropic-yB7ST97_.mjs.map +1 -1
  6. package/dist/cerebras-COfl7XM-.mjs.map +1 -1
  7. package/dist/cohere-B7TgO0hT.mjs.map +1 -1
  8. package/dist/deepinfra-B0GxUwCG.mjs.map +1 -1
  9. package/dist/deepseek-D64ZEsvS.mjs.map +1 -1
  10. package/dist/fireworks-ai-DJYvdAi_.mjs.map +1 -1
  11. package/dist/google-BypRl349.mjs.map +1 -1
  12. package/dist/google-vertex-DbS-zTGD.mjs.map +1 -1
  13. package/dist/groq-ei_PerYi.mjs.map +1 -1
  14. package/dist/huggingface-DaM1EeLP.mjs.map +1 -1
  15. package/dist/inception-CspEzqNV.mjs.map +1 -1
  16. package/dist/index.d.mts +41 -87
  17. package/dist/index.d.mts.map +1 -1
  18. package/dist/index.mjs +20 -115
  19. package/dist/index.mjs.map +1 -1
  20. package/dist/llama-Cf3-koap.mjs.map +1 -1
  21. package/dist/mistral-BI9MdAO4.mjs.map +1 -1
  22. package/dist/nvidia-COHacuoa.mjs.map +1 -1
  23. package/dist/openai-C0nCfZUq.mjs.map +1 -1
  24. package/dist/openrouter-DSFzxKQb.mjs.map +1 -1
  25. package/dist/perplexity-zeZ2WlBU.mjs.map +1 -1
  26. package/dist/providers/alibaba.d.mts +1 -1
  27. package/dist/providers/amazon-bedrock.d.mts +1 -1
  28. package/dist/providers/anthropic.d.mts +1 -1
  29. package/dist/providers/cerebras.d.mts +1 -1
  30. package/dist/providers/cohere.d.mts +1 -1
  31. package/dist/providers/deepinfra.d.mts +1 -1
  32. package/dist/providers/deepseek.d.mts +1 -1
  33. package/dist/providers/fireworks-ai.d.mts +1 -1
  34. package/dist/providers/google-vertex.d.mts +1 -1
  35. package/dist/providers/google.d.mts +1 -1
  36. package/dist/providers/groq.d.mts +1 -1
  37. package/dist/providers/huggingface.d.mts +1 -1
  38. package/dist/providers/inception.d.mts +1 -1
  39. package/dist/providers/llama.d.mts +1 -1
  40. package/dist/providers/mistral.d.mts +1 -1
  41. package/dist/providers/nvidia.d.mts +1 -1
  42. package/dist/providers/openai.d.mts +1 -1
  43. package/dist/providers/openrouter.d.mts +1 -1
  44. package/dist/providers/perplexity.d.mts +1 -1
  45. package/dist/providers/togetherai.d.mts +1 -1
  46. package/dist/providers/xai.d.mts +1 -1
  47. package/dist/togetherai-BvcxUfPE.mjs.map +1 -1
  48. package/dist/{types-DjdaZckF.d.mts → types-DIzolT_s.d.mts} +61 -21
  49. package/dist/types-DIzolT_s.d.mts.map +1 -0
  50. package/dist/xai-fSuAkQJo.mjs.map +1 -1
  51. package/package.json +7 -6
  52. package/scripts/generate-models.ts +152 -83
  53. package/src/catalog/index.test.ts +8 -20
  54. package/src/catalog/index.ts +4 -1
  55. package/src/catalog/providers/alibaba.ts +91 -91
  56. package/src/catalog/providers/amazon-bedrock.ts +205 -185
  57. package/src/catalog/providers/anthropic.ts +87 -62
  58. package/src/catalog/providers/cerebras.ts +9 -9
  59. package/src/catalog/providers/cohere.ts +16 -16
  60. package/src/catalog/providers/deepinfra.ts +71 -71
  61. package/src/catalog/providers/deepseek.ts +3 -3
  62. package/src/catalog/providers/fireworks-ai.ts +36 -36
  63. package/src/catalog/providers/google-vertex.ts +62 -62
  64. package/src/catalog/providers/google.ts +69 -69
  65. package/src/catalog/providers/groq.ts +24 -24
  66. package/src/catalog/providers/huggingface.ts +52 -52
  67. package/src/catalog/providers/inception.ts +9 -9
  68. package/src/catalog/providers/index.ts +1 -0
  69. package/src/catalog/providers/llama.ts +7 -7
  70. package/src/catalog/providers/mistral.ts +60 -60
  71. package/src/catalog/providers/nvidia.ts +84 -84
  72. package/src/catalog/providers/openai.ts +115 -115
  73. package/src/catalog/providers/openrouter.ts +448 -433
  74. package/src/catalog/providers/perplexity.ts +9 -9
  75. package/src/catalog/providers/togetherai.ts +47 -47
  76. package/src/catalog/providers/xai.ts +49 -49
  77. package/src/catalog/types.ts +60 -20
  78. package/src/cost/calculate.test.ts +11 -19
  79. package/src/index.ts +2 -8
  80. package/src/provider/index.ts +2 -8
  81. package/src/provider/registry.test.ts +87 -0
  82. package/src/provider/registry.ts +93 -0
  83. package/src/provider/types.ts +1 -1
  84. package/tsconfig.json +2 -1
  85. package/tsdown.config.ts +7 -4
  86. package/dist/types-DjdaZckF.d.mts.map +0 -1
  87. package/src/provider/openrouter.test.ts +0 -125
  88. package/src/provider/openrouter.ts +0 -110
  89. package/src/provider/resolver.test.ts +0 -138
  90. package/src/provider/resolver.ts +0 -125
@@ -19,9 +19,9 @@ export const AMAZON_BEDROCK_MODELS = [
19
19
  name: "DeepSeek-R1",
20
20
  provider: "amazon-bedrock",
21
21
  family: "deepseek-thinking",
22
- pricing: { input: 0.00000135, output: 0.0000054 },
23
- contextWindow: 128000,
24
- maxOutput: 32768,
22
+ pricing: { input: 0.000_001_35, output: 0.000_005_4 },
23
+ contextWindow: 128_000,
24
+ maxOutput: 32_768,
25
25
  modalities: { input: ["text"], output: ["text"] },
26
26
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
27
27
  },
@@ -31,7 +31,7 @@ export const AMAZON_BEDROCK_MODELS = [
31
31
  provider: "amazon-bedrock",
32
32
  family: "llama",
33
33
  pricing: { input: 7.2e-7, output: 7.2e-7 },
34
- contextWindow: 128000,
34
+ contextWindow: 128_000,
35
35
  maxOutput: 4096,
36
36
  modalities: { input: ["text"], output: ["text"] },
37
37
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -41,9 +41,9 @@ export const AMAZON_BEDROCK_MODELS = [
41
41
  name: "Qwen3 Coder 480B A35B Instruct",
42
42
  provider: "amazon-bedrock",
43
43
  family: "qwen",
44
- pricing: { input: 2.2e-7, output: 0.0000018 },
45
- contextWindow: 131072,
46
- maxOutput: 65536,
44
+ pricing: { input: 2.2e-7, output: 0.000_001_8 },
45
+ contextWindow: 131_072,
46
+ maxOutput: 65_536,
47
47
  modalities: { input: ["text"], output: ["text"] },
48
48
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
49
49
  },
@@ -52,9 +52,9 @@ export const AMAZON_BEDROCK_MODELS = [
52
52
  name: "Claude Sonnet 4.6 (EU)",
53
53
  provider: "amazon-bedrock",
54
54
  family: "claude-sonnet",
55
- pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
56
- contextWindow: 200000,
57
- maxOutput: 64000,
55
+ pricing: { input: 0.000_003, output: 0.000_015, cacheRead: 3e-7, cacheWrite: 0.000_003_75 },
56
+ contextWindow: 200_000,
57
+ maxOutput: 64_000,
58
58
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
59
59
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
60
60
  },
@@ -63,9 +63,9 @@ export const AMAZON_BEDROCK_MODELS = [
63
63
  name: "Claude Haiku 4.5 (EU)",
64
64
  provider: "amazon-bedrock",
65
65
  family: "claude-haiku",
66
- pricing: { input: 0.000001, output: 0.000005, cacheRead: 1e-7, cacheWrite: 0.00000125 },
67
- contextWindow: 200000,
68
- maxOutput: 64000,
66
+ pricing: { input: 0.000_001, output: 0.000_005, cacheRead: 1e-7, cacheWrite: 0.000_001_25 },
67
+ contextWindow: 200_000,
68
+ maxOutput: 64_000,
69
69
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
70
70
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
71
71
  },
@@ -74,8 +74,8 @@ export const AMAZON_BEDROCK_MODELS = [
74
74
  name: "Mistral Large 3",
75
75
  provider: "amazon-bedrock",
76
76
  family: "mistral",
77
- pricing: { input: 5e-7, output: 0.0000015 },
78
- contextWindow: 256000,
77
+ pricing: { input: 5e-7, output: 0.000_001_5 },
78
+ contextWindow: 256_000,
79
79
  maxOutput: 8192,
80
80
  modalities: { input: ["text", "image"], output: ["text"] },
81
81
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -86,7 +86,7 @@ export const AMAZON_BEDROCK_MODELS = [
86
86
  provider: "amazon-bedrock",
87
87
  family: "gpt-oss",
88
88
  pricing: { input: 1.5e-7, output: 6e-7 },
89
- contextWindow: 128000,
89
+ contextWindow: 128_000,
90
90
  maxOutput: 4096,
91
91
  modalities: { input: ["text"], output: ["text"] },
92
92
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -96,9 +96,14 @@ export const AMAZON_BEDROCK_MODELS = [
96
96
  name: "Claude Opus 4 (US)",
97
97
  provider: "amazon-bedrock",
98
98
  family: "claude-opus",
99
- pricing: { input: 0.000015, output: 0.000075, cacheRead: 0.0000015, cacheWrite: 0.00001875 },
100
- contextWindow: 200000,
101
- maxOutput: 32000,
99
+ pricing: {
100
+ input: 0.000_015,
101
+ output: 0.000_075,
102
+ cacheRead: 0.000_001_5,
103
+ cacheWrite: 0.000_018_75,
104
+ },
105
+ contextWindow: 200_000,
106
+ maxOutput: 32_000,
102
107
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
103
108
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
104
109
  },
@@ -108,7 +113,7 @@ export const AMAZON_BEDROCK_MODELS = [
108
113
  provider: "amazon-bedrock",
109
114
  family: "nemotron",
110
115
  pricing: { input: 2e-7, output: 6e-7 },
111
- contextWindow: 128000,
116
+ contextWindow: 128_000,
112
117
  maxOutput: 4096,
113
118
  modalities: { input: ["text", "image"], output: ["text"] },
114
119
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -118,8 +123,8 @@ export const AMAZON_BEDROCK_MODELS = [
118
123
  name: "Claude Sonnet 3.7",
119
124
  provider: "amazon-bedrock",
120
125
  family: "claude-sonnet",
121
- pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
122
- contextWindow: 200000,
126
+ pricing: { input: 0.000_003, output: 0.000_015, cacheRead: 3e-7, cacheWrite: 0.000_003_75 },
127
+ contextWindow: 200_000,
123
128
  maxOutput: 8192,
124
129
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
125
130
  capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
@@ -129,9 +134,9 @@ export const AMAZON_BEDROCK_MODELS = [
129
134
  name: "Claude Sonnet 4.6",
130
135
  provider: "amazon-bedrock",
131
136
  family: "claude-sonnet",
132
- pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
133
- contextWindow: 200000,
134
- maxOutput: 64000,
137
+ pricing: { input: 0.000_003, output: 0.000_015, cacheRead: 3e-7, cacheWrite: 0.000_003_75 },
138
+ contextWindow: 200_000,
139
+ maxOutput: 64_000,
135
140
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
136
141
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
137
142
  },
@@ -140,9 +145,9 @@ export const AMAZON_BEDROCK_MODELS = [
140
145
  name: "MiniMax M2.1",
141
146
  provider: "amazon-bedrock",
142
147
  family: "minimax",
143
- pricing: { input: 3e-7, output: 0.0000012 },
144
- contextWindow: 204800,
145
- maxOutput: 131072,
148
+ pricing: { input: 3e-7, output: 0.000_001_2 },
149
+ contextWindow: 204_800,
150
+ maxOutput: 131_072,
146
151
  modalities: { input: ["text"], output: ["text"] },
147
152
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
148
153
  },
@@ -151,9 +156,9 @@ export const AMAZON_BEDROCK_MODELS = [
151
156
  name: "Claude Opus 4.5 (Global)",
152
157
  provider: "amazon-bedrock",
153
158
  family: "claude-opus",
154
- pricing: { input: 0.000005, output: 0.000025, cacheRead: 5e-7, cacheWrite: 0.00000625 },
155
- contextWindow: 200000,
156
- maxOutput: 64000,
159
+ pricing: { input: 0.000_005, output: 0.000_025, cacheRead: 5e-7, cacheWrite: 0.000_006_25 },
160
+ contextWindow: 200_000,
161
+ maxOutput: 64_000,
157
162
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
158
163
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
159
164
  },
@@ -163,7 +168,7 @@ export const AMAZON_BEDROCK_MODELS = [
163
168
  provider: "amazon-bedrock",
164
169
  family: "ministral",
165
170
  pricing: { input: 1.5e-7, output: 1.5e-7 },
166
- contextWindow: 128000,
171
+ contextWindow: 128_000,
167
172
  maxOutput: 4096,
168
173
  modalities: { input: ["text"], output: ["text"] },
169
174
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -174,7 +179,7 @@ export const AMAZON_BEDROCK_MODELS = [
174
179
  provider: "amazon-bedrock",
175
180
  family: "gpt-oss",
176
181
  pricing: { input: 7e-8, output: 2e-7 },
177
- contextWindow: 128000,
182
+ contextWindow: 128_000,
178
183
  maxOutput: 4096,
179
184
  modalities: { input: ["text"], output: ["text"] },
180
185
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -185,7 +190,7 @@ export const AMAZON_BEDROCK_MODELS = [
185
190
  provider: "amazon-bedrock",
186
191
  family: "nova-lite",
187
192
  pricing: { input: 6e-8, output: 2.4e-7, cacheRead: 1.5e-8 },
188
- contextWindow: 300000,
193
+ contextWindow: 300_000,
189
194
  maxOutput: 8192,
190
195
  modalities: { input: ["text", "image", "video"], output: ["text"] },
191
196
  capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
@@ -195,9 +200,9 @@ export const AMAZON_BEDROCK_MODELS = [
195
200
  name: "Claude Sonnet 4.5 (EU)",
196
201
  provider: "amazon-bedrock",
197
202
  family: "claude-sonnet",
198
- pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
199
- contextWindow: 200000,
200
- maxOutput: 64000,
203
+ pricing: { input: 0.000_003, output: 0.000_015, cacheRead: 3e-7, cacheWrite: 0.000_003_75 },
204
+ contextWindow: 200_000,
205
+ maxOutput: 64_000,
201
206
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
202
207
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
203
208
  },
@@ -206,8 +211,8 @@ export const AMAZON_BEDROCK_MODELS = [
206
211
  name: "Pixtral Large (25.02)",
207
212
  provider: "amazon-bedrock",
208
213
  family: "mistral",
209
- pricing: { input: 0.000002, output: 0.000006 },
210
- contextWindow: 128000,
214
+ pricing: { input: 0.000_002, output: 0.000_006 },
215
+ contextWindow: 128_000,
211
216
  maxOutput: 8192,
212
217
  modalities: { input: ["text", "image"], output: ["text"] },
213
218
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -218,7 +223,7 @@ export const AMAZON_BEDROCK_MODELS = [
218
223
  provider: "amazon-bedrock",
219
224
  family: "gemma",
220
225
  pricing: { input: 5e-8, output: 1e-7 },
221
- contextWindow: 131072,
226
+ contextWindow: 131_072,
222
227
  maxOutput: 8192,
223
228
  modalities: { input: ["text", "image"], output: ["text"] },
224
229
  capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
@@ -229,7 +234,7 @@ export const AMAZON_BEDROCK_MODELS = [
229
234
  provider: "amazon-bedrock",
230
235
  family: "llama",
231
236
  pricing: { input: 2.2e-7, output: 2.2e-7 },
232
- contextWindow: 128000,
237
+ contextWindow: 128_000,
233
238
  maxOutput: 4096,
234
239
  modalities: { input: ["text"], output: ["text"] },
235
240
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -239,8 +244,8 @@ export const AMAZON_BEDROCK_MODELS = [
239
244
  name: "Devstral 2 123B",
240
245
  provider: "amazon-bedrock",
241
246
  family: "devstral",
242
- pricing: { input: 4e-7, output: 0.000002 },
243
- contextWindow: 256000,
247
+ pricing: { input: 4e-7, output: 0.000_002 },
248
+ contextWindow: 256_000,
244
249
  maxOutput: 8192,
245
250
  modalities: { input: ["text"], output: ["text"] },
246
251
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -250,9 +255,9 @@ export const AMAZON_BEDROCK_MODELS = [
250
255
  name: "Claude Sonnet 4.5",
251
256
  provider: "amazon-bedrock",
252
257
  family: "claude-sonnet",
253
- pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
254
- contextWindow: 200000,
255
- maxOutput: 64000,
258
+ pricing: { input: 0.000_003, output: 0.000_015, cacheRead: 3e-7, cacheWrite: 0.000_003_75 },
259
+ contextWindow: 200_000,
260
+ maxOutput: 64_000,
256
261
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
257
262
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
258
263
  },
@@ -262,8 +267,8 @@ export const AMAZON_BEDROCK_MODELS = [
262
267
  provider: "amazon-bedrock",
263
268
  family: "llama",
264
269
  pricing: { input: 2.4e-7, output: 9.7e-7 },
265
- contextWindow: 1000000,
266
- maxOutput: 16384,
270
+ contextWindow: 1_000_000,
271
+ maxOutput: 16_384,
267
272
  modalities: { input: ["text", "image"], output: ["text"] },
268
273
  capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
269
274
  },
@@ -273,7 +278,7 @@ export const AMAZON_BEDROCK_MODELS = [
273
278
  provider: "amazon-bedrock",
274
279
  family: "ministral",
275
280
  pricing: { input: 2e-7, output: 2e-7 },
276
- contextWindow: 128000,
281
+ contextWindow: 128_000,
277
282
  maxOutput: 4096,
278
283
  modalities: { input: ["text"], output: ["text"] },
279
284
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -283,9 +288,9 @@ export const AMAZON_BEDROCK_MODELS = [
283
288
  name: "MiniMax M2",
284
289
  provider: "amazon-bedrock",
285
290
  family: "minimax",
286
- pricing: { input: 3e-7, output: 0.0000012 },
287
- contextWindow: 204608,
288
- maxOutput: 128000,
291
+ pricing: { input: 3e-7, output: 0.000_001_2 },
292
+ contextWindow: 204_608,
293
+ maxOutput: 128_000,
289
294
  modalities: { input: ["text"], output: ["text"] },
290
295
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
291
296
  },
@@ -295,7 +300,7 @@ export const AMAZON_BEDROCK_MODELS = [
295
300
  provider: "amazon-bedrock",
296
301
  family: "nova-micro",
297
302
  pricing: { input: 3.5e-8, output: 1.4e-7, cacheRead: 8.75e-9 },
298
- contextWindow: 128000,
303
+ contextWindow: 128_000,
299
304
  maxOutput: 8192,
300
305
  modalities: { input: ["text"], output: ["text"] },
301
306
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -305,8 +310,8 @@ export const AMAZON_BEDROCK_MODELS = [
305
310
  name: "Claude Sonnet 3.5 v2",
306
311
  provider: "amazon-bedrock",
307
312
  family: "claude-sonnet",
308
- pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
309
- contextWindow: 200000,
313
+ pricing: { input: 0.000_003, output: 0.000_015, cacheRead: 3e-7, cacheWrite: 0.000_003_75 },
314
+ contextWindow: 200_000,
310
315
  maxOutput: 8192,
311
316
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
312
317
  capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
@@ -317,7 +322,7 @@ export const AMAZON_BEDROCK_MODELS = [
317
322
  provider: "amazon-bedrock",
318
323
  family: "nemotron",
319
324
  pricing: { input: 6e-8, output: 2.4e-7 },
320
- contextWindow: 128000,
325
+ contextWindow: 128_000,
321
326
  maxOutput: 4096,
322
327
  modalities: { input: ["text"], output: ["text"] },
323
328
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
@@ -327,9 +332,9 @@ export const AMAZON_BEDROCK_MODELS = [
327
332
  name: "Claude Sonnet 4",
328
333
  provider: "amazon-bedrock",
329
334
  family: "claude-sonnet",
330
- pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
331
- contextWindow: 200000,
332
- maxOutput: 64000,
335
+ pricing: { input: 0.000_003, output: 0.000_015, cacheRead: 3e-7, cacheWrite: 0.000_003_75 },
336
+ contextWindow: 200_000,
337
+ maxOutput: 64_000,
333
338
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
334
339
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
335
340
  },
@@ -338,9 +343,9 @@ export const AMAZON_BEDROCK_MODELS = [
338
343
  name: "Qwen/Qwen3-VL-235B-A22B-Instruct",
339
344
  provider: "amazon-bedrock",
340
345
  family: "qwen",
341
- pricing: { input: 3e-7, output: 0.0000015 },
342
- contextWindow: 262000,
343
- maxOutput: 262000,
346
+ pricing: { input: 3e-7, output: 0.000_001_5 },
347
+ contextWindow: 262_000,
348
+ maxOutput: 262_000,
344
349
  modalities: { input: ["text", "image"], output: ["text"] },
345
350
  capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: true },
346
351
  },
@@ -349,9 +354,9 @@ export const AMAZON_BEDROCK_MODELS = [
349
354
  name: "Claude Opus 4.6 (Global)",
350
355
  provider: "amazon-bedrock",
351
356
  family: "claude-opus",
352
- pricing: { input: 0.000005, output: 0.000025, cacheRead: 5e-7, cacheWrite: 0.00000625 },
353
- contextWindow: 200000,
354
- maxOutput: 128000,
357
+ pricing: { input: 0.000_005, output: 0.000_025, cacheRead: 5e-7, cacheWrite: 0.000_006_25 },
358
+ contextWindow: 200_000,
359
+ maxOutput: 128_000,
355
360
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
356
361
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
357
362
  },
@@ -360,8 +365,8 @@ export const AMAZON_BEDROCK_MODELS = [
360
365
  name: "Palmyra X4",
361
366
  provider: "amazon-bedrock",
362
367
  family: "palmyra",
363
- pricing: { input: 0.0000025, output: 0.00001 },
364
- contextWindow: 122880,
368
+ pricing: { input: 0.000_002_5, output: 0.000_01 },
369
+ contextWindow: 122_880,
365
370
  maxOutput: 8192,
366
371
  modalities: { input: ["text"], output: ["text"] },
367
372
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
@@ -371,8 +376,8 @@ export const AMAZON_BEDROCK_MODELS = [
371
376
  name: "Nova Pro",
372
377
  provider: "amazon-bedrock",
373
378
  family: "nova-pro",
374
- pricing: { input: 8e-7, output: 0.0000032, cacheRead: 2e-7 },
375
- contextWindow: 300000,
379
+ pricing: { input: 8e-7, output: 0.000_003_2, cacheRead: 2e-7 },
380
+ contextWindow: 300_000,
376
381
  maxOutput: 8192,
377
382
  modalities: { input: ["text", "image", "video"], output: ["text"] },
378
383
  capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
@@ -382,9 +387,9 @@ export const AMAZON_BEDROCK_MODELS = [
382
387
  name: "Claude Opus 4.5 (US)",
383
388
  provider: "amazon-bedrock",
384
389
  family: "claude-opus",
385
- pricing: { input: 0.000005, output: 0.000025, cacheRead: 5e-7, cacheWrite: 0.00000625 },
386
- contextWindow: 200000,
387
- maxOutput: 64000,
390
+ pricing: { input: 0.000_005, output: 0.000_025, cacheRead: 5e-7, cacheWrite: 0.000_006_25 },
391
+ contextWindow: 200_000,
392
+ maxOutput: 64_000,
388
393
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
389
394
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
390
395
  },
@@ -394,7 +399,7 @@ export const AMAZON_BEDROCK_MODELS = [
394
399
  provider: "amazon-bedrock",
395
400
  family: "llama",
396
401
  pricing: { input: 7.2e-7, output: 7.2e-7 },
397
- contextWindow: 128000,
402
+ contextWindow: 128_000,
398
403
  maxOutput: 4096,
399
404
  modalities: { input: ["text", "image"], output: ["text"] },
400
405
  capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
@@ -404,9 +409,9 @@ export const AMAZON_BEDROCK_MODELS = [
404
409
  name: "Claude Opus 4.6 (US)",
405
410
  provider: "amazon-bedrock",
406
411
  family: "claude-opus",
407
- pricing: { input: 0.000005, output: 0.000025, cacheRead: 5e-7, cacheWrite: 0.00000625 },
408
- contextWindow: 200000,
409
- maxOutput: 128000,
412
+ pricing: { input: 0.000_005, output: 0.000_025, cacheRead: 5e-7, cacheWrite: 0.000_006_25 },
413
+ contextWindow: 200_000,
414
+ maxOutput: 128_000,
410
415
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
411
416
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
412
417
  },
@@ -416,7 +421,7 @@ export const AMAZON_BEDROCK_MODELS = [
416
421
  provider: "amazon-bedrock",
417
422
  family: "gemma",
418
423
  pricing: { input: 4e-8, output: 8e-8 },
419
- contextWindow: 128000,
424
+ contextWindow: 128_000,
420
425
  maxOutput: 4096,
421
426
  modalities: { input: ["text", "image"], output: ["text"] },
422
427
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -426,9 +431,9 @@ export const AMAZON_BEDROCK_MODELS = [
426
431
  name: "Claude Opus 4.6",
427
432
  provider: "amazon-bedrock",
428
433
  family: "claude-opus",
429
- pricing: { input: 0.000005, output: 0.000025, cacheRead: 5e-7, cacheWrite: 0.00000625 },
430
- contextWindow: 200000,
431
- maxOutput: 128000,
434
+ pricing: { input: 0.000_005, output: 0.000_025, cacheRead: 5e-7, cacheWrite: 0.000_006_25 },
435
+ contextWindow: 200_000,
436
+ maxOutput: 128_000,
432
437
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
433
438
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
434
439
  },
@@ -438,8 +443,8 @@ export const AMAZON_BEDROCK_MODELS = [
438
443
  provider: "amazon-bedrock",
439
444
  family: "glm-flash",
440
445
  pricing: { input: 7e-8, output: 4e-7 },
441
- contextWindow: 200000,
442
- maxOutput: 131072,
446
+ contextWindow: 200_000,
447
+ maxOutput: 131_072,
443
448
  modalities: { input: ["text"], output: ["text"] },
444
449
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
445
450
  },
@@ -448,9 +453,14 @@ export const AMAZON_BEDROCK_MODELS = [
448
453
  name: "Claude Opus 4",
449
454
  provider: "amazon-bedrock",
450
455
  family: "claude-opus",
451
- pricing: { input: 0.000015, output: 0.000075, cacheRead: 0.0000015, cacheWrite: 0.00001875 },
452
- contextWindow: 200000,
453
- maxOutput: 32000,
456
+ pricing: {
457
+ input: 0.000_015,
458
+ output: 0.000_075,
459
+ cacheRead: 0.000_001_5,
460
+ cacheWrite: 0.000_018_75,
461
+ },
462
+ contextWindow: 200_000,
463
+ maxOutput: 32_000,
454
464
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
455
465
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
456
466
  },
@@ -459,9 +469,9 @@ export const AMAZON_BEDROCK_MODELS = [
459
469
  name: "Claude Sonnet 4.6 (Global)",
460
470
  provider: "amazon-bedrock",
461
471
  family: "claude-sonnet",
462
- pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
463
- contextWindow: 200000,
464
- maxOutput: 64000,
472
+ pricing: { input: 0.000_003, output: 0.000_015, cacheRead: 3e-7, cacheWrite: 0.000_003_75 },
473
+ contextWindow: 200_000,
474
+ maxOutput: 64_000,
465
475
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
466
476
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
467
477
  },
@@ -471,7 +481,7 @@ export const AMAZON_BEDROCK_MODELS = [
471
481
  provider: "amazon-bedrock",
472
482
  family: "llama",
473
483
  pricing: { input: 1e-7, output: 1e-7 },
474
- contextWindow: 131000,
484
+ contextWindow: 131_000,
475
485
  maxOutput: 4096,
476
486
  modalities: { input: ["text"], output: ["text"] },
477
487
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -481,9 +491,14 @@ export const AMAZON_BEDROCK_MODELS = [
481
491
  name: "Claude Opus 4.1",
482
492
  provider: "amazon-bedrock",
483
493
  family: "claude-opus",
484
- pricing: { input: 0.000015, output: 0.000075, cacheRead: 0.0000015, cacheWrite: 0.00001875 },
485
- contextWindow: 200000,
486
- maxOutput: 32000,
494
+ pricing: {
495
+ input: 0.000_015,
496
+ output: 0.000_075,
497
+ cacheRead: 0.000_001_5,
498
+ cacheWrite: 0.000_018_75,
499
+ },
500
+ contextWindow: 200_000,
501
+ maxOutput: 32_000,
487
502
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
488
503
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
489
504
  },
@@ -493,8 +508,8 @@ export const AMAZON_BEDROCK_MODELS = [
493
508
  provider: "amazon-bedrock",
494
509
  family: "llama",
495
510
  pricing: { input: 1.7e-7, output: 6.6e-7 },
496
- contextWindow: 3500000,
497
- maxOutput: 16384,
511
+ contextWindow: 3_500_000,
512
+ maxOutput: 16_384,
498
513
  modalities: { input: ["text", "image"], output: ["text"] },
499
514
  capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
500
515
  },
@@ -503,9 +518,9 @@ export const AMAZON_BEDROCK_MODELS = [
503
518
  name: "DeepSeek-V3.2",
504
519
  provider: "amazon-bedrock",
505
520
  family: "deepseek",
506
- pricing: { input: 6.2e-7, output: 0.00000185 },
507
- contextWindow: 163840,
508
- maxOutput: 81920,
521
+ pricing: { input: 6.2e-7, output: 0.000_001_85 },
522
+ contextWindow: 163_840,
523
+ maxOutput: 81_920,
509
524
  modalities: { input: ["text"], output: ["text"] },
510
525
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
511
526
  },
@@ -514,9 +529,9 @@ export const AMAZON_BEDROCK_MODELS = [
514
529
  name: "DeepSeek-V3.1",
515
530
  provider: "amazon-bedrock",
516
531
  family: "deepseek",
517
- pricing: { input: 5.8e-7, output: 0.00000168 },
518
- contextWindow: 163840,
519
- maxOutput: 81920,
532
+ pricing: { input: 5.8e-7, output: 0.000_001_68 },
533
+ contextWindow: 163_840,
534
+ maxOutput: 81_920,
520
535
  modalities: { input: ["text"], output: ["text"] },
521
536
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
522
537
  },
@@ -526,7 +541,7 @@ export const AMAZON_BEDROCK_MODELS = [
526
541
  provider: "amazon-bedrock",
527
542
  family: "ministral",
528
543
  pricing: { input: 1e-7, output: 1e-7 },
529
- contextWindow: 256000,
544
+ contextWindow: 256_000,
530
545
  maxOutput: 8192,
531
546
  modalities: { input: ["text", "image"], output: ["text"] },
532
547
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -536,9 +551,9 @@ export const AMAZON_BEDROCK_MODELS = [
536
551
  name: "Claude Haiku 4.5 (Global)",
537
552
  provider: "amazon-bedrock",
538
553
  family: "claude-haiku",
539
- pricing: { input: 0.000001, output: 0.000005, cacheRead: 1e-7, cacheWrite: 0.00000125 },
540
- contextWindow: 200000,
541
- maxOutput: 64000,
554
+ pricing: { input: 0.000_001, output: 0.000_005, cacheRead: 1e-7, cacheWrite: 0.000_001_25 },
555
+ contextWindow: 200_000,
556
+ maxOutput: 64_000,
542
557
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
543
558
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
544
559
  },
@@ -548,7 +563,7 @@ export const AMAZON_BEDROCK_MODELS = [
548
563
  provider: "amazon-bedrock",
549
564
  family: "nemotron",
550
565
  pricing: { input: 6e-8, output: 2.3e-7 },
551
- contextWindow: 128000,
566
+ contextWindow: 128_000,
552
567
  maxOutput: 4096,
553
568
  modalities: { input: ["text"], output: ["text"] },
554
569
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -558,8 +573,8 @@ export const AMAZON_BEDROCK_MODELS = [
558
573
  name: "Palmyra X5",
559
574
  provider: "amazon-bedrock",
560
575
  family: "palmyra",
561
- pricing: { input: 6e-7, output: 0.000006 },
562
- contextWindow: 1040000,
576
+ pricing: { input: 6e-7, output: 0.000_006 },
577
+ contextWindow: 1_040_000,
563
578
  maxOutput: 8192,
564
579
  modalities: { input: ["text"], output: ["text"] },
565
580
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
@@ -570,7 +585,7 @@ export const AMAZON_BEDROCK_MODELS = [
570
585
  provider: "amazon-bedrock",
571
586
  family: "llama",
572
587
  pricing: { input: 7.2e-7, output: 7.2e-7 },
573
- contextWindow: 128000,
588
+ contextWindow: 128_000,
574
589
  maxOutput: 4096,
575
590
  modalities: { input: ["text"], output: ["text"] },
576
591
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -580,9 +595,9 @@ export const AMAZON_BEDROCK_MODELS = [
580
595
  name: "GLM-4.7",
581
596
  provider: "amazon-bedrock",
582
597
  family: "glm",
583
- pricing: { input: 6e-7, output: 0.0000022 },
584
- contextWindow: 204800,
585
- maxOutput: 131072,
598
+ pricing: { input: 6e-7, output: 0.000_002_2 },
599
+ contextWindow: 204_800,
600
+ maxOutput: 131_072,
586
601
  modalities: { input: ["text"], output: ["text"] },
587
602
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
588
603
  },
@@ -591,9 +606,9 @@ export const AMAZON_BEDROCK_MODELS = [
591
606
  name: "Kimi K2 Thinking",
592
607
  provider: "amazon-bedrock",
593
608
  family: "kimi-thinking",
594
- pricing: { input: 6e-7, output: 0.0000025 },
595
- contextWindow: 256000,
596
- maxOutput: 256000,
609
+ pricing: { input: 6e-7, output: 0.000_002_5 },
610
+ contextWindow: 256_000,
611
+ maxOutput: 256_000,
597
612
  modalities: { input: ["text"], output: ["text"] },
598
613
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
599
614
  },
@@ -602,8 +617,8 @@ export const AMAZON_BEDROCK_MODELS = [
602
617
  name: "Claude Haiku 3",
603
618
  provider: "amazon-bedrock",
604
619
  family: "claude-haiku",
605
- pricing: { input: 2.5e-7, output: 0.00000125 },
606
- contextWindow: 200000,
620
+ pricing: { input: 2.5e-7, output: 0.000_001_25 },
621
+ contextWindow: 200_000,
607
622
  maxOutput: 4096,
608
623
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
609
624
  capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
@@ -613,9 +628,9 @@ export const AMAZON_BEDROCK_MODELS = [
613
628
  name: "Claude Sonnet 4.5 (US)",
614
629
  provider: "amazon-bedrock",
615
630
  family: "claude-sonnet",
616
- pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
617
- contextWindow: 200000,
618
- maxOutput: 64000,
631
+ pricing: { input: 0.000_003, output: 0.000_015, cacheRead: 3e-7, cacheWrite: 0.000_003_75 },
632
+ contextWindow: 200_000,
633
+ maxOutput: 64_000,
619
634
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
620
635
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
621
636
  },
@@ -625,7 +640,7 @@ export const AMAZON_BEDROCK_MODELS = [
625
640
  provider: "amazon-bedrock",
626
641
  family: "gpt-oss",
627
642
  pricing: { input: 7e-8, output: 3e-7 },
628
- contextWindow: 128000,
643
+ contextWindow: 128_000,
629
644
  maxOutput: 4096,
630
645
  modalities: { input: ["text"], output: ["text"] },
631
646
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -635,9 +650,9 @@ export const AMAZON_BEDROCK_MODELS = [
635
650
  name: "Claude Sonnet 4.6 (US)",
636
651
  provider: "amazon-bedrock",
637
652
  family: "claude-sonnet",
638
- pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
639
- contextWindow: 200000,
640
- maxOutput: 64000,
653
+ pricing: { input: 0.000_003, output: 0.000_015, cacheRead: 3e-7, cacheWrite: 0.000_003_75 },
654
+ contextWindow: 200_000,
655
+ maxOutput: 64_000,
641
656
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
642
657
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
643
658
  },
@@ -647,7 +662,7 @@ export const AMAZON_BEDROCK_MODELS = [
647
662
  provider: "amazon-bedrock",
648
663
  family: "llama",
649
664
  pricing: { input: 1.6e-7, output: 1.6e-7 },
650
- contextWindow: 128000,
665
+ contextWindow: 128_000,
651
666
  maxOutput: 4096,
652
667
  modalities: { input: ["text", "image"], output: ["text"] },
653
668
  capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
@@ -657,9 +672,9 @@ export const AMAZON_BEDROCK_MODELS = [
657
672
  name: "Claude Opus 4.5 (EU)",
658
673
  provider: "amazon-bedrock",
659
674
  family: "claude-opus",
660
- pricing: { input: 0.000005, output: 0.000025, cacheRead: 5e-7, cacheWrite: 0.00000625 },
661
- contextWindow: 200000,
662
- maxOutput: 64000,
675
+ pricing: { input: 0.000_005, output: 0.000_025, cacheRead: 5e-7, cacheWrite: 0.000_006_25 },
676
+ contextWindow: 200_000,
677
+ maxOutput: 64_000,
663
678
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
664
679
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
665
680
  },
@@ -668,8 +683,8 @@ export const AMAZON_BEDROCK_MODELS = [
668
683
  name: "Llama 3.1 405B Instruct",
669
684
  provider: "amazon-bedrock",
670
685
  family: "llama",
671
- pricing: { input: 0.0000024, output: 0.0000024 },
672
- contextWindow: 128000,
686
+ pricing: { input: 0.000_002_4, output: 0.000_002_4 },
687
+ contextWindow: 128_000,
673
688
  maxOutput: 4096,
674
689
  modalities: { input: ["text"], output: ["text"] },
675
690
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -679,9 +694,9 @@ export const AMAZON_BEDROCK_MODELS = [
679
694
  name: "Qwen/Qwen3-Next-80B-A3B-Instruct",
680
695
  provider: "amazon-bedrock",
681
696
  family: "qwen",
682
- pricing: { input: 1.4e-7, output: 0.0000014 },
683
- contextWindow: 262000,
684
- maxOutput: 262000,
697
+ pricing: { input: 1.4e-7, output: 0.000_001_4 },
698
+ contextWindow: 262_000,
699
+ maxOutput: 262_000,
685
700
  modalities: { input: ["text"], output: ["text"] },
686
701
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
687
702
  },
@@ -690,9 +705,9 @@ export const AMAZON_BEDROCK_MODELS = [
690
705
  name: "Claude Sonnet 4 (US)",
691
706
  provider: "amazon-bedrock",
692
707
  family: "claude-sonnet",
693
- pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
694
- contextWindow: 200000,
695
- maxOutput: 64000,
708
+ pricing: { input: 0.000_003, output: 0.000_015, cacheRead: 3e-7, cacheWrite: 0.000_003_75 },
709
+ contextWindow: 200_000,
710
+ maxOutput: 64_000,
696
711
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
697
712
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
698
713
  },
@@ -702,8 +717,8 @@ export const AMAZON_BEDROCK_MODELS = [
702
717
  provider: "amazon-bedrock",
703
718
  family: "qwen",
704
719
  pricing: { input: 1.5e-7, output: 6e-7 },
705
- contextWindow: 262144,
706
- maxOutput: 131072,
720
+ contextWindow: 262_144,
721
+ maxOutput: 131_072,
707
722
  modalities: { input: ["text"], output: ["text"] },
708
723
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
709
724
  },
@@ -712,9 +727,9 @@ export const AMAZON_BEDROCK_MODELS = [
712
727
  name: "Claude Haiku 4.5 (US)",
713
728
  provider: "amazon-bedrock",
714
729
  family: "claude-haiku",
715
- pricing: { input: 0.000001, output: 0.000005, cacheRead: 1e-7, cacheWrite: 0.00000125 },
716
- contextWindow: 200000,
717
- maxOutput: 64000,
730
+ pricing: { input: 0.000_001, output: 0.000_005, cacheRead: 1e-7, cacheWrite: 0.000_001_25 },
731
+ contextWindow: 200_000,
732
+ maxOutput: 64_000,
718
733
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
719
734
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
720
735
  },
@@ -724,8 +739,8 @@ export const AMAZON_BEDROCK_MODELS = [
724
739
  provider: "amazon-bedrock",
725
740
  family: "qwen",
726
741
  pricing: { input: 2.2e-7, output: 8.8e-7 },
727
- contextWindow: 262144,
728
- maxOutput: 131072,
742
+ contextWindow: 262_144,
743
+ maxOutput: 131_072,
729
744
  modalities: { input: ["text"], output: ["text"] },
730
745
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
731
746
  },
@@ -735,7 +750,7 @@ export const AMAZON_BEDROCK_MODELS = [
735
750
  provider: "amazon-bedrock",
736
751
  family: "gpt-oss",
737
752
  pricing: { input: 1.5e-7, output: 6e-7 },
738
- contextWindow: 128000,
753
+ contextWindow: 128_000,
739
754
  maxOutput: 4096,
740
755
  modalities: { input: ["text"], output: ["text"] },
741
756
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -745,8 +760,8 @@ export const AMAZON_BEDROCK_MODELS = [
745
760
  name: "Claude Sonnet 3.5",
746
761
  provider: "amazon-bedrock",
747
762
  family: "claude-sonnet",
748
- pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
749
- contextWindow: 200000,
763
+ pricing: { input: 0.000_003, output: 0.000_015, cacheRead: 3e-7, cacheWrite: 0.000_003_75 },
764
+ contextWindow: 200_000,
750
765
  maxOutput: 8192,
751
766
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
752
767
  capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
@@ -757,7 +772,7 @@ export const AMAZON_BEDROCK_MODELS = [
757
772
  provider: "amazon-bedrock",
758
773
  family: "mistral",
759
774
  pricing: { input: 1.5e-7, output: 3.5e-7 },
760
- contextWindow: 32000,
775
+ contextWindow: 32_000,
761
776
  maxOutput: 8192,
762
777
  modalities: { input: ["text", "audio"], output: ["text"] },
763
778
  capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
@@ -767,9 +782,9 @@ export const AMAZON_BEDROCK_MODELS = [
767
782
  name: "Claude Haiku 4.5",
768
783
  provider: "amazon-bedrock",
769
784
  family: "claude-haiku",
770
- pricing: { input: 0.000001, output: 0.000005, cacheRead: 1e-7, cacheWrite: 0.00000125 },
771
- contextWindow: 200000,
772
- maxOutput: 64000,
785
+ pricing: { input: 0.000_001, output: 0.000_005, cacheRead: 1e-7, cacheWrite: 0.000_001_25 },
786
+ contextWindow: 200_000,
787
+ maxOutput: 64_000,
773
788
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
774
789
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
775
790
  },
@@ -779,7 +794,7 @@ export const AMAZON_BEDROCK_MODELS = [
779
794
  provider: "amazon-bedrock",
780
795
  family: "llama",
781
796
  pricing: { input: 1.5e-7, output: 1.5e-7 },
782
- contextWindow: 131000,
797
+ contextWindow: 131_000,
783
798
  maxOutput: 4096,
784
799
  modalities: { input: ["text"], output: ["text"] },
785
800
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -790,7 +805,7 @@ export const AMAZON_BEDROCK_MODELS = [
790
805
  provider: "amazon-bedrock",
791
806
  family: "gemma",
792
807
  pricing: { input: 1.2e-7, output: 2e-7 },
793
- contextWindow: 202752,
808
+ contextWindow: 202_752,
794
809
  maxOutput: 8192,
795
810
  modalities: { input: ["text", "image"], output: ["text"] },
796
811
  capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
@@ -800,9 +815,14 @@ export const AMAZON_BEDROCK_MODELS = [
800
815
  name: "Claude Opus 4.1 (US)",
801
816
  provider: "amazon-bedrock",
802
817
  family: "claude-opus",
803
- pricing: { input: 0.000015, output: 0.000075, cacheRead: 0.0000015, cacheWrite: 0.00001875 },
804
- contextWindow: 200000,
805
- maxOutput: 32000,
818
+ pricing: {
819
+ input: 0.000_015,
820
+ output: 0.000_075,
821
+ cacheRead: 0.000_001_5,
822
+ cacheWrite: 0.000_018_75,
823
+ },
824
+ contextWindow: 200_000,
825
+ maxOutput: 32_000,
806
826
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
807
827
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
808
828
  },
@@ -811,9 +831,9 @@ export const AMAZON_BEDROCK_MODELS = [
811
831
  name: "Claude Sonnet 4 (Global)",
812
832
  provider: "amazon-bedrock",
813
833
  family: "claude-sonnet",
814
- pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
815
- contextWindow: 200000,
816
- maxOutput: 64000,
834
+ pricing: { input: 0.000_003, output: 0.000_015, cacheRead: 3e-7, cacheWrite: 0.000_003_75 },
835
+ contextWindow: 200_000,
836
+ maxOutput: 64_000,
817
837
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
818
838
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
819
839
  },
@@ -822,8 +842,8 @@ export const AMAZON_BEDROCK_MODELS = [
822
842
  name: "Claude Haiku 3.5",
823
843
  provider: "amazon-bedrock",
824
844
  family: "claude-haiku",
825
- pricing: { input: 8e-7, output: 0.000004, cacheRead: 8e-8, cacheWrite: 0.000001 },
826
- contextWindow: 200000,
845
+ pricing: { input: 8e-7, output: 0.000_004, cacheRead: 8e-8, cacheWrite: 0.000_001 },
846
+ contextWindow: 200_000,
827
847
  maxOutput: 8192,
828
848
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
829
849
  capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
@@ -833,9 +853,9 @@ export const AMAZON_BEDROCK_MODELS = [
833
853
  name: "Claude Sonnet 4 (EU)",
834
854
  provider: "amazon-bedrock",
835
855
  family: "claude-sonnet",
836
- pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
837
- contextWindow: 200000,
838
- maxOutput: 64000,
856
+ pricing: { input: 0.000_003, output: 0.000_015, cacheRead: 3e-7, cacheWrite: 0.000_003_75 },
857
+ contextWindow: 200_000,
858
+ maxOutput: 64_000,
839
859
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
840
860
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
841
861
  },
@@ -844,9 +864,9 @@ export const AMAZON_BEDROCK_MODELS = [
844
864
  name: "Claude Opus 4.5",
845
865
  provider: "amazon-bedrock",
846
866
  family: "claude-opus",
847
- pricing: { input: 0.000005, output: 0.000025, cacheRead: 5e-7, cacheWrite: 0.00000625 },
848
- contextWindow: 200000,
849
- maxOutput: 64000,
867
+ pricing: { input: 0.000_005, output: 0.000_025, cacheRead: 5e-7, cacheWrite: 0.000_006_25 },
868
+ contextWindow: 200_000,
869
+ maxOutput: 64_000,
850
870
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
851
871
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
852
872
  },
@@ -855,9 +875,9 @@ export const AMAZON_BEDROCK_MODELS = [
855
875
  name: "Claude Opus 4.6 (EU)",
856
876
  provider: "amazon-bedrock",
857
877
  family: "claude-opus",
858
- pricing: { input: 0.000005, output: 0.000025, cacheRead: 5e-7, cacheWrite: 0.00000625 },
859
- contextWindow: 200000,
860
- maxOutput: 128000,
878
+ pricing: { input: 0.000_005, output: 0.000_025, cacheRead: 5e-7, cacheWrite: 0.000_006_25 },
879
+ contextWindow: 200_000,
880
+ maxOutput: 128_000,
861
881
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
862
882
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
863
883
  },
@@ -866,9 +886,9 @@ export const AMAZON_BEDROCK_MODELS = [
866
886
  name: "Nova Premier",
867
887
  provider: "amazon-bedrock",
868
888
  family: "nova",
869
- pricing: { input: 0.0000025, output: 0.0000125 },
870
- contextWindow: 1000000,
871
- maxOutput: 16384,
889
+ pricing: { input: 0.000_002_5, output: 0.000_012_5 },
890
+ contextWindow: 1_000_000,
891
+ maxOutput: 16_384,
872
892
  modalities: { input: ["text", "image", "video"], output: ["text"] },
873
893
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
874
894
  },
@@ -877,8 +897,8 @@ export const AMAZON_BEDROCK_MODELS = [
877
897
  name: "Nova 2 Lite",
878
898
  provider: "amazon-bedrock",
879
899
  family: "nova",
880
- pricing: { input: 3.3e-7, output: 0.00000275 },
881
- contextWindow: 128000,
900
+ pricing: { input: 3.3e-7, output: 0.000_002_75 },
901
+ contextWindow: 128_000,
882
902
  maxOutput: 4096,
883
903
  modalities: { input: ["text", "image", "video"], output: ["text"] },
884
904
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -889,8 +909,8 @@ export const AMAZON_BEDROCK_MODELS = [
889
909
  provider: "amazon-bedrock",
890
910
  family: "qwen",
891
911
  pricing: { input: 1.5e-7, output: 6e-7 },
892
- contextWindow: 16384,
893
- maxOutput: 16384,
912
+ contextWindow: 16_384,
913
+ maxOutput: 16_384,
894
914
  modalities: { input: ["text"], output: ["text"] },
895
915
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
896
916
  },
@@ -899,9 +919,9 @@ export const AMAZON_BEDROCK_MODELS = [
899
919
  name: "Magistral Small 1.2",
900
920
  provider: "amazon-bedrock",
901
921
  family: "magistral",
902
- pricing: { input: 5e-7, output: 0.0000015 },
903
- contextWindow: 128000,
904
- maxOutput: 40000,
922
+ pricing: { input: 5e-7, output: 0.000_001_5 },
923
+ contextWindow: 128_000,
924
+ maxOutput: 40_000,
905
925
  modalities: { input: ["text", "image"], output: ["text"] },
906
926
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
907
927
  },
@@ -910,9 +930,9 @@ export const AMAZON_BEDROCK_MODELS = [
910
930
  name: "Kimi K2.5",
911
931
  provider: "amazon-bedrock",
912
932
  family: "kimi",
913
- pricing: { input: 6e-7, output: 0.000003 },
914
- contextWindow: 256000,
915
- maxOutput: 256000,
933
+ pricing: { input: 6e-7, output: 0.000_003 },
934
+ contextWindow: 256_000,
935
+ maxOutput: 256_000,
916
936
  modalities: { input: ["text", "image"], output: ["text"] },
917
937
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
918
938
  },
@@ -922,7 +942,7 @@ export const AMAZON_BEDROCK_MODELS = [
922
942
  provider: "amazon-bedrock",
923
943
  family: "mistral",
924
944
  pricing: { input: 4e-8, output: 4e-8 },
925
- contextWindow: 128000,
945
+ contextWindow: 128_000,
926
946
  maxOutput: 4096,
927
947
  modalities: { input: ["audio", "text"], output: ["text"] },
928
948
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -932,9 +952,9 @@ export const AMAZON_BEDROCK_MODELS = [
932
952
  name: "Claude Sonnet 4.5 (Global)",
933
953
  provider: "amazon-bedrock",
934
954
  family: "claude-sonnet",
935
- pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
936
- contextWindow: 200000,
937
- maxOutput: 64000,
955
+ pricing: { input: 0.000_003, output: 0.000_015, cacheRead: 3e-7, cacheWrite: 0.000_003_75 },
956
+ contextWindow: 200_000,
957
+ maxOutput: 64_000,
938
958
  modalities: { input: ["text", "image", "pdf"], output: ["text"] },
939
959
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
940
960
  },