@juspay/neurolink 11.3.0 → 11.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/dist/adapters/providerImageAdapter.js +1 -1
- package/dist/browser/neurolink.min.js +6 -6
- package/dist/cli/commands/mcp.js +8 -8
- package/dist/constants/contextWindows.js +1 -1
- package/dist/constants/enums.d.ts +3 -2
- package/dist/constants/enums.js +7 -3
- package/dist/constants/tokens.d.ts +1 -1
- package/dist/constants/tokens.js +1 -1
- package/dist/lib/adapters/providerImageAdapter.js +1 -1
- package/dist/lib/constants/contextWindows.js +1 -1
- package/dist/lib/constants/enums.d.ts +3 -2
- package/dist/lib/constants/enums.js +7 -3
- package/dist/lib/constants/tokens.d.ts +1 -1
- package/dist/lib/constants/tokens.js +1 -1
- package/dist/lib/models/manifestRegistry.d.ts +33 -0
- package/dist/lib/models/manifestRegistry.js +174 -0
- package/dist/lib/models/manifests/anthropic.d.ts +9 -0
- package/dist/lib/models/manifests/anthropic.js +346 -0
- package/dist/lib/models/manifests/azure.d.ts +2 -0
- package/dist/lib/models/manifests/azure.js +87 -0
- package/dist/lib/models/manifests/bedrock.d.ts +2 -0
- package/dist/lib/models/manifests/bedrock.js +75 -0
- package/dist/lib/models/manifests/cloudflare.d.ts +8 -0
- package/dist/lib/models/manifests/cloudflare.js +19 -0
- package/dist/lib/models/manifests/cohere.d.ts +8 -0
- package/dist/lib/models/manifests/cohere.js +19 -0
- package/dist/lib/models/manifests/deepseek.d.ts +8 -0
- package/dist/lib/models/manifests/deepseek.js +19 -0
- package/dist/lib/models/manifests/fireworks.d.ts +8 -0
- package/dist/lib/models/manifests/fireworks.js +19 -0
- package/dist/lib/models/manifests/google-ai.d.ts +2 -0
- package/dist/lib/models/manifests/google-ai.js +28 -0
- package/dist/lib/models/manifests/groq.d.ts +8 -0
- package/dist/lib/models/manifests/groq.js +19 -0
- package/dist/lib/models/manifests/huggingface.d.ts +8 -0
- package/dist/lib/models/manifests/huggingface.js +19 -0
- package/dist/lib/models/manifests/ideogram.d.ts +8 -0
- package/dist/lib/models/manifests/ideogram.js +19 -0
- package/dist/lib/models/manifests/jina.d.ts +8 -0
- package/dist/lib/models/manifests/jina.js +19 -0
- package/dist/lib/models/manifests/litellm.d.ts +8 -0
- package/dist/lib/models/manifests/litellm.js +19 -0
- package/dist/lib/models/manifests/llamacpp.d.ts +8 -0
- package/dist/lib/models/manifests/llamacpp.js +19 -0
- package/dist/lib/models/manifests/lm-studio.d.ts +8 -0
- package/dist/lib/models/manifests/lm-studio.js +19 -0
- package/dist/lib/models/manifests/mistral.d.ts +2 -0
- package/dist/lib/models/manifests/mistral.js +50 -0
- package/dist/lib/models/manifests/nvidia-nim.d.ts +8 -0
- package/dist/lib/models/manifests/nvidia-nim.js +19 -0
- package/dist/lib/models/manifests/ollama.d.ts +2 -0
- package/dist/lib/models/manifests/ollama.js +72 -0
- package/dist/lib/models/manifests/openai-compatible.d.ts +8 -0
- package/dist/lib/models/manifests/openai-compatible.js +19 -0
- package/dist/lib/models/manifests/openai.d.ts +11 -0
- package/dist/lib/models/manifests/openai.js +560 -0
- package/dist/lib/models/manifests/openrouter.d.ts +8 -0
- package/dist/lib/models/manifests/openrouter.js +19 -0
- package/dist/lib/models/manifests/perplexity.d.ts +8 -0
- package/dist/lib/models/manifests/perplexity.js +19 -0
- package/dist/lib/models/manifests/recraft.d.ts +8 -0
- package/dist/lib/models/manifests/recraft.js +19 -0
- package/dist/lib/models/manifests/replicate.d.ts +8 -0
- package/dist/lib/models/manifests/replicate.js +19 -0
- package/dist/lib/models/manifests/sagemaker.d.ts +8 -0
- package/dist/lib/models/manifests/sagemaker.js +19 -0
- package/dist/lib/models/manifests/stability.d.ts +8 -0
- package/dist/lib/models/manifests/stability.js +19 -0
- package/dist/lib/models/manifests/together-ai.d.ts +8 -0
- package/dist/lib/models/manifests/together-ai.js +19 -0
- package/dist/lib/models/manifests/vertex.d.ts +8 -0
- package/dist/lib/models/manifests/vertex.js +19 -0
- package/dist/lib/models/manifests/voyage.d.ts +8 -0
- package/dist/lib/models/manifests/voyage.js +19 -0
- package/dist/lib/models/manifests/xai.d.ts +8 -0
- package/dist/lib/models/manifests/xai.js +19 -0
- package/dist/lib/providers/googleVertex/constants.js +1 -1
- package/dist/lib/types/model.d.ts +77 -0
- package/dist/models/manifestRegistry.d.ts +33 -0
- package/dist/models/manifestRegistry.js +173 -0
- package/dist/models/manifests/anthropic.d.ts +9 -0
- package/dist/models/manifests/anthropic.js +345 -0
- package/dist/models/manifests/azure.d.ts +2 -0
- package/dist/models/manifests/azure.js +86 -0
- package/dist/models/manifests/bedrock.d.ts +2 -0
- package/dist/models/manifests/bedrock.js +74 -0
- package/dist/models/manifests/cloudflare.d.ts +8 -0
- package/dist/models/manifests/cloudflare.js +18 -0
- package/dist/models/manifests/cohere.d.ts +8 -0
- package/dist/models/manifests/cohere.js +18 -0
- package/dist/models/manifests/deepseek.d.ts +8 -0
- package/dist/models/manifests/deepseek.js +18 -0
- package/dist/models/manifests/fireworks.d.ts +8 -0
- package/dist/models/manifests/fireworks.js +18 -0
- package/dist/models/manifests/google-ai.d.ts +2 -0
- package/dist/models/manifests/google-ai.js +27 -0
- package/dist/models/manifests/groq.d.ts +8 -0
- package/dist/models/manifests/groq.js +18 -0
- package/dist/models/manifests/huggingface.d.ts +8 -0
- package/dist/models/manifests/huggingface.js +18 -0
- package/dist/models/manifests/ideogram.d.ts +8 -0
- package/dist/models/manifests/ideogram.js +18 -0
- package/dist/models/manifests/jina.d.ts +8 -0
- package/dist/models/manifests/jina.js +18 -0
- package/dist/models/manifests/litellm.d.ts +8 -0
- package/dist/models/manifests/litellm.js +18 -0
- package/dist/models/manifests/llamacpp.d.ts +8 -0
- package/dist/models/manifests/llamacpp.js +18 -0
- package/dist/models/manifests/lm-studio.d.ts +8 -0
- package/dist/models/manifests/lm-studio.js +18 -0
- package/dist/models/manifests/mistral.d.ts +2 -0
- package/dist/models/manifests/mistral.js +49 -0
- package/dist/models/manifests/nvidia-nim.d.ts +8 -0
- package/dist/models/manifests/nvidia-nim.js +18 -0
- package/dist/models/manifests/ollama.d.ts +2 -0
- package/dist/models/manifests/ollama.js +71 -0
- package/dist/models/manifests/openai-compatible.d.ts +8 -0
- package/dist/models/manifests/openai-compatible.js +18 -0
- package/dist/models/manifests/openai.d.ts +11 -0
- package/dist/models/manifests/openai.js +559 -0
- package/dist/models/manifests/openrouter.d.ts +8 -0
- package/dist/models/manifests/openrouter.js +18 -0
- package/dist/models/manifests/perplexity.d.ts +8 -0
- package/dist/models/manifests/perplexity.js +18 -0
- package/dist/models/manifests/recraft.d.ts +8 -0
- package/dist/models/manifests/recraft.js +18 -0
- package/dist/models/manifests/replicate.d.ts +8 -0
- package/dist/models/manifests/replicate.js +18 -0
- package/dist/models/manifests/sagemaker.d.ts +8 -0
- package/dist/models/manifests/sagemaker.js +18 -0
- package/dist/models/manifests/stability.d.ts +8 -0
- package/dist/models/manifests/stability.js +18 -0
- package/dist/models/manifests/together-ai.d.ts +8 -0
- package/dist/models/manifests/together-ai.js +18 -0
- package/dist/models/manifests/vertex.d.ts +8 -0
- package/dist/models/manifests/vertex.js +18 -0
- package/dist/models/manifests/voyage.d.ts +8 -0
- package/dist/models/manifests/voyage.js +18 -0
- package/dist/models/manifests/xai.d.ts +8 -0
- package/dist/models/manifests/xai.js +18 -0
- package/dist/providers/googleVertex/constants.js +1 -1
- package/dist/types/model.d.ts +77 -0
- package/package.json +3 -2
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Anthropic model manifest. Canonical ids match AnthropicModels
|
|
3
|
+
* (src/lib/constants/enums.ts:524+) and MODEL_CONTEXT_WINDOWS.anthropic
|
|
4
|
+
* (src/lib/constants/contextWindows.ts:160-182). maxOutputTokens values
|
|
5
|
+
* come from getClaudeMaxOutputTokens (src/lib/utils/tokenLimits.ts) — the
|
|
6
|
+
* regex ladder already authoritative for native Claude request paths.
|
|
7
|
+
*/
|
|
8
|
+
export const anthropicManifest = {
|
|
9
|
+
defaultContextWindow: 200_000,
|
|
10
|
+
familyRules: [
|
|
11
|
+
{
|
|
12
|
+
// claude-{opus,sonnet,haiku}-N (N>=4) and claude-{fable,mythos}-N —
|
|
13
|
+
// mirrors CLAUDE_MODERN_VISION_FAMILIES
|
|
14
|
+
// (src/lib/adapters/providerImageAdapter.ts:70-73). Applied to
|
|
15
|
+
// gateway-shaped ids (e.g. "vertex_ai/claude-sonnet-5@20260203") that
|
|
16
|
+
// don't exact- or prefix-match any entry below.
|
|
17
|
+
pattern: /claude-(?:opus|sonnet|haiku)-(?:[4-9]|\d{2,})/i,
|
|
18
|
+
patch: { vision: true },
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
pattern: /claude-(?:fable|mythos)-\d/i,
|
|
22
|
+
patch: { vision: true },
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
models: {
|
|
26
|
+
"claude-sonnet-5": {
|
|
27
|
+
aliases: ["sonnet-5", "claude-sonnet"],
|
|
28
|
+
displayName: "Claude Sonnet 5",
|
|
29
|
+
contextWindow: 1_000_000,
|
|
30
|
+
maxOutputTokens: 64_000,
|
|
31
|
+
// No pricingPerMTok: genuinely absent from PRICING.anthropic today.
|
|
32
|
+
// Do not invent a rate — hasPricing()/findRates() (pricing.ts) must
|
|
33
|
+
// keep reporting this model as unpriced.
|
|
34
|
+
vision: true,
|
|
35
|
+
functionCalling: true,
|
|
36
|
+
reasoning: true,
|
|
37
|
+
jsonMode: true,
|
|
38
|
+
samplingParams: false, // matches SAMPLING_PARAM_REJECTING_FAMILIES /sonnet[-_.]?5(?![0-9])/i
|
|
39
|
+
},
|
|
40
|
+
"claude-opus-4-6": {
|
|
41
|
+
aliases: ["opus-4.6", "claude-opus-latest"],
|
|
42
|
+
displayName: "Claude Opus 4.6",
|
|
43
|
+
contextWindow: 1_000_000,
|
|
44
|
+
maxOutputTokens: 32_000,
|
|
45
|
+
pricingPerMTok: {
|
|
46
|
+
input: 5.0,
|
|
47
|
+
output: 25.0,
|
|
48
|
+
cacheRead: 0.5,
|
|
49
|
+
cacheWrite: 6.25,
|
|
50
|
+
},
|
|
51
|
+
vision: true,
|
|
52
|
+
functionCalling: true,
|
|
53
|
+
reasoning: true,
|
|
54
|
+
jsonMode: true,
|
|
55
|
+
},
|
|
56
|
+
"claude-sonnet-4-6": {
|
|
57
|
+
aliases: ["sonnet-4.6"],
|
|
58
|
+
displayName: "Claude Sonnet 4.6",
|
|
59
|
+
contextWindow: 1_000_000,
|
|
60
|
+
maxOutputTokens: 64_000,
|
|
61
|
+
pricingPerMTok: {
|
|
62
|
+
input: 3.0,
|
|
63
|
+
output: 15.0,
|
|
64
|
+
cacheRead: 0.3,
|
|
65
|
+
cacheWrite: 3.75,
|
|
66
|
+
},
|
|
67
|
+
vision: true,
|
|
68
|
+
functionCalling: true,
|
|
69
|
+
reasoning: true,
|
|
70
|
+
jsonMode: true,
|
|
71
|
+
},
|
|
72
|
+
"claude-opus-4-5-20251101": {
|
|
73
|
+
aliases: ["claude-opus-4-5", "opus-4.5"],
|
|
74
|
+
displayName: "Claude Opus 4.5",
|
|
75
|
+
contextWindow: 200_000,
|
|
76
|
+
maxOutputTokens: 32_000,
|
|
77
|
+
pricingPerMTok: {
|
|
78
|
+
input: 5.0,
|
|
79
|
+
output: 25.0,
|
|
80
|
+
cacheRead: 0.5,
|
|
81
|
+
cacheWrite: 6.25,
|
|
82
|
+
},
|
|
83
|
+
vision: true,
|
|
84
|
+
functionCalling: true,
|
|
85
|
+
reasoning: true,
|
|
86
|
+
jsonMode: true,
|
|
87
|
+
// Carried forward verbatim from MODEL_REGISTRY[AnthropicModels.CLAUDE_OPUS_4_5]
|
|
88
|
+
// (src/lib/models/modelRegistry.ts:1084-1133) so Task 9's equality test
|
|
89
|
+
// holds for performance/useCases/category, not just pricing/limits.
|
|
90
|
+
curated: {
|
|
91
|
+
performance: { speed: "medium", quality: "high", accuracy: "high" },
|
|
92
|
+
useCases: {
|
|
93
|
+
coding: 10,
|
|
94
|
+
creative: 10,
|
|
95
|
+
analysis: 10,
|
|
96
|
+
conversation: 9,
|
|
97
|
+
reasoning: 10,
|
|
98
|
+
translation: 9,
|
|
99
|
+
summarization: 9,
|
|
100
|
+
},
|
|
101
|
+
category: "reasoning",
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
"claude-sonnet-4-5-20250929": {
|
|
105
|
+
aliases: ["claude-sonnet-4-5", "sonnet-4.5"],
|
|
106
|
+
displayName: "Claude Sonnet 4.5",
|
|
107
|
+
contextWindow: 200_000,
|
|
108
|
+
maxOutputTokens: 64_000,
|
|
109
|
+
pricingPerMTok: {
|
|
110
|
+
input: 3.0,
|
|
111
|
+
output: 15.0,
|
|
112
|
+
cacheRead: 0.3,
|
|
113
|
+
cacheWrite: 3.75,
|
|
114
|
+
},
|
|
115
|
+
vision: true,
|
|
116
|
+
functionCalling: true,
|
|
117
|
+
reasoning: true,
|
|
118
|
+
jsonMode: true,
|
|
119
|
+
// Carried forward verbatim from MODEL_REGISTRY[AnthropicModels.CLAUDE_SONNET_4_5]
|
|
120
|
+
// (src/lib/models/modelRegistry.ts:1135-1179).
|
|
121
|
+
curated: {
|
|
122
|
+
performance: { speed: "medium", quality: "high", accuracy: "high" },
|
|
123
|
+
useCases: {
|
|
124
|
+
coding: 10,
|
|
125
|
+
creative: 9,
|
|
126
|
+
analysis: 9,
|
|
127
|
+
conversation: 9,
|
|
128
|
+
reasoning: 10,
|
|
129
|
+
translation: 8,
|
|
130
|
+
summarization: 8,
|
|
131
|
+
},
|
|
132
|
+
category: "coding",
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
"claude-haiku-4-5-20251001": {
|
|
136
|
+
aliases: ["claude-haiku-4-5", "haiku-4.5", "claude-4-5-haiku"],
|
|
137
|
+
displayName: "Claude 4.5 Haiku",
|
|
138
|
+
contextWindow: 200_000,
|
|
139
|
+
maxOutputTokens: 64_000,
|
|
140
|
+
pricingPerMTok: {
|
|
141
|
+
input: 1.0,
|
|
142
|
+
output: 5.0,
|
|
143
|
+
cacheRead: 0.1,
|
|
144
|
+
cacheWrite: 1.25,
|
|
145
|
+
},
|
|
146
|
+
vision: true,
|
|
147
|
+
functionCalling: true,
|
|
148
|
+
reasoning: true,
|
|
149
|
+
jsonMode: true,
|
|
150
|
+
// Carried forward verbatim from MODEL_REGISTRY[AnthropicModels.CLAUDE_4_5_HAIKU]
|
|
151
|
+
// (src/lib/models/modelRegistry.ts:1181-1224).
|
|
152
|
+
curated: {
|
|
153
|
+
performance: { speed: "fast", quality: "high", accuracy: "high" },
|
|
154
|
+
useCases: {
|
|
155
|
+
coding: 8,
|
|
156
|
+
creative: 8,
|
|
157
|
+
analysis: 8,
|
|
158
|
+
conversation: 9,
|
|
159
|
+
reasoning: 8,
|
|
160
|
+
translation: 8,
|
|
161
|
+
summarization: 9,
|
|
162
|
+
},
|
|
163
|
+
category: "general",
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
"claude-opus-4-1-20250805": {
|
|
167
|
+
aliases: ["claude-opus-4-1", "opus-4.1"],
|
|
168
|
+
displayName: "Claude Opus 4.1",
|
|
169
|
+
contextWindow: 200_000,
|
|
170
|
+
maxOutputTokens: 32_000,
|
|
171
|
+
pricingPerMTok: {
|
|
172
|
+
input: 15.0,
|
|
173
|
+
output: 75.0,
|
|
174
|
+
cacheRead: 1.5,
|
|
175
|
+
cacheWrite: 18.75,
|
|
176
|
+
},
|
|
177
|
+
vision: true,
|
|
178
|
+
functionCalling: true,
|
|
179
|
+
reasoning: true,
|
|
180
|
+
jsonMode: true,
|
|
181
|
+
},
|
|
182
|
+
"claude-opus-4-20250514": {
|
|
183
|
+
aliases: ["claude-opus-4"],
|
|
184
|
+
displayName: "Claude Opus 4",
|
|
185
|
+
contextWindow: 200_000,
|
|
186
|
+
maxOutputTokens: 32_000,
|
|
187
|
+
pricingPerMTok: {
|
|
188
|
+
input: 15.0,
|
|
189
|
+
output: 75.0,
|
|
190
|
+
cacheRead: 1.5,
|
|
191
|
+
cacheWrite: 18.75,
|
|
192
|
+
},
|
|
193
|
+
vision: true,
|
|
194
|
+
functionCalling: true,
|
|
195
|
+
reasoning: true,
|
|
196
|
+
jsonMode: true,
|
|
197
|
+
},
|
|
198
|
+
"claude-sonnet-4-20250514": {
|
|
199
|
+
aliases: ["claude-sonnet-4"],
|
|
200
|
+
displayName: "Claude Sonnet 4",
|
|
201
|
+
contextWindow: 200_000,
|
|
202
|
+
maxOutputTokens: 64_000,
|
|
203
|
+
pricingPerMTok: {
|
|
204
|
+
input: 3.0,
|
|
205
|
+
output: 15.0,
|
|
206
|
+
cacheRead: 0.3,
|
|
207
|
+
cacheWrite: 3.75,
|
|
208
|
+
},
|
|
209
|
+
vision: true,
|
|
210
|
+
functionCalling: true,
|
|
211
|
+
reasoning: true,
|
|
212
|
+
jsonMode: true,
|
|
213
|
+
},
|
|
214
|
+
"claude-3-7-sonnet-20250219": {
|
|
215
|
+
aliases: ["claude-3-7-sonnet"],
|
|
216
|
+
displayName: "Claude 3.7 Sonnet",
|
|
217
|
+
contextWindow: 200_000,
|
|
218
|
+
maxOutputTokens: 64_000,
|
|
219
|
+
pricingPerMTok: {
|
|
220
|
+
input: 3.0,
|
|
221
|
+
output: 15.0,
|
|
222
|
+
cacheRead: 0.3,
|
|
223
|
+
cacheWrite: 3.75,
|
|
224
|
+
},
|
|
225
|
+
vision: true,
|
|
226
|
+
functionCalling: true,
|
|
227
|
+
reasoning: true,
|
|
228
|
+
jsonMode: true,
|
|
229
|
+
},
|
|
230
|
+
"claude-3-5-sonnet-20241022": {
|
|
231
|
+
aliases: ["claude-3-5-sonnet"],
|
|
232
|
+
displayName: "Claude 3.5 Sonnet",
|
|
233
|
+
contextWindow: 200_000,
|
|
234
|
+
maxOutputTokens: 8_192,
|
|
235
|
+
pricingPerMTok: {
|
|
236
|
+
input: 3.0,
|
|
237
|
+
output: 15.0,
|
|
238
|
+
cacheRead: 0.3,
|
|
239
|
+
cacheWrite: 3.75,
|
|
240
|
+
},
|
|
241
|
+
vision: true,
|
|
242
|
+
functionCalling: true,
|
|
243
|
+
reasoning: false,
|
|
244
|
+
jsonMode: true,
|
|
245
|
+
// Carried forward verbatim from MODEL_REGISTRY[AnthropicModels.CLAUDE_3_5_SONNET]
|
|
246
|
+
// (src/lib/models/modelRegistry.ts:1226-1275).
|
|
247
|
+
curated: {
|
|
248
|
+
performance: { speed: "medium", quality: "high", accuracy: "high" },
|
|
249
|
+
useCases: {
|
|
250
|
+
coding: 10,
|
|
251
|
+
creative: 9,
|
|
252
|
+
analysis: 9,
|
|
253
|
+
conversation: 9,
|
|
254
|
+
reasoning: 10,
|
|
255
|
+
translation: 8,
|
|
256
|
+
summarization: 8,
|
|
257
|
+
},
|
|
258
|
+
category: "coding",
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
"claude-3-5-haiku-20241022": {
|
|
262
|
+
aliases: ["claude-3-5-haiku"],
|
|
263
|
+
displayName: "Claude 3.5 Haiku",
|
|
264
|
+
contextWindow: 200_000,
|
|
265
|
+
maxOutputTokens: 8_192,
|
|
266
|
+
pricingPerMTok: {
|
|
267
|
+
input: 0.8,
|
|
268
|
+
output: 4.0,
|
|
269
|
+
cacheRead: 0.08,
|
|
270
|
+
cacheWrite: 1.0,
|
|
271
|
+
},
|
|
272
|
+
// Deliberately false: the last non-vision Claude. Does not appear in
|
|
273
|
+
// VISION_CAPABILITIES.anthropic and does not match the modern-family
|
|
274
|
+
// regex (family word precedes the version digit for 3.x ids), see
|
|
275
|
+
// providerImageAdapter.ts:66-68's comment.
|
|
276
|
+
vision: false,
|
|
277
|
+
functionCalling: true,
|
|
278
|
+
reasoning: false,
|
|
279
|
+
jsonMode: true,
|
|
280
|
+
// Carried forward verbatim from MODEL_REGISTRY[AnthropicModels.CLAUDE_3_5_HAIKU]
|
|
281
|
+
// (src/lib/models/modelRegistry.ts:1277-1320).
|
|
282
|
+
curated: {
|
|
283
|
+
performance: { speed: "fast", quality: "high", accuracy: "high" },
|
|
284
|
+
useCases: {
|
|
285
|
+
coding: 8,
|
|
286
|
+
creative: 7,
|
|
287
|
+
analysis: 8,
|
|
288
|
+
conversation: 8,
|
|
289
|
+
reasoning: 8,
|
|
290
|
+
translation: 8,
|
|
291
|
+
summarization: 9,
|
|
292
|
+
},
|
|
293
|
+
category: "general",
|
|
294
|
+
},
|
|
295
|
+
},
|
|
296
|
+
"claude-3-opus-20240229": {
|
|
297
|
+
aliases: ["claude-3-opus"],
|
|
298
|
+
displayName: "Claude 3 Opus",
|
|
299
|
+
contextWindow: 200_000,
|
|
300
|
+
maxOutputTokens: 4_096,
|
|
301
|
+
pricingPerMTok: {
|
|
302
|
+
input: 15.0,
|
|
303
|
+
output: 75.0,
|
|
304
|
+
cacheRead: 1.5,
|
|
305
|
+
cacheWrite: 18.75,
|
|
306
|
+
},
|
|
307
|
+
vision: true,
|
|
308
|
+
functionCalling: true,
|
|
309
|
+
reasoning: false,
|
|
310
|
+
jsonMode: true,
|
|
311
|
+
},
|
|
312
|
+
"claude-3-sonnet-20240229": {
|
|
313
|
+
aliases: ["claude-3-sonnet"],
|
|
314
|
+
displayName: "Claude 3 Sonnet",
|
|
315
|
+
contextWindow: 200_000,
|
|
316
|
+
maxOutputTokens: 4_096,
|
|
317
|
+
pricingPerMTok: {
|
|
318
|
+
input: 3.0,
|
|
319
|
+
output: 15.0,
|
|
320
|
+
cacheRead: 0.3,
|
|
321
|
+
cacheWrite: 3.75,
|
|
322
|
+
},
|
|
323
|
+
vision: true,
|
|
324
|
+
functionCalling: true,
|
|
325
|
+
reasoning: false,
|
|
326
|
+
jsonMode: true,
|
|
327
|
+
},
|
|
328
|
+
"claude-3-haiku-20240307": {
|
|
329
|
+
aliases: ["claude-3-haiku"],
|
|
330
|
+
displayName: "Claude 3 Haiku",
|
|
331
|
+
contextWindow: 200_000,
|
|
332
|
+
maxOutputTokens: 4_096,
|
|
333
|
+
pricingPerMTok: {
|
|
334
|
+
input: 0.25,
|
|
335
|
+
output: 1.25,
|
|
336
|
+
cacheRead: 0.025,
|
|
337
|
+
cacheWrite: 0.3125,
|
|
338
|
+
},
|
|
339
|
+
vision: true,
|
|
340
|
+
functionCalling: true,
|
|
341
|
+
reasoning: false,
|
|
342
|
+
jsonMode: true,
|
|
343
|
+
},
|
|
344
|
+
},
|
|
345
|
+
};
|
|
346
|
+
//# sourceMappingURL=anthropic.js.map
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
export const azureManifest = {
|
|
2
|
+
defaultContextWindow: 128000,
|
|
3
|
+
models: {
|
|
4
|
+
"gpt-5.1": {
|
|
5
|
+
aliases: ["azure-gpt-5.1", "gpt51-azure", "azure-flagship"],
|
|
6
|
+
displayName: "GPT-5.1 (Azure)",
|
|
7
|
+
contextWindow: 300000,
|
|
8
|
+
maxOutputTokens: 64000,
|
|
9
|
+
pricingPerMTok: { input: 0.625, output: 5 },
|
|
10
|
+
vision: true,
|
|
11
|
+
functionCalling: true,
|
|
12
|
+
reasoning: true,
|
|
13
|
+
jsonMode: true,
|
|
14
|
+
},
|
|
15
|
+
"gpt-5.1-chat": {
|
|
16
|
+
aliases: ["azure-gpt-5.1-chat", "gpt51-chat-azure"],
|
|
17
|
+
displayName: "GPT-5.1 Chat (Azure)",
|
|
18
|
+
contextWindow: 300000,
|
|
19
|
+
maxOutputTokens: 32000,
|
|
20
|
+
pricingPerMTok: { input: 0.625, output: 5 },
|
|
21
|
+
vision: true,
|
|
22
|
+
functionCalling: true,
|
|
23
|
+
reasoning: true,
|
|
24
|
+
jsonMode: true,
|
|
25
|
+
},
|
|
26
|
+
"gpt-5.1-codex": {
|
|
27
|
+
aliases: ["azure-gpt-5.1-codex", "gpt51-codex-azure", "azure-code"],
|
|
28
|
+
displayName: "GPT-5.1 Codex (Azure)",
|
|
29
|
+
contextWindow: 300000,
|
|
30
|
+
maxOutputTokens: 64000,
|
|
31
|
+
pricingPerMTok: { input: 1.25, output: 10 },
|
|
32
|
+
vision: true,
|
|
33
|
+
functionCalling: true,
|
|
34
|
+
reasoning: true,
|
|
35
|
+
jsonMode: true,
|
|
36
|
+
},
|
|
37
|
+
"gpt-5.1-codex-mini": {
|
|
38
|
+
aliases: ["azure-gpt-5.1-codex-mini", "gpt51-codex-mini-azure"],
|
|
39
|
+
displayName: "GPT-5.1 Codex Mini (Azure)",
|
|
40
|
+
contextWindow: 200000,
|
|
41
|
+
maxOutputTokens: 32000,
|
|
42
|
+
pricingPerMTok: { input: 1.25, output: 10 },
|
|
43
|
+
vision: true,
|
|
44
|
+
functionCalling: true,
|
|
45
|
+
reasoning: true,
|
|
46
|
+
jsonMode: true,
|
|
47
|
+
},
|
|
48
|
+
"gpt-5.1-codex-max": {
|
|
49
|
+
aliases: [
|
|
50
|
+
"azure-gpt-5.1-codex-max",
|
|
51
|
+
"gpt51-codex-max-azure",
|
|
52
|
+
"azure-enterprise",
|
|
53
|
+
],
|
|
54
|
+
displayName: "GPT-5.1 Codex Max (Azure)",
|
|
55
|
+
contextWindow: 500000,
|
|
56
|
+
maxOutputTokens: 128000,
|
|
57
|
+
pricingPerMTok: { input: 1.25, output: 10 },
|
|
58
|
+
vision: true,
|
|
59
|
+
functionCalling: true,
|
|
60
|
+
reasoning: true,
|
|
61
|
+
jsonMode: true,
|
|
62
|
+
},
|
|
63
|
+
"gpt-5-pro": {
|
|
64
|
+
aliases: ["azure-gpt-5-pro", "gpt5-pro-azure"],
|
|
65
|
+
displayName: "GPT-5 Pro (Azure)",
|
|
66
|
+
contextWindow: 256000,
|
|
67
|
+
maxOutputTokens: 64000,
|
|
68
|
+
pricingPerMTok: { input: 1.25, output: 10 },
|
|
69
|
+
vision: true,
|
|
70
|
+
functionCalling: true,
|
|
71
|
+
reasoning: true,
|
|
72
|
+
jsonMode: true,
|
|
73
|
+
},
|
|
74
|
+
"gpt-5-turbo": {
|
|
75
|
+
aliases: ["azure-gpt-5-turbo", "gpt5-turbo-azure"],
|
|
76
|
+
displayName: "GPT-5 Turbo (Azure)",
|
|
77
|
+
contextWindow: 200000,
|
|
78
|
+
maxOutputTokens: 32768,
|
|
79
|
+
pricingPerMTok: { input: 1.25, output: 10 },
|
|
80
|
+
vision: true,
|
|
81
|
+
functionCalling: true,
|
|
82
|
+
reasoning: true,
|
|
83
|
+
jsonMode: true,
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=azure.js.map
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// The capability and limit fields below come from that model's AWS Bedrock
|
|
2
|
+
// model card (docs.aws.amazon.com/bedrock/latest/userguide/model-card-*.html):
|
|
3
|
+
// the Model Details block for contextWindow and maxOutputTokens, and the
|
|
4
|
+
// "Features supported using bedrock-runtime endpoint" table for jsonMode (AWS
|
|
5
|
+
// calls it "Structured outputs") and functionCalling ("Client-side tool
|
|
6
|
+
// calling"). `reasoning` is true only where the card states "Reasoning:
|
|
7
|
+
// Supported"; the card omits the line entirely for models that do not.
|
|
8
|
+
//
|
|
9
|
+
// `pricingPerMTok` is NOT from the model cards — they link out to
|
|
10
|
+
// aws.amazon.com/bedrock/pricing rather than carrying rates. Entries here
|
|
11
|
+
// either omit it or carry a rate verified separately, so do not assume the
|
|
12
|
+
// card backs a pricing figure.
|
|
13
|
+
export const bedrockManifest = {
|
|
14
|
+
defaultContextWindow: 200000,
|
|
15
|
+
models: {
|
|
16
|
+
"amazon.nova-premier-v1:0": {
|
|
17
|
+
aliases: ["nova-premier", "aws-flagship"],
|
|
18
|
+
displayName: "Amazon Nova Premier",
|
|
19
|
+
contextWindow: 1000000,
|
|
20
|
+
maxOutputTokens: 25000,
|
|
21
|
+
// pricingPerMTok omitted: hasPricing() reports no verified rate
|
|
22
|
+
vision: true,
|
|
23
|
+
functionCalling: true,
|
|
24
|
+
reasoning: true,
|
|
25
|
+
jsonMode: false,
|
|
26
|
+
},
|
|
27
|
+
"amazon.nova-pro-v1:0": {
|
|
28
|
+
aliases: ["nova-pro", "aws-balanced"],
|
|
29
|
+
displayName: "Amazon Nova Pro",
|
|
30
|
+
contextWindow: 300000,
|
|
31
|
+
maxOutputTokens: 5000,
|
|
32
|
+
// pricingPerMTok omitted: hasPricing() reports no verified rate
|
|
33
|
+
vision: true,
|
|
34
|
+
functionCalling: true,
|
|
35
|
+
reasoning: false,
|
|
36
|
+
jsonMode: false,
|
|
37
|
+
},
|
|
38
|
+
"amazon.nova-lite-v1:0": {
|
|
39
|
+
aliases: ["nova-lite", "aws-lite", "aws-cheap"],
|
|
40
|
+
displayName: "Amazon Nova Lite",
|
|
41
|
+
contextWindow: 300000,
|
|
42
|
+
maxOutputTokens: 5000,
|
|
43
|
+
// pricingPerMTok omitted: hasPricing() reports no verified rate
|
|
44
|
+
vision: true,
|
|
45
|
+
functionCalling: true,
|
|
46
|
+
reasoning: false,
|
|
47
|
+
jsonMode: false,
|
|
48
|
+
},
|
|
49
|
+
// 20251101, not the 20251124 launch date — AWS issues the ID from the
|
|
50
|
+
// model snapshot date. See the model card's Programmatic Access table.
|
|
51
|
+
"anthropic.claude-opus-4-5-20251101-v1:0": {
|
|
52
|
+
aliases: ["bedrock-claude-4.5-opus", "bedrock-claude-flagship"],
|
|
53
|
+
displayName: "Claude 4.5 Opus (Bedrock)",
|
|
54
|
+
contextWindow: 200000,
|
|
55
|
+
maxOutputTokens: 64000,
|
|
56
|
+
pricingPerMTok: { input: 5, output: 25 },
|
|
57
|
+
vision: true,
|
|
58
|
+
functionCalling: true,
|
|
59
|
+
reasoning: true,
|
|
60
|
+
jsonMode: true,
|
|
61
|
+
},
|
|
62
|
+
"meta.llama4-maverick-17b-instruct-v1:0": {
|
|
63
|
+
aliases: ["bedrock-llama4", "bedrock-llama-maverick"],
|
|
64
|
+
displayName: "Llama 4 Maverick (Bedrock)",
|
|
65
|
+
contextWindow: 1000000,
|
|
66
|
+
maxOutputTokens: 8192,
|
|
67
|
+
// pricingPerMTok omitted: hasPricing() reports no verified rate
|
|
68
|
+
vision: true,
|
|
69
|
+
functionCalling: true,
|
|
70
|
+
reasoning: false,
|
|
71
|
+
jsonMode: false,
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=bedrock.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ProviderModelManifest } from "../../types/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Minimal manifest: cloudflare has no MODEL_REGISTRY entries today, so
|
|
4
|
+
* only the provider-wide fallback is known. Named models can be added here
|
|
5
|
+
* incrementally without touching any consumer — see Task 5 of the model
|
|
6
|
+
* metadata consolidation plan.
|
|
7
|
+
*/
|
|
8
|
+
export declare const cloudflareManifest: ProviderModelManifest;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal manifest: cloudflare has no MODEL_REGISTRY entries today, so
|
|
3
|
+
* only the provider-wide fallback is known. Named models can be added here
|
|
4
|
+
* incrementally without touching any consumer — see Task 5 of the model
|
|
5
|
+
* metadata consolidation plan.
|
|
6
|
+
*/
|
|
7
|
+
export const cloudflareManifest = {
|
|
8
|
+
defaultContextWindow: 8192,
|
|
9
|
+
models: {
|
|
10
|
+
_default: {
|
|
11
|
+
aliases: [],
|
|
12
|
+
contextWindow: 8192,
|
|
13
|
+
maxOutputTokens: 8192,
|
|
14
|
+
vision: false,
|
|
15
|
+
functionCalling: false,
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=cloudflare.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ProviderModelManifest } from "../../types/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Minimal manifest: cohere has no MODEL_REGISTRY entries today, so
|
|
4
|
+
* only the provider-wide fallback is known. Named models can be added here
|
|
5
|
+
* incrementally without touching any consumer — see Task 5 of the model
|
|
6
|
+
* metadata consolidation plan.
|
|
7
|
+
*/
|
|
8
|
+
export declare const cohereManifest: ProviderModelManifest;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal manifest: cohere has no MODEL_REGISTRY entries today, so
|
|
3
|
+
* only the provider-wide fallback is known. Named models can be added here
|
|
4
|
+
* incrementally without touching any consumer — see Task 5 of the model
|
|
5
|
+
* metadata consolidation plan.
|
|
6
|
+
*/
|
|
7
|
+
export const cohereManifest = {
|
|
8
|
+
defaultContextWindow: 128000,
|
|
9
|
+
models: {
|
|
10
|
+
_default: {
|
|
11
|
+
aliases: [],
|
|
12
|
+
contextWindow: 128000,
|
|
13
|
+
maxOutputTokens: 64000,
|
|
14
|
+
vision: false,
|
|
15
|
+
functionCalling: false,
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=cohere.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ProviderModelManifest } from "../../types/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Minimal manifest: deepseek has no MODEL_REGISTRY entries today, so
|
|
4
|
+
* only the provider-wide fallback is known. Named models can be added here
|
|
5
|
+
* incrementally without touching any consumer — see Task 5 of the model
|
|
6
|
+
* metadata consolidation plan.
|
|
7
|
+
*/
|
|
8
|
+
export declare const deepseekManifest: ProviderModelManifest;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal manifest: deepseek has no MODEL_REGISTRY entries today, so
|
|
3
|
+
* only the provider-wide fallback is known. Named models can be added here
|
|
4
|
+
* incrementally without touching any consumer — see Task 5 of the model
|
|
5
|
+
* metadata consolidation plan.
|
|
6
|
+
*/
|
|
7
|
+
export const deepseekManifest = {
|
|
8
|
+
defaultContextWindow: 64000,
|
|
9
|
+
models: {
|
|
10
|
+
_default: {
|
|
11
|
+
aliases: [],
|
|
12
|
+
contextWindow: 64000,
|
|
13
|
+
maxOutputTokens: 64000,
|
|
14
|
+
vision: false,
|
|
15
|
+
functionCalling: false,
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=deepseek.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ProviderModelManifest } from "../../types/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Minimal manifest: fireworks has no MODEL_REGISTRY entries today, so
|
|
4
|
+
* only the provider-wide fallback is known. Named models can be added here
|
|
5
|
+
* incrementally without touching any consumer — see Task 5 of the model
|
|
6
|
+
* metadata consolidation plan.
|
|
7
|
+
*/
|
|
8
|
+
export declare const fireworksManifest: ProviderModelManifest;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal manifest: fireworks has no MODEL_REGISTRY entries today, so
|
|
3
|
+
* only the provider-wide fallback is known. Named models can be added here
|
|
4
|
+
* incrementally without touching any consumer — see Task 5 of the model
|
|
5
|
+
* metadata consolidation plan.
|
|
6
|
+
*/
|
|
7
|
+
export const fireworksManifest = {
|
|
8
|
+
defaultContextWindow: 128000,
|
|
9
|
+
models: {
|
|
10
|
+
_default: {
|
|
11
|
+
aliases: [],
|
|
12
|
+
contextWindow: 128000,
|
|
13
|
+
maxOutputTokens: 64000,
|
|
14
|
+
vision: false,
|
|
15
|
+
functionCalling: false,
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=fireworks.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export const googleAiManifest = {
|
|
2
|
+
defaultContextWindow: 1048576,
|
|
3
|
+
models: {
|
|
4
|
+
"gemini-2.5-pro": {
|
|
5
|
+
aliases: ["gemini-pro", "google-flagship", "best-analysis"],
|
|
6
|
+
displayName: "Gemini 2.5 Pro",
|
|
7
|
+
contextWindow: 2097152,
|
|
8
|
+
maxOutputTokens: 8192,
|
|
9
|
+
pricingPerMTok: { input: 1.25, output: 10 },
|
|
10
|
+
vision: true,
|
|
11
|
+
functionCalling: true,
|
|
12
|
+
reasoning: true,
|
|
13
|
+
jsonMode: true,
|
|
14
|
+
},
|
|
15
|
+
"gemini-2.5-flash": {
|
|
16
|
+
aliases: ["gemini-flash", "google-fast", "best-value"],
|
|
17
|
+
displayName: "Gemini 2.5 Flash",
|
|
18
|
+
contextWindow: 1048576,
|
|
19
|
+
maxOutputTokens: 8192,
|
|
20
|
+
pricingPerMTok: { input: 0.3, output: 2.5 },
|
|
21
|
+
vision: true,
|
|
22
|
+
functionCalling: true,
|
|
23
|
+
reasoning: true,
|
|
24
|
+
jsonMode: true,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=google-ai.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ProviderModelManifest } from "../../types/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Minimal manifest: groq has no MODEL_REGISTRY entries today, so
|
|
4
|
+
* only the provider-wide fallback is known. Named models can be added here
|
|
5
|
+
* incrementally without touching any consumer — see Task 5 of the model
|
|
6
|
+
* metadata consolidation plan.
|
|
7
|
+
*/
|
|
8
|
+
export declare const groqManifest: ProviderModelManifest;
|