chat-agent-toolkit 1.2.32 → 1.2.34
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/dist/research-agent.cjs.js +1 -1
- package/dist/research-agent.cjs.js.map +1 -1
- package/dist/research-agent.es.js +1 -1
- package/dist/research-agent.es.js.map +1 -1
- package/package.json +1 -1
- package/src/config/config-manager.ts +295 -295
- package/src/config/config-types.ts +65 -65
- package/src/config/environment-variables.ts +16 -16
- package/src/config/index.ts +26 -26
- package/src/config/language-models-database.ts +1434 -1434
- package/src/config/mcp-server-registry.ts +24 -24
- package/src/config/model-registry.ts +271 -271
- package/src/config/model-tester.ts +211 -211
- package/src/config/model-utils.ts +193 -193
- package/src/config/provider-ui-config.ts +196 -196
- package/src/connectors/open-connector.json +130 -130
- package/src/index.ts +26 -26
- package/src/memory/ARCHITECTURE.md +302 -302
- package/src/memory/README.md +224 -224
- package/src/memory/agent-memory-manager.ts +416 -416
- package/src/memory/example.ts +343 -343
- package/src/memory/index.ts +47 -47
- package/src/memory/mastra-integration.ts +604 -604
- package/src/memory/storage/drizzle-storage.ts +236 -236
- package/src/memory/storage/in-memory-storage.ts +551 -551
- package/src/memory/storage/storage-interface.ts +68 -68
- package/src/memory/types.ts +125 -125
- package/src/models/types.ts +4 -4
- package/src/provider-logos/01-ai.png +0 -0
- package/src/provider-logos/anthropic.png +0 -0
- package/src/provider-logos/aws-bedrock.png +0 -0
- package/src/provider-logos/aws-sagemaker.png +0 -0
- package/src/provider-logos/azure-openai-service.png +0 -0
- package/src/provider-logos/chatglm.png +0 -0
- package/src/provider-logos/cohere.png +0 -0
- package/src/provider-logos/gemini.png +0 -0
- package/src/provider-logos/groqcloud.png +0 -0
- package/src/provider-logos/huggingface.png +0 -0
- package/src/provider-logos/jina.png +0 -0
- package/src/provider-logos/localai.png +0 -0
- package/src/provider-logos/mistral-ai.png +0 -0
- package/src/provider-logos/moonshot-ai.png +0 -0
- package/src/provider-logos/ollama.png +0 -0
- package/src/provider-logos/openai.png +0 -0
- package/src/provider-logos/openllm.png +0 -0
- package/src/provider-logos/openrouter.png +0 -0
- package/src/provider-logos/replicate.png +0 -0
- package/src/provider-logos/together-ai.png +0 -0
- package/src/provider-logos/tongyi.png +0 -0
- package/src/provider-logos/xorbits-inference.png +0 -0
- package/src/provider-logos/zhipu-ai.png +0 -0
- package/src/tools/index.ts +13 -13
- package/src/tools/open-connector-mastra.ts +270 -270
- package/src/tools/open-connector-mcp.ts +170 -170
- package/src/tools/qwksearch-api-tools.ts +326 -326
- package/src/tools/search/doc-utils.ts +139 -139
- package/src/tools/search/document.ts +47 -47
- package/src/tools/search/index.ts +14 -14
- package/src/tools/search/link-summarizer.ts +112 -112
- package/src/tools/search/meta-search-types.ts +62 -62
- package/src/tools/search/metaSearchAgent.ts +465 -465
- package/src/tools/search/search-handlers.ts +97 -97
- package/src/tools/search/suggestionGeneratorAgent.ts +56 -56
- package/src/types.d.ts +137 -137
- package/src/utils/index.ts +2 -2
- package/src/utils/markdown-to-html.ts +53 -53
- package/src/utils/outputParser.ts +73 -73
|
@@ -1,1434 +1,1434 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* List of default models for the chat providers and a list of models
|
|
3
|
-
* @property {string} provider - The provider name
|
|
4
|
-
* @property {string} docs - The documentation URL for the model
|
|
5
|
-
* @property {string} api_key - The API key url for the model
|
|
6
|
-
* @property {string} default - The default model for the chat provider
|
|
7
|
-
* @property {Object[]} models - The list of models available for the chat provider
|
|
8
|
-
* @category Generate
|
|
9
|
-
*/
|
|
10
|
-
export const LANGUAGE_MODELS = [
|
|
11
|
-
{
|
|
12
|
-
"provider": "NVIDIA",
|
|
13
|
-
"docs": "https://docs.api.nvidia.com/nim/reference/llm-apis",
|
|
14
|
-
"api_key": "https://build.nvidia.com/settings/api-keys",
|
|
15
|
-
"default": "nvidia/llama-3.1-nemotron-70b-instruct",
|
|
16
|
-
"models": [
|
|
17
|
-
{
|
|
18
|
-
"name": "Llama 3.1 Nemotron 70B Instruct",
|
|
19
|
-
"id": "nvidia/llama-3.1-nemotron-70b-instruct",
|
|
20
|
-
"contextLength": 131_072,
|
|
21
|
-
"free": true,
|
|
22
|
-
"type": "text
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "Nemotron 3 Super 120B",
|
|
26
|
-
"id": "nvidia/nemotron-3-super-120b-a12b",
|
|
27
|
-
"contextLength": 1_000_000,
|
|
28
|
-
"free": true,
|
|
29
|
-
"type": "text
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "Nemotron-4 340B",
|
|
33
|
-
"id": "nvidia/nemotron-4-340b",
|
|
34
|
-
"contextLength": 131_072,
|
|
35
|
-
"free": false,
|
|
36
|
-
"type": "text
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "Llama 3.3 70B Instruct",
|
|
40
|
-
"id": "meta/llama-3.3-70b-instruct",
|
|
41
|
-
"contextLength": 131_072,
|
|
42
|
-
"free": true,
|
|
43
|
-
"type": "text
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"name": "Llama 3.1 405B Instruct",
|
|
47
|
-
"id": "meta/llama-3.1-405b-instruct",
|
|
48
|
-
"contextLength": 131_072,
|
|
49
|
-
"free": false,
|
|
50
|
-
"type": "text
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "Llama 3.1 8B Instruct",
|
|
54
|
-
"id": "meta/llama-3.1-8b-instruct",
|
|
55
|
-
"contextLength": 131_072,
|
|
56
|
-
"free": true,
|
|
57
|
-
"type": "text
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"name": "Gemma 4 31B IT",
|
|
61
|
-
"id": "google/gemma-4-31b-it",
|
|
62
|
-
"contextLength": 131_072,
|
|
63
|
-
"free": true,
|
|
64
|
-
"type": "text
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"name": "Mistral Large 2",
|
|
68
|
-
"id": "mistralai/mistral-large-2",
|
|
69
|
-
"contextLength": 131_072,
|
|
70
|
-
"free": false,
|
|
71
|
-
"type": "text
|
|
72
|
-
}
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
provider: "Cloudflare",
|
|
77
|
-
docs: "https://developers.cloudflare.com/workers-ai/",
|
|
78
|
-
api_key: "https://dash.cloudflare.com/profile/api-tokens",
|
|
79
|
-
default: "llama-4-scout-17b-16e-instruct",
|
|
80
|
-
models: [
|
|
81
|
-
{
|
|
82
|
-
name: "Llama 4 Scout 17B 16E Instruct",
|
|
83
|
-
id: "llama-4-scout-17b-16e-instruct",
|
|
84
|
-
contextLength: 128000,
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
name: "Llama 3.3 70B Instruct FP8 Fast",
|
|
88
|
-
id: "llama-3.3-70b-instruct-fp8-fast",
|
|
89
|
-
contextLength: 128000,
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
name: "Llama 3.1 8B Instruct Fast",
|
|
93
|
-
id: "llama-3.1-8b-instruct-fast",
|
|
94
|
-
contextLength: 128000,
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
name: "Gemma 3 12B IT",
|
|
98
|
-
id: "gemma-3-12b-it",
|
|
99
|
-
contextLength: 128000,
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
name: "Mistral Small 3.1 24B Instruct",
|
|
103
|
-
id: "mistral-small-3.1-24b-instruct",
|
|
104
|
-
contextLength: 128000,
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
name: "QwQ 32B",
|
|
108
|
-
id: "qwq-32b",
|
|
109
|
-
contextLength: 32768,
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
name: "Qwen2.5 Coder 32B Instruct",
|
|
113
|
-
id: "qwen2.5-coder-32b-instruct",
|
|
114
|
-
contextLength: 32768,
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
name: "Llama Guard 3 8B",
|
|
118
|
-
id: "llama-guard-3-8b",
|
|
119
|
-
contextLength: 8192,
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
name: "DeepSeek R1 Distill Qwen 32B",
|
|
123
|
-
id: "deepseek-r1-distill-qwen-32b",
|
|
124
|
-
contextLength: 32768,
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
name: "Llama 3.2 1B Instruct",
|
|
128
|
-
id: "llama-3.2-1b-instruct",
|
|
129
|
-
contextLength: 131072,
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
name: "Llama 3.2 3B Instruct",
|
|
133
|
-
id: "llama-3.2-3b-instruct",
|
|
134
|
-
contextLength: 131072,
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
name: "Llama 3.2 11B Vision Instruct",
|
|
138
|
-
id: "llama-3.2-11b-vision-instruct",
|
|
139
|
-
contextLength: 131072,
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
name: "Llama 3.1 8B Instruct AWQ",
|
|
143
|
-
id: "llama-3.1-8b-instruct-awq",
|
|
144
|
-
contextLength: 128000,
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
name: "Llama 3.1 8B Instruct FP8",
|
|
148
|
-
id: "llama-3.1-8b-instruct-fp8",
|
|
149
|
-
contextLength: 128000,
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
name: "MeloTTS",
|
|
153
|
-
id: "melotts",
|
|
154
|
-
contextLength: 1024,
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
name: "Llama 3.1 8B Instruct",
|
|
158
|
-
id: "llama-3.1-8b-instruct",
|
|
159
|
-
contextLength: 128000,
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
name: "Meta Llama 3 8B Instruct",
|
|
163
|
-
id: "meta-llama-3-8b-instruct",
|
|
164
|
-
contextLength: 8192,
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
name: "Whisper Large V3 Turbo",
|
|
168
|
-
id: "whisper-large-v3-turbo",
|
|
169
|
-
contextLength: 448000,
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
name: "Llama 3 8B Instruct AWQ",
|
|
173
|
-
id: "llama-3-8b-instruct-awq",
|
|
174
|
-
contextLength: 8192,
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
name: "LLaVA 1.5 7B HF",
|
|
178
|
-
id: "llava-1.5-7b-hf",
|
|
179
|
-
contextLength: 4096,
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
name: "Una Cybertron 7B V2 BF16",
|
|
183
|
-
id: "una-cybertron-7b-v2-bf16",
|
|
184
|
-
contextLength: 32768,
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
name: "Whisper Tiny EN",
|
|
188
|
-
id: "whisper-tiny-en",
|
|
189
|
-
contextLength: 448000,
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
name: "Llama 3 8B Instruct",
|
|
193
|
-
id: "llama-3-8b-instruct",
|
|
194
|
-
contextLength: 8192,
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
name: "Mistral 7B Instruct v0.2",
|
|
198
|
-
id: "mistral-7b-instruct-v0.2",
|
|
199
|
-
contextLength: 32768,
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
name: "Gemma 7B IT LoRA",
|
|
203
|
-
id: "gemma-7b-it-lora",
|
|
204
|
-
contextLength: 8192,
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
name: "Gemma 2B IT LoRA",
|
|
208
|
-
id: "gemma-2b-it-lora",
|
|
209
|
-
contextLength: 8192,
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
name: "Llama 2 7B Chat HF LoRA",
|
|
213
|
-
id: "llama-2-7b-chat-hf-lora",
|
|
214
|
-
contextLength: 4096,
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
name: "Gemma 7B IT",
|
|
218
|
-
id: "gemma-7b-it",
|
|
219
|
-
contextLength: 8192,
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
name: "Starling LM 7B Beta",
|
|
223
|
-
id: "starling-lm-7b-beta",
|
|
224
|
-
contextLength: 8192,
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
name: "Hermes 2 Pro Mistral 7B",
|
|
228
|
-
id: "hermes-2-pro-mistral-7b",
|
|
229
|
-
contextLength: 32768,
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
name: "Mistral 7B Instruct v0.2 LoRA",
|
|
233
|
-
id: "mistral-7b-instruct-v0.2-lora",
|
|
234
|
-
contextLength: 32768,
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
name: "Qwen1.5 1.8B Chat",
|
|
238
|
-
id: "qwen1.5-1.8b-chat",
|
|
239
|
-
contextLength: 32768,
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
name: "UForm Gen2 Qwen 500M",
|
|
243
|
-
id: "uform-gen2-qwen-500m",
|
|
244
|
-
contextLength: 2048,
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
name: "BART Large CNN",
|
|
248
|
-
id: "bart-large-cnn",
|
|
249
|
-
contextLength: 1024,
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
name: "Phi-2",
|
|
253
|
-
id: "phi-2",
|
|
254
|
-
contextLength: 2048,
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
name: "TinyLlama 1.1B Chat v1.0",
|
|
258
|
-
id: "tinyllama-1.1b-chat-v1.0",
|
|
259
|
-
contextLength: 2048,
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
name: "Qwen1.5 14B Chat AWQ",
|
|
263
|
-
id: "qwen1.5-14b-chat-awq",
|
|
264
|
-
contextLength: 32768,
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
name: "Qwen1.5 7B Chat AWQ",
|
|
268
|
-
id: "qwen1.5-7b-chat-awq",
|
|
269
|
-
contextLength: 32768,
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
name: "Qwen1.5 0.5B Chat",
|
|
273
|
-
id: "qwen1.5-0.5b-chat",
|
|
274
|
-
contextLength: 32768,
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
name: "DiscoLM German 7B v1 AWQ",
|
|
278
|
-
id: "discolm-german-7b-v1-awq",
|
|
279
|
-
contextLength: 32768,
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
name: "Falcon 7B Instruct",
|
|
283
|
-
id: "falcon-7b-instruct",
|
|
284
|
-
contextLength: 2048,
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
name: "OpenChat 3.5 0106",
|
|
288
|
-
id: "openchat-3.5-0106",
|
|
289
|
-
contextLength: 8192,
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
name: "SQLCoder 7B 2",
|
|
293
|
-
id: "sqlcoder-7b-2",
|
|
294
|
-
contextLength: 16384,
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
name: "DeepSeek Math 7B Instruct",
|
|
298
|
-
id: "deepseek-math-7b-instruct",
|
|
299
|
-
contextLength: 4096,
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
name: "DETR ResNet-50",
|
|
303
|
-
id: "detr-resnet-50",
|
|
304
|
-
contextLength: 1024,
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
name: "Stable Diffusion XL Lightning",
|
|
308
|
-
id: "stable-diffusion-xl-lightning",
|
|
309
|
-
contextLength: 77,
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
name: "DreamShaper 8 LCM",
|
|
313
|
-
id: "dreamshaper-8-lcm",
|
|
314
|
-
contextLength: 77,
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
name: "Stable Diffusion v1.5 Img2Img",
|
|
318
|
-
id: "stable-diffusion-v1-5-img2img",
|
|
319
|
-
contextLength: 77,
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
name: "Stable Diffusion v1.5 Inpainting",
|
|
323
|
-
id: "stable-diffusion-v1-5-inpainting",
|
|
324
|
-
contextLength: 77,
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
name: "DeepSeek Coder 6.7B Instruct AWQ",
|
|
328
|
-
id: "deepseek-coder-6.7b-instruct-awq",
|
|
329
|
-
contextLength: 16384,
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
name: "DeepSeek Coder 6.7B Base AWQ",
|
|
333
|
-
id: "deepseek-coder-6.7b-base-awq",
|
|
334
|
-
contextLength: 16384,
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
name: "LlamaGuard 7B AWQ",
|
|
338
|
-
id: "llamaguard-7b-awq",
|
|
339
|
-
contextLength: 4096,
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
name: "Neural Chat 7B v3.1 AWQ",
|
|
343
|
-
id: "neural-chat-7b-v3-1-awq",
|
|
344
|
-
contextLength: 8192,
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
name: "OpenHermes 2.5 Mistral 7B AWQ",
|
|
348
|
-
id: "openhermes-2.5-mistral-7b-awq",
|
|
349
|
-
contextLength: 8192,
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
name: "Llama 2 13B Chat AWQ",
|
|
353
|
-
id: "llama-2-13b-chat-awq",
|
|
354
|
-
contextLength: 4096,
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
name: "Mistral 7B Instruct v0.1 AWQ",
|
|
358
|
-
id: "mistral-7b-instruct-v0.1-awq",
|
|
359
|
-
contextLength: 8192,
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
name: "Zephyr 7B Beta AWQ",
|
|
363
|
-
id: "zephyr-7b-beta-awq",
|
|
364
|
-
contextLength: 8192,
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
name: "Stable Diffusion XL Base 1.0",
|
|
368
|
-
id: "stable-diffusion-xl-base-1.0",
|
|
369
|
-
contextLength: 77,
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
name: "BGE Large EN v1.5",
|
|
373
|
-
id: "bge-large-en-v1.5",
|
|
374
|
-
contextLength: 512,
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
name: "BGE Small EN v1.5",
|
|
378
|
-
id: "bge-small-en-v1.5",
|
|
379
|
-
contextLength: 512,
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
name: "Llama 2 7B Chat FP16",
|
|
383
|
-
id: "llama-2-7b-chat-fp16",
|
|
384
|
-
contextLength: 4096,
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
name: "Mistral 7B Instruct v0.1",
|
|
388
|
-
id: "mistral-7b-instruct-v0.1",
|
|
389
|
-
contextLength: 8192,
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
name: "BGE Base EN v1.5",
|
|
393
|
-
id: "bge-base-en-v1.5",
|
|
394
|
-
contextLength: 512,
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
name: "DistilBERT SST-2 Int8",
|
|
398
|
-
id: "distilbert-sst-2-int8",
|
|
399
|
-
contextLength: 512,
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
name: "Llama 2 7B Chat Int8",
|
|
403
|
-
id: "llama-2-7b-chat-int8",
|
|
404
|
-
contextLength: 4096,
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
name: "M2M100 1.2B",
|
|
408
|
-
id: "m2m100-1.2b",
|
|
409
|
-
contextLength: 1024,
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
name: "ResNet-50",
|
|
413
|
-
id: "resnet-50",
|
|
414
|
-
contextLength: 224,
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
name: "Whisper",
|
|
418
|
-
id: "whisper",
|
|
419
|
-
contextLength: 448000,
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
name: "Llama 3.1 70B Instruct",
|
|
423
|
-
id: "llama-3.1-70b-instruct",
|
|
424
|
-
contextLength: 128000,
|
|
425
|
-
},
|
|
426
|
-
],
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
provider: "Perplexity",
|
|
430
|
-
docs: "https://docs.perplexity.ai/models/model-cards",
|
|
431
|
-
api_key: "https://www.perplexity.ai/account/api/keys",
|
|
432
|
-
default: "sonar",
|
|
433
|
-
models: [
|
|
434
|
-
{
|
|
435
|
-
name: "Sonar Pro",
|
|
436
|
-
id: "sonar-pro",
|
|
437
|
-
contextLength: 200000,
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
name: "Sonar",
|
|
441
|
-
id: "sonar",
|
|
442
|
-
contextLength: 128000,
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
name: "Sonar Reasoning Pro",
|
|
446
|
-
id: "sonar-reasoning-pro",
|
|
447
|
-
contextLength: 128000,
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
name: "Sonar Reasoning",
|
|
451
|
-
id: "sonar-reasoning",
|
|
452
|
-
contextLength: 128000,
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
name: "Sonar Deep Research",
|
|
456
|
-
id: "sonar-deep-research",
|
|
457
|
-
contextLength: 128000,
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
name: "Llama 3.1 Sonar Small 128k Online",
|
|
461
|
-
id: "llama-3.1-sonar-small-128k-online",
|
|
462
|
-
contextLength: 127072,
|
|
463
|
-
},
|
|
464
|
-
{
|
|
465
|
-
name: "Llama 3.1 Sonar Large 128k Online",
|
|
466
|
-
id: "llama-3.1-sonar-large-128k-online",
|
|
467
|
-
contextLength: 127072,
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
name: "Llama 3.1 Sonar Huge 128k Online",
|
|
471
|
-
id: "llama-3.1-sonar-huge-128k-online",
|
|
472
|
-
contextLength: 127072,
|
|
473
|
-
},
|
|
474
|
-
],
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
provider: "Groq",
|
|
478
|
-
docs: "https://console.groq.com/docs/overview",
|
|
479
|
-
api_key: "https://console.groq.com/keys",
|
|
480
|
-
default: "llama-3.3-70b-versatile",
|
|
481
|
-
models: [
|
|
482
|
-
{
|
|
483
|
-
name: "Llama 3.3 70B Versatile (Free)",
|
|
484
|
-
id: "llama-3.3-70b-versatile",
|
|
485
|
-
contextLength: 131072,
|
|
486
|
-
free: true,
|
|
487
|
-
type: "text-generation",
|
|
488
|
-
rateLimit: "300K TPM / 1K RPM = ~432M tokens/day",
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
name: "Llama 3.1 8B Instant (Free)",
|
|
492
|
-
id: "llama-3.1-8b-instant",
|
|
493
|
-
contextLength: 8192,
|
|
494
|
-
free: true,
|
|
495
|
-
type: "text-generation",
|
|
496
|
-
rateLimit: "250K TPM / 1K RPM = ~360M tokens/day",
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
name: "Llama 4 Scout 17B (Free)",
|
|
500
|
-
id: "meta-llama/llama-4-scout-17b-16e-instruct",
|
|
501
|
-
contextLength: 131072,
|
|
502
|
-
free: true,
|
|
503
|
-
type: "text-generation",
|
|
504
|
-
rateLimit: "300K TPM / 1K RPM = ~432M tokens/day",
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
name: "Qwen 3 32B (Free)",
|
|
508
|
-
id: "qwen/qwen3-32b",
|
|
509
|
-
contextLength: 128000,
|
|
510
|
-
free: true,
|
|
511
|
-
type: "text-generation",
|
|
512
|
-
rateLimit: "300K TPM / 1K RPM = ~432M tokens/day",
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
name: "GPT-OSS 120B (Free)",
|
|
516
|
-
id: "openai/gpt-oss-120b",
|
|
517
|
-
contextLength: 32768,
|
|
518
|
-
free: true,
|
|
519
|
-
type: "text-generation",
|
|
520
|
-
rateLimit: "250K TPM / 1K RPM = ~360M tokens/day",
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
name: "GPT-OSS 20B (Free)",
|
|
524
|
-
id: "openai/gpt-oss-20b",
|
|
525
|
-
contextLength: 32768,
|
|
526
|
-
free: true,
|
|
527
|
-
type: "text-generation",
|
|
528
|
-
rateLimit: "250K TPM / 1K RPM = ~360M tokens/day",
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
name: "Groq Compound (Free)",
|
|
532
|
-
id: "groq/compound",
|
|
533
|
-
contextLength: 32768,
|
|
534
|
-
free: true,
|
|
535
|
-
type: "text-generation",
|
|
536
|
-
rateLimit: "200K TPM / 200 RPM = ~288M tokens/day",
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
name: "Groq Compound Mini (Free)",
|
|
540
|
-
id: "groq/compound-mini",
|
|
541
|
-
contextLength: 32768,
|
|
542
|
-
free: true,
|
|
543
|
-
type: "text-generation",
|
|
544
|
-
rateLimit: "200K TPM / 200 RPM = ~288M tokens/day",
|
|
545
|
-
},
|
|
546
|
-
{
|
|
547
|
-
name: "GPT-OSS Safeguard 20B (Free)",
|
|
548
|
-
id: "openai/gpt-oss-safeguard-20b",
|
|
549
|
-
contextLength: 32768,
|
|
550
|
-
free: true,
|
|
551
|
-
type: "text-generation",
|
|
552
|
-
rateLimit: "150K TPM / 1K RPM = ~216M tokens/day",
|
|
553
|
-
},
|
|
554
|
-
],
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
provider: "OpenAI",
|
|
558
|
-
docs: "https://platform.openai.com/docs/overview",
|
|
559
|
-
api_key: "https://platform.openai.com/api-keys",
|
|
560
|
-
default: "gpt-4o",
|
|
561
|
-
models: [
|
|
562
|
-
{
|
|
563
|
-
name: "GPT-4 Omni",
|
|
564
|
-
id: "gpt-4o",
|
|
565
|
-
contextLength: 128000,
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
name: "GPT-4 Omni Mini",
|
|
569
|
-
id: "gpt-4o-mini",
|
|
570
|
-
contextLength: 128000,
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
name: "GPT-4 Turbo",
|
|
574
|
-
id: "gpt-4-turbo",
|
|
575
|
-
contextLength: 128000,
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
name: "GPT-4",
|
|
579
|
-
id: "gpt-4",
|
|
580
|
-
contextLength: 8192,
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
name: "GPT-3.5 Turbo",
|
|
584
|
-
id: "gpt-3.5-turbo",
|
|
585
|
-
contextLength: 16385,
|
|
586
|
-
},
|
|
587
|
-
],
|
|
588
|
-
},
|
|
589
|
-
{
|
|
590
|
-
provider: "Anthropic",
|
|
591
|
-
docs: "https://docs.anthropic.com/en/docs/welcome",
|
|
592
|
-
api_key: "https://console.anthropic.com/settings/keys",
|
|
593
|
-
default: "claude-3-7-sonnet-20250219",
|
|
594
|
-
models: [
|
|
595
|
-
{
|
|
596
|
-
name: "Claude 3.7 Sonnet",
|
|
597
|
-
id: "claude-3-7-sonnet-20250219",
|
|
598
|
-
contextLength: 200000,
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
name: "Claude 3.5 Sonnet",
|
|
602
|
-
id: "claude-3-5-sonnet-20241022",
|
|
603
|
-
contextLength: 200000,
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
name: "Claude 3 Opus",
|
|
607
|
-
id: "claude-3-opus-20240229",
|
|
608
|
-
contextLength: 200000,
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
name: "Claude 3 Sonnet",
|
|
612
|
-
id: "claude-3-sonnet-20240229",
|
|
613
|
-
contextLength: 200000,
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
name: "Claude 3 Haiku",
|
|
617
|
-
id: "claude-3-haiku-20240307",
|
|
618
|
-
contextLength: 200000,
|
|
619
|
-
},
|
|
620
|
-
],
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
provider: "TogetherAI",
|
|
624
|
-
docs: "https://docs.together.ai/docs/quickstart",
|
|
625
|
-
api_key: "https://api.together.xyz/settings/api-keys",
|
|
626
|
-
default: "meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
|
|
627
|
-
models: [
|
|
628
|
-
{
|
|
629
|
-
name: "Llama 3.1 8B Instruct Turbo",
|
|
630
|
-
id: "meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
|
|
631
|
-
contextLength: 131072,
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
name: "Llama 3.1 70B Instruct Turbo",
|
|
635
|
-
id: "meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo",
|
|
636
|
-
contextLength: 131072,
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
name: "Llama 3.1 405B Instruct Turbo",
|
|
640
|
-
id: "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo",
|
|
641
|
-
contextLength: 130815,
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
name: "Llama 3 8B Instruct Turbo",
|
|
645
|
-
id: "meta-llama/Meta-Llama-3-8B-Instruct-Turbo",
|
|
646
|
-
contextLength: 8192,
|
|
647
|
-
},
|
|
648
|
-
{
|
|
649
|
-
name: "Llama 3 70B Instruct Turbo",
|
|
650
|
-
id: "meta-llama/Meta-Llama-3-70B-Instruct-Turbo",
|
|
651
|
-
contextLength: 8192,
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
name: "Llama 3.2 3B Instruct Turbo",
|
|
655
|
-
id: "meta-llama/Llama-3.2-3B-Instruct-Turbo",
|
|
656
|
-
contextLength: 131072,
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
name: "Llama 3 8B Instruct Lite",
|
|
660
|
-
id: "meta-llama/Meta-Llama-3-8B-Instruct-Lite",
|
|
661
|
-
contextLength: 8192,
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
name: "Llama 3 70B Instruct Lite",
|
|
665
|
-
id: "meta-llama/Meta-Llama-3-70B-Instruct-Lite",
|
|
666
|
-
contextLength: 8192,
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
name: "Llama 3 8B Instruct Reference",
|
|
670
|
-
id: "meta-llama/Llama-3-8b-chat-hf",
|
|
671
|
-
contextLength: 8192,
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
name: "Llama 3 70B Instruct Reference",
|
|
675
|
-
id: "meta-llama/Llama-3-70b-chat-hf",
|
|
676
|
-
contextLength: 8192,
|
|
677
|
-
},
|
|
678
|
-
{
|
|
679
|
-
name: "Llama 3.1 Nemotron 70B",
|
|
680
|
-
id: "nvidia/Llama-3.1-Nemotron-70B-Instruct-HF",
|
|
681
|
-
contextLength: 32768,
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
name: "Qwen 2.5 Coder 32B Instruct",
|
|
685
|
-
id: "Qwen/Qwen2.5-Coder-32B-Instruct",
|
|
686
|
-
contextLength: 32769,
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
name: "WizardLM-2 8x22B",
|
|
690
|
-
id: "microsoft/WizardLM-2-8x22B",
|
|
691
|
-
contextLength: 65536,
|
|
692
|
-
},
|
|
693
|
-
{
|
|
694
|
-
name: "Gemma 2 27B",
|
|
695
|
-
id: "google/gemma-2-27b-it",
|
|
696
|
-
contextLength: 8192,
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
name: "Gemma 2 9B",
|
|
700
|
-
id: "google/gemma-2-9b-it",
|
|
701
|
-
contextLength: 8192,
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
name: "DBRX Instruct",
|
|
705
|
-
id: "databricks/dbrx-instruct",
|
|
706
|
-
contextLength: 32768,
|
|
707
|
-
},
|
|
708
|
-
{
|
|
709
|
-
name: "DeepSeek LLM Chat (67B)",
|
|
710
|
-
id: "deepseek-ai/deepseek-llm-67b-chat",
|
|
711
|
-
contextLength: 4096,
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
name: "Gemma Instruct (2B)",
|
|
715
|
-
id: "google/gemma-2b-it",
|
|
716
|
-
contextLength: 8192,
|
|
717
|
-
},
|
|
718
|
-
{
|
|
719
|
-
name: "MythoMax-L2 (13B)",
|
|
720
|
-
id: "Gryphe/MythoMax-L2-13b",
|
|
721
|
-
contextLength: 4096,
|
|
722
|
-
},
|
|
723
|
-
{
|
|
724
|
-
name: "LLaMA-2 Chat (13B)",
|
|
725
|
-
id: "meta-llama/Llama-2-13b-chat-hf",
|
|
726
|
-
contextLength: 4096,
|
|
727
|
-
},
|
|
728
|
-
{
|
|
729
|
-
name: "Mistral (7B) Instruct",
|
|
730
|
-
id: "mistralai/Mistral-7B-Instruct-v0.1",
|
|
731
|
-
contextLength: 8192,
|
|
732
|
-
},
|
|
733
|
-
{
|
|
734
|
-
name: "Mistral (7B) Instruct v0.2",
|
|
735
|
-
id: "mistralai/Mistral-7B-Instruct-v0.2",
|
|
736
|
-
contextLength: 32768,
|
|
737
|
-
},
|
|
738
|
-
{
|
|
739
|
-
name: "Mistral (7B) Instruct v0.3",
|
|
740
|
-
id: "mistralai/Mistral-7B-Instruct-v0.3",
|
|
741
|
-
contextLength: 32768,
|
|
742
|
-
},
|
|
743
|
-
{
|
|
744
|
-
name: "Mixtral-8x7B Instruct (46.7B)",
|
|
745
|
-
id: "mistralai/Mixtral-8x7B-Instruct-v0.1",
|
|
746
|
-
contextLength: 32768,
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
name: "Mixtral-8x22B Instruct (141B)",
|
|
750
|
-
id: "mistralai/Mixtral-8x22B-Instruct-v0.1",
|
|
751
|
-
contextLength: 65536,
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
name: "Nous Hermes 2 - Mixtral 8x7B-DPO (46.7B)",
|
|
755
|
-
id: "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
|
|
756
|
-
contextLength: 32768,
|
|
757
|
-
},
|
|
758
|
-
{
|
|
759
|
-
name: "Qwen 2.5 7B Instruct Turbo",
|
|
760
|
-
id: "Qwen/Qwen2.5-7B-Instruct-Turbo",
|
|
761
|
-
contextLength: 32768,
|
|
762
|
-
},
|
|
763
|
-
{
|
|
764
|
-
name: "Qwen 2.5 72B Instruct Turbo",
|
|
765
|
-
id: "Qwen/Qwen2.5-72B-Instruct-Turbo",
|
|
766
|
-
contextLength: 32768,
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
name: "Qwen 2 Instruct (72B)",
|
|
770
|
-
id: "Qwen/Qwen2-72B-Instruct",
|
|
771
|
-
contextLength: 32768,
|
|
772
|
-
},
|
|
773
|
-
{
|
|
774
|
-
name: "StripedHyena Nous (7B)",
|
|
775
|
-
id: "togethercomputer/StripedHyena-Nous-7B",
|
|
776
|
-
contextLength: 32768,
|
|
777
|
-
},
|
|
778
|
-
{
|
|
779
|
-
name: "Upstage SOLAR Instruct v1 (11B)",
|
|
780
|
-
id: "upstage/SOLAR-10.7B-Instruct-v1.0",
|
|
781
|
-
contextLength: 4096,
|
|
782
|
-
},
|
|
783
|
-
{
|
|
784
|
-
name: "Llama 3.2 11B Vision Instruct Turbo (Free)",
|
|
785
|
-
id: "meta-llama/Llama-Vision-Free",
|
|
786
|
-
contextLength: 131072,
|
|
787
|
-
},
|
|
788
|
-
{
|
|
789
|
-
name: "Llama 3.2 11B Vision Instruct Turbo",
|
|
790
|
-
id: "meta-llama/Llama-3.2-11B-Vision-Instruct-Turbo",
|
|
791
|
-
contextLength: 131072,
|
|
792
|
-
},
|
|
793
|
-
{
|
|
794
|
-
name: "Llama 3.2 90B Vision Instruct Turbo",
|
|
795
|
-
id: "meta-llama/Llama-3.2-90B-Vision-Instruct-Turbo",
|
|
796
|
-
contextLength: 131072,
|
|
797
|
-
},
|
|
798
|
-
],
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
provider: "XAI",
|
|
802
|
-
docs: "https://docs.x.ai/docs#models",
|
|
803
|
-
api_key: "https://console.x.ai/",
|
|
804
|
-
default: "grok-beta",
|
|
805
|
-
models: [
|
|
806
|
-
{
|
|
807
|
-
name: "Grok",
|
|
808
|
-
id: "grok-beta",
|
|
809
|
-
contextLength: 131072,
|
|
810
|
-
},
|
|
811
|
-
{
|
|
812
|
-
name: "Grok Vision",
|
|
813
|
-
id: "grok-vision-beta",
|
|
814
|
-
contextLength: 8192,
|
|
815
|
-
},
|
|
816
|
-
],
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
provider: "Google",
|
|
820
|
-
docs: "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models",
|
|
821
|
-
api_key:
|
|
822
|
-
"https://cloud.google.com/vertex-ai/generative-ai/docs/start/express-mode/overview#api-keys",
|
|
823
|
-
models: [
|
|
824
|
-
{
|
|
825
|
-
name: "Gemini 2.5 Pro Preview",
|
|
826
|
-
id: "gemini-2.5-pro-preview-05-06",
|
|
827
|
-
contextLength: 1048576,
|
|
828
|
-
},
|
|
829
|
-
{
|
|
830
|
-
name: "Gemini 2.5 Flash Preview",
|
|
831
|
-
id: "gemini-2.5-flash-preview-04-17",
|
|
832
|
-
contextLength: 1048576,
|
|
833
|
-
},
|
|
834
|
-
{
|
|
835
|
-
name: "Gemini 2.0 Flash",
|
|
836
|
-
id: "gemini-2.0-flash-001",
|
|
837
|
-
contextLength: 1048576,
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
name: "Gemini 2.0 Flash-Lite",
|
|
841
|
-
id: "gemini-2.0-flash-lite-001",
|
|
842
|
-
contextLength: 1048576,
|
|
843
|
-
},
|
|
844
|
-
{
|
|
845
|
-
name: "Gemini 2.0 Flash-Live",
|
|
846
|
-
id: "gemini-2.0-flash-live-preview-04-09",
|
|
847
|
-
contextLength: 32768,
|
|
848
|
-
},
|
|
849
|
-
{
|
|
850
|
-
name: "Imagen 3",
|
|
851
|
-
id: "imagen-3.0-generate-002",
|
|
852
|
-
contextLength: 480,
|
|
853
|
-
},
|
|
854
|
-
{
|
|
855
|
-
name: "Imagen 3 Fast",
|
|
856
|
-
id: "imagen-3.0-fast-generate-001",
|
|
857
|
-
contextLength: 480,
|
|
858
|
-
},
|
|
859
|
-
{
|
|
860
|
-
name: "Llama 3.2 90B Vision Instruct Turbo",
|
|
861
|
-
id: "meta-llama/Llama-3.2-90B-Vision-Instruct-Turbo",
|
|
862
|
-
contextLength: 131072,
|
|
863
|
-
},
|
|
864
|
-
{
|
|
865
|
-
name: "Llama 3.3 70B",
|
|
866
|
-
id: "meta-llama/Llama-3.3-70B",
|
|
867
|
-
contextLength: 131072,
|
|
868
|
-
},
|
|
869
|
-
{
|
|
870
|
-
name: "Gemma 3",
|
|
871
|
-
id: "gemma-3",
|
|
872
|
-
contextLength: 131072,
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
name: "Gemma 2",
|
|
876
|
-
id: "gemma-2",
|
|
877
|
-
contextLength: 131072,
|
|
878
|
-
},
|
|
879
|
-
{
|
|
880
|
-
name: "Gemma",
|
|
881
|
-
id: "gemma",
|
|
882
|
-
contextLength: 131072,
|
|
883
|
-
},
|
|
884
|
-
],
|
|
885
|
-
},
|
|
886
|
-
{
|
|
887
|
-
provider: "Amazon",
|
|
888
|
-
docs: "https://docs.aws.amazon.com/bedrock/",
|
|
889
|
-
api_key: "https://console.aws.amazon.com/iam/home#/security_credentials",
|
|
890
|
-
default: "anthropic.claude-3-5-sonnet-20241022-v2:0",
|
|
891
|
-
models: [
|
|
892
|
-
{
|
|
893
|
-
name: "AI21 Jamba 1.5 Mini",
|
|
894
|
-
id: "ai21.jamba-1-5-mini-v1:0",
|
|
895
|
-
contextLength: 256000,
|
|
896
|
-
provider: "AI21 Labs",
|
|
897
|
-
},
|
|
898
|
-
{
|
|
899
|
-
name: "AI21 Jamba 1.5 Large",
|
|
900
|
-
id: "ai21.jamba-1-5-large-v1:0",
|
|
901
|
-
contextLength: 256000,
|
|
902
|
-
provider: "AI21 Labs",
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
name: "Amazon Nova Canvas",
|
|
906
|
-
id: "amazon.nova-canvas-v1:0",
|
|
907
|
-
contextLength: 77,
|
|
908
|
-
provider: "Amazon",
|
|
909
|
-
type: "image",
|
|
910
|
-
},
|
|
911
|
-
{
|
|
912
|
-
name: "Amazon Nova Lite",
|
|
913
|
-
id: "amazon.nova-lite-v1:0",
|
|
914
|
-
contextLength: 300000,
|
|
915
|
-
provider: "Amazon",
|
|
916
|
-
},
|
|
917
|
-
{
|
|
918
|
-
name: "Amazon Nova Micro",
|
|
919
|
-
id: "amazon.nova-micro-v1:0",
|
|
920
|
-
contextLength: 128000,
|
|
921
|
-
provider: "Amazon",
|
|
922
|
-
},
|
|
923
|
-
{
|
|
924
|
-
name: "Amazon Nova Pro",
|
|
925
|
-
id: "amazon.nova-pro-v1:0",
|
|
926
|
-
contextLength: 300000,
|
|
927
|
-
provider: "Amazon",
|
|
928
|
-
},
|
|
929
|
-
{
|
|
930
|
-
name: "Amazon Nova Reel",
|
|
931
|
-
id: "amazon.nova-reel-v1:0",
|
|
932
|
-
contextLength: 10000,
|
|
933
|
-
provider: "Amazon",
|
|
934
|
-
type: "video",
|
|
935
|
-
},
|
|
936
|
-
{
|
|
937
|
-
name: "Amazon Nova Reel V2 Lite",
|
|
938
|
-
id: "amazon.nova-reel-v2-lite-v1:0",
|
|
939
|
-
contextLength: 10000,
|
|
940
|
-
provider: "Amazon",
|
|
941
|
-
type: "video",
|
|
942
|
-
},
|
|
943
|
-
{
|
|
944
|
-
name: "Amazon Nova Reel V2 Standard",
|
|
945
|
-
id: "amazon.nova-reel-v2-standard-v1:0",
|
|
946
|
-
contextLength: 10000,
|
|
947
|
-
provider: "Amazon",
|
|
948
|
-
type: "video",
|
|
949
|
-
},
|
|
950
|
-
{
|
|
951
|
-
name: "Amazon Rerank",
|
|
952
|
-
id: "amazon.rerank-v1:0",
|
|
953
|
-
contextLength: 8192,
|
|
954
|
-
provider: "Amazon",
|
|
955
|
-
type: "reranker",
|
|
956
|
-
},
|
|
957
|
-
{
|
|
958
|
-
name: "Amazon Titan Embeddings G1 - Text",
|
|
959
|
-
id: "amazon.titan-embed-text-v1",
|
|
960
|
-
contextLength: 8192,
|
|
961
|
-
provider: "Amazon",
|
|
962
|
-
type: "embedding",
|
|
963
|
-
},
|
|
964
|
-
{
|
|
965
|
-
name: "Amazon Titan Embeddings G1 - Text v2",
|
|
966
|
-
id: "amazon.titan-embed-text-v2:0",
|
|
967
|
-
contextLength: 8192,
|
|
968
|
-
provider: "Amazon",
|
|
969
|
-
type: "embedding",
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
name: "Amazon Titan Image Generator G1",
|
|
973
|
-
id: "amazon.titan-image-generator-v1",
|
|
974
|
-
contextLength: 128,
|
|
975
|
-
provider: "Amazon",
|
|
976
|
-
type: "image",
|
|
977
|
-
},
|
|
978
|
-
{
|
|
979
|
-
name: "Amazon Titan Image Generator G2",
|
|
980
|
-
id: "amazon.titan-image-generator-v2:0",
|
|
981
|
-
contextLength: 128,
|
|
982
|
-
provider: "Amazon",
|
|
983
|
-
type: "image",
|
|
984
|
-
},
|
|
985
|
-
{
|
|
986
|
-
name: "Amazon Titan Multimodal Embeddings G1",
|
|
987
|
-
id: "amazon.titan-embed-image-v1",
|
|
988
|
-
contextLength: 8192,
|
|
989
|
-
provider: "Amazon",
|
|
990
|
-
type: "embedding",
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
name: "Amazon Titan Text G1 - Express",
|
|
994
|
-
id: "amazon.titan-text-express-v1",
|
|
995
|
-
contextLength: 8192,
|
|
996
|
-
provider: "Amazon",
|
|
997
|
-
},
|
|
998
|
-
{
|
|
999
|
-
name: "Amazon Titan Text G1 - Lite",
|
|
1000
|
-
id: "amazon.titan-text-lite-v1",
|
|
1001
|
-
contextLength: 4096,
|
|
1002
|
-
provider: "Amazon",
|
|
1003
|
-
},
|
|
1004
|
-
{
|
|
1005
|
-
name: "Amazon Titan Text G1 - Premier",
|
|
1006
|
-
id: "amazon.titan-text-premier-v1:0",
|
|
1007
|
-
contextLength: 32000,
|
|
1008
|
-
provider: "Amazon",
|
|
1009
|
-
},
|
|
1010
|
-
{
|
|
1011
|
-
name: "Claude 3.5 Sonnet v2",
|
|
1012
|
-
id: "anthropic.claude-3-5-sonnet-20241022-v2:0",
|
|
1013
|
-
contextLength: 200000,
|
|
1014
|
-
provider: "Anthropic",
|
|
1015
|
-
},
|
|
1016
|
-
{
|
|
1017
|
-
name: "Claude 3.5 Sonnet v1",
|
|
1018
|
-
id: "anthropic.claude-3-5-sonnet-20240620-v1:0",
|
|
1019
|
-
contextLength: 200000,
|
|
1020
|
-
provider: "Anthropic",
|
|
1021
|
-
},
|
|
1022
|
-
{
|
|
1023
|
-
name: "Claude 3.5 Haiku",
|
|
1024
|
-
id: "anthropic.claude-3-5-haiku-20241022-v1:0",
|
|
1025
|
-
contextLength: 200000,
|
|
1026
|
-
provider: "Anthropic",
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
name: "Claude 3 Opus",
|
|
1030
|
-
id: "anthropic.claude-3-opus-20240229-v1:0",
|
|
1031
|
-
contextLength: 200000,
|
|
1032
|
-
provider: "Anthropic",
|
|
1033
|
-
},
|
|
1034
|
-
{
|
|
1035
|
-
name: "Claude 3 Sonnet",
|
|
1036
|
-
id: "anthropic.claude-3-sonnet-20240229-v1:0",
|
|
1037
|
-
contextLength: 200000,
|
|
1038
|
-
provider: "Anthropic",
|
|
1039
|
-
},
|
|
1040
|
-
{
|
|
1041
|
-
name: "Claude 3 Haiku",
|
|
1042
|
-
id: "anthropic.claude-3-haiku-20240307-v1:0",
|
|
1043
|
-
contextLength: 200000,
|
|
1044
|
-
provider: "Anthropic",
|
|
1045
|
-
},
|
|
1046
|
-
{
|
|
1047
|
-
name: "Claude Instant",
|
|
1048
|
-
id: "anthropic.claude-instant-v1",
|
|
1049
|
-
contextLength: 100000,
|
|
1050
|
-
provider: "Anthropic",
|
|
1051
|
-
},
|
|
1052
|
-
{
|
|
1053
|
-
name: "Cohere Command",
|
|
1054
|
-
id: "cohere.command-text-v14",
|
|
1055
|
-
contextLength: 4096,
|
|
1056
|
-
provider: "Cohere",
|
|
1057
|
-
},
|
|
1058
|
-
{
|
|
1059
|
-
name: "Cohere Command Light",
|
|
1060
|
-
id: "cohere.command-light-text-v14",
|
|
1061
|
-
contextLength: 4096,
|
|
1062
|
-
provider: "Cohere",
|
|
1063
|
-
},
|
|
1064
|
-
{
|
|
1065
|
-
name: "Cohere Command R",
|
|
1066
|
-
id: "cohere.command-r-v1:0",
|
|
1067
|
-
contextLength: 128000,
|
|
1068
|
-
provider: "Cohere",
|
|
1069
|
-
},
|
|
1070
|
-
{
|
|
1071
|
-
name: "Cohere Command R+",
|
|
1072
|
-
id: "cohere.command-r-plus-v1:0",
|
|
1073
|
-
contextLength: 128000,
|
|
1074
|
-
provider: "Cohere",
|
|
1075
|
-
},
|
|
1076
|
-
{
|
|
1077
|
-
name: "Cohere Embed English",
|
|
1078
|
-
id: "cohere.embed-english-v3",
|
|
1079
|
-
contextLength: 512,
|
|
1080
|
-
provider: "Cohere",
|
|
1081
|
-
type: "embedding",
|
|
1082
|
-
},
|
|
1083
|
-
{
|
|
1084
|
-
name: "Cohere Embed Multilingual",
|
|
1085
|
-
id: "cohere.embed-multilingual-v3",
|
|
1086
|
-
contextLength: 512,
|
|
1087
|
-
provider: "Cohere",
|
|
1088
|
-
type: "embedding",
|
|
1089
|
-
},
|
|
1090
|
-
{
|
|
1091
|
-
name: "Cohere Rerank English",
|
|
1092
|
-
id: "cohere.rerank-english-v3:0",
|
|
1093
|
-
contextLength: 4096,
|
|
1094
|
-
provider: "Cohere",
|
|
1095
|
-
type: "reranker",
|
|
1096
|
-
},
|
|
1097
|
-
{
|
|
1098
|
-
name: "Cohere Rerank Multilingual",
|
|
1099
|
-
id: "cohere.rerank-multilingual-v3:0",
|
|
1100
|
-
contextLength: 4096,
|
|
1101
|
-
provider: "Cohere",
|
|
1102
|
-
type: "reranker",
|
|
1103
|
-
},
|
|
1104
|
-
{
|
|
1105
|
-
name: "DeepSeek R1",
|
|
1106
|
-
id: "deepseek.deepseek-r1-distill-qwen-32b-v1:0",
|
|
1107
|
-
contextLength: 32768,
|
|
1108
|
-
provider: "DeepSeek",
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
name: "Luma Dream Machine",
|
|
1112
|
-
id: "luma.dream-machine-v1:0",
|
|
1113
|
-
contextLength: 512,
|
|
1114
|
-
provider: "Luma AI",
|
|
1115
|
-
type: "video",
|
|
1116
|
-
},
|
|
1117
|
-
|
|
1118
|
-
{
|
|
1119
|
-
name: "Llama 3.2 11B Vision Instruct",
|
|
1120
|
-
id: "meta.llama3-2-11b-instruct-v1:0",
|
|
1121
|
-
contextLength: 128000,
|
|
1122
|
-
provider: "Meta",
|
|
1123
|
-
},
|
|
1124
|
-
{
|
|
1125
|
-
name: "Llama 3.2 90B Vision Instruct",
|
|
1126
|
-
id: "meta.llama3-2-90b-instruct-v1:0",
|
|
1127
|
-
contextLength: 128000,
|
|
1128
|
-
provider: "Meta",
|
|
1129
|
-
},
|
|
1130
|
-
{
|
|
1131
|
-
name: "Mistral 7B Instruct",
|
|
1132
|
-
id: "mistral.mistral-7b-instruct-v0:2",
|
|
1133
|
-
contextLength: 32768,
|
|
1134
|
-
provider: "Mistral AI",
|
|
1135
|
-
},
|
|
1136
|
-
{
|
|
1137
|
-
name: "Mixtral 8x7B Instruct",
|
|
1138
|
-
id: "mistral.mixtral-8x7b-instruct-v0:1",
|
|
1139
|
-
contextLength: 32768,
|
|
1140
|
-
provider: "Mistral AI",
|
|
1141
|
-
},
|
|
1142
|
-
{
|
|
1143
|
-
name: "Mistral Small",
|
|
1144
|
-
id: "mistral.mistral-small-2402-v1:0",
|
|
1145
|
-
contextLength: 32768,
|
|
1146
|
-
provider: "Mistral AI",
|
|
1147
|
-
},
|
|
1148
|
-
{
|
|
1149
|
-
name: "Mistral Large",
|
|
1150
|
-
id: "mistral.mistral-large-2402-v1:0",
|
|
1151
|
-
contextLength: 32768,
|
|
1152
|
-
provider: "Mistral AI",
|
|
1153
|
-
},
|
|
1154
|
-
{
|
|
1155
|
-
name: "Mistral Large 2",
|
|
1156
|
-
id: "mistral.mistral-large-2407-v1:0",
|
|
1157
|
-
contextLength: 128000,
|
|
1158
|
-
provider: "Mistral AI",
|
|
1159
|
-
},
|
|
1160
|
-
{
|
|
1161
|
-
name: "Mistral Large 2411",
|
|
1162
|
-
id: "mistral.mistral-large-2411-v1:0",
|
|
1163
|
-
contextLength: 128000,
|
|
1164
|
-
provider: "Mistral AI",
|
|
1165
|
-
},
|
|
1166
|
-
{
|
|
1167
|
-
name: "Stable Diffusion XL",
|
|
1168
|
-
id: "stability.stable-diffusion-xl-v1",
|
|
1169
|
-
contextLength: 77,
|
|
1170
|
-
provider: "Stability AI",
|
|
1171
|
-
type: "image",
|
|
1172
|
-
},
|
|
1173
|
-
{
|
|
1174
|
-
name: "SDXL 1.0",
|
|
1175
|
-
id: "stability.stable-diffusion-xl-v0",
|
|
1176
|
-
contextLength: 77,
|
|
1177
|
-
provider: "Stability AI",
|
|
1178
|
-
type: "image",
|
|
1179
|
-
},
|
|
1180
|
-
{
|
|
1181
|
-
name: "Stable Image Ultra",
|
|
1182
|
-
id: "stability.stable-image-ultra-v1:0",
|
|
1183
|
-
contextLength: 77,
|
|
1184
|
-
provider: "Stability AI",
|
|
1185
|
-
type: "image",
|
|
1186
|
-
},
|
|
1187
|
-
{
|
|
1188
|
-
name: "Stable Image Core",
|
|
1189
|
-
id: "stability.stable-image-core-v1:0",
|
|
1190
|
-
contextLength: 77,
|
|
1191
|
-
provider: "Stability AI",
|
|
1192
|
-
type: "image",
|
|
1193
|
-
},
|
|
1194
|
-
],
|
|
1195
|
-
},
|
|
1196
|
-
{
|
|
1197
|
-
"provider": "OpenRouter",
|
|
1198
|
-
"docs": "https://openrouter.ai/docs",
|
|
1199
|
-
"api_key": "https://openrouter.ai/settings/keys",
|
|
1200
|
-
"default": "openrouter/free",
|
|
1201
|
-
"models": [
|
|
1202
|
-
{
|
|
1203
|
-
"name": "OpenRouter Free (rotating)",
|
|
1204
|
-
"id": "openrouter/free",
|
|
1205
|
-
"contextLength": 200_000,
|
|
1206
|
-
"free": true,
|
|
1207
|
-
"type": "text
|
|
1208
|
-
},
|
|
1209
|
-
{
|
|
1210
|
-
"name": "Nemotron 3 Super 120B",
|
|
1211
|
-
"id": "nvidia/nemotron-3-super-120b-a12b:free",
|
|
1212
|
-
"contextLength": 1_000_000,
|
|
1213
|
-
"free": true,
|
|
1214
|
-
"type": "text
|
|
1215
|
-
},
|
|
1216
|
-
{
|
|
1217
|
-
"name": "Nemotron 3 Ultra 550B",
|
|
1218
|
-
"id": "nvidia/nemotron-3-ultra-550b-a55b:free",
|
|
1219
|
-
"contextLength": 1_000_000,
|
|
1220
|
-
"free": true,
|
|
1221
|
-
"type": "text
|
|
1222
|
-
},
|
|
1223
|
-
{
|
|
1224
|
-
"name": "Nemotron 3 Nano 30B A3B",
|
|
1225
|
-
"id": "nvidia/nemotron-3-nano-30b-a3b:free",
|
|
1226
|
-
"contextLength": 256_000,
|
|
1227
|
-
"free": true,
|
|
1228
|
-
"type": "text
|
|
1229
|
-
},
|
|
1230
|
-
{
|
|
1231
|
-
"name": "Nemotron 3 Nano Omni 30B A3B Reasoning",
|
|
1232
|
-
"id": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free",
|
|
1233
|
-
"contextLength": 256_000,
|
|
1234
|
-
"free": true,
|
|
1235
|
-
"type": "text
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
"name": "Nemotron Nano 12B v2 VL",
|
|
1239
|
-
"id": "nvidia/nemotron-nano-12b-v2-vl:free",
|
|
1240
|
-
"contextLength": 128_000,
|
|
1241
|
-
"free": true,
|
|
1242
|
-
"type": "text
|
|
1243
|
-
},
|
|
1244
|
-
{
|
|
1245
|
-
"name": "Nemotron Nano 9B v2",
|
|
1246
|
-
"id": "nvidia/nemotron-nano-9b-v2:free",
|
|
1247
|
-
"contextLength": 128_000,
|
|
1248
|
-
"free": true,
|
|
1249
|
-
"type": "text
|
|
1250
|
-
},
|
|
1251
|
-
{
|
|
1252
|
-
"name": "Nemotron 3.5 Content Safety",
|
|
1253
|
-
"id": "nvidia/nemotron-3.5-content-safety:free",
|
|
1254
|
-
"contextLength": 128_000,
|
|
1255
|
-
"free": true,
|
|
1256
|
-
"type": "text
|
|
1257
|
-
},
|
|
1258
|
-
{
|
|
1259
|
-
"name": "Gemma 4 31B IT",
|
|
1260
|
-
"id": "google/gemma-4-31b-it:free",
|
|
1261
|
-
"contextLength": 262_000,
|
|
1262
|
-
"free": true,
|
|
1263
|
-
"type": "text
|
|
1264
|
-
},
|
|
1265
|
-
{
|
|
1266
|
-
"name": "Gemma 4 26B A4B IT",
|
|
1267
|
-
"id": "google/gemma-4-26b-a4b-it:free",
|
|
1268
|
-
"contextLength": 262_000,
|
|
1269
|
-
"free": true,
|
|
1270
|
-
"type": "text
|
|
1271
|
-
},
|
|
1272
|
-
{
|
|
1273
|
-
"name": "GPT-OSS 120B",
|
|
1274
|
-
"id": "openai/gpt-oss-120b:free",
|
|
1275
|
-
"contextLength": 131_072,
|
|
1276
|
-
"free": true,
|
|
1277
|
-
"type": "text
|
|
1278
|
-
},
|
|
1279
|
-
{
|
|
1280
|
-
"name": "GPT-OSS 20B",
|
|
1281
|
-
"id": "openai/gpt-oss-20b:free",
|
|
1282
|
-
"contextLength": 131_072,
|
|
1283
|
-
"free": true,
|
|
1284
|
-
"type": "text
|
|
1285
|
-
},
|
|
1286
|
-
{
|
|
1287
|
-
"name": "Qwen3 Coder",
|
|
1288
|
-
"id": "qwen/qwen3-coder:free",
|
|
1289
|
-
"contextLength": 1_000_000,
|
|
1290
|
-
"free": true,
|
|
1291
|
-
"type": "text
|
|
1292
|
-
},
|
|
1293
|
-
{
|
|
1294
|
-
"name": "Qwen3 Next 80B A3B Instruct",
|
|
1295
|
-
"id": "qwen/qwen3-next-80b-a3b-instruct:free",
|
|
1296
|
-
"contextLength": 262_000,
|
|
1297
|
-
"free": true,
|
|
1298
|
-
"type": "text
|
|
1299
|
-
},
|
|
1300
|
-
{
|
|
1301
|
-
"name": "Llama 3.3 70B Instruct",
|
|
1302
|
-
"id": "meta-llama/llama-3.3-70b-instruct:free",
|
|
1303
|
-
"contextLength": 131_072,
|
|
1304
|
-
"free": true,
|
|
1305
|
-
"type": "text
|
|
1306
|
-
},
|
|
1307
|
-
{
|
|
1308
|
-
"name": "Llama 3.2 3B Instruct",
|
|
1309
|
-
"id": "meta-llama/llama-3.2-3b-instruct:free",
|
|
1310
|
-
"contextLength": 131_072,
|
|
1311
|
-
"free": true,
|
|
1312
|
-
"type": "text
|
|
1313
|
-
},
|
|
1314
|
-
{
|
|
1315
|
-
"name": "Hermes 3 Llama 3.1 405B",
|
|
1316
|
-
"id": "nousresearch/hermes-3-llama-3.1-405b:free",
|
|
1317
|
-
"contextLength": 131_072,
|
|
1318
|
-
"free": true,
|
|
1319
|
-
"type": "text
|
|
1320
|
-
},
|
|
1321
|
-
{
|
|
1322
|
-
"name": "Laguna XS 2.1",
|
|
1323
|
-
"id": "poolside/laguna-xs-2.1:free",
|
|
1324
|
-
"contextLength": 262_000,
|
|
1325
|
-
"free": true,
|
|
1326
|
-
"type": "text
|
|
1327
|
-
},
|
|
1328
|
-
{
|
|
1329
|
-
"name": "Laguna XS 2",
|
|
1330
|
-
"id": "poolside/laguna-xs.2:free",
|
|
1331
|
-
"contextLength": 262_000,
|
|
1332
|
-
"free": true,
|
|
1333
|
-
"type": "text
|
|
1334
|
-
},
|
|
1335
|
-
{
|
|
1336
|
-
"name": "Laguna M 1",
|
|
1337
|
-
"id": "poolside/laguna-m.1:free",
|
|
1338
|
-
"contextLength": 262_000,
|
|
1339
|
-
"free": true,
|
|
1340
|
-
"type": "text
|
|
1341
|
-
},
|
|
1342
|
-
{
|
|
1343
|
-
"name": "North Mini Code",
|
|
1344
|
-
"id": "cohere/north-mini-code:free",
|
|
1345
|
-
"contextLength": 256_000,
|
|
1346
|
-
"free": true,
|
|
1347
|
-
"type": "text
|
|
1348
|
-
},
|
|
1349
|
-
{
|
|
1350
|
-
"name": "Dolphin Mistral 24B Venice Edition",
|
|
1351
|
-
"id": "cognitivecomputations/dolphin-mistral-24b-venice-edition:free",
|
|
1352
|
-
"contextLength": 33_000,
|
|
1353
|
-
"free": true,
|
|
1354
|
-
"type": "text
|
|
1355
|
-
},
|
|
1356
|
-
{
|
|
1357
|
-
"name": "LFM 2.5 1.2B Thinking",
|
|
1358
|
-
"id": "liquid/lfm-2.5-1.2b-thinking:free",
|
|
1359
|
-
"contextLength": 33_000,
|
|
1360
|
-
"free": true,
|
|
1361
|
-
"type": "text
|
|
1362
|
-
},
|
|
1363
|
-
{
|
|
1364
|
-
"name": "LFM 2.5 1.2B Instruct",
|
|
1365
|
-
"id": "liquid/lfm-2.5-1.2b-instruct:free",
|
|
1366
|
-
"contextLength": 33_000,
|
|
1367
|
-
"free": true,
|
|
1368
|
-
"type": "text
|
|
1369
|
-
},
|
|
1370
|
-
{
|
|
1371
|
-
"name": "OpenRouter Free (rotating)",
|
|
1372
|
-
"id": "openrouter/free",
|
|
1373
|
-
"contextLength": 200_000,
|
|
1374
|
-
"free": true,
|
|
1375
|
-
"type": "text
|
|
1376
|
-
}
|
|
1377
|
-
]
|
|
1378
|
-
}
|
|
1379
|
-
];
|
|
1380
|
-
|
|
1381
|
-
/** List of available LLM provider services */
|
|
1382
|
-
export const LANGUAGE_PROVIDERS = LANGUAGE_MODELS.map((p) =>
|
|
1383
|
-
p.provider.toLocaleLowerCase(),
|
|
1384
|
-
);
|
|
1385
|
-
|
|
1386
|
-
/**
|
|
1387
|
-
* Guest-safe models that are known to work reliably.
|
|
1388
|
-
* Based on test results: only models with HTTP 200 status.
|
|
1389
|
-
*/
|
|
1390
|
-
export const GUEST_SAFE_MODELS = {
|
|
1391
|
-
openrouter: [
|
|
1392
|
-
"openrouter/free",
|
|
1393
|
-
"nvidia/nemotron-3-super-120b-a12b:free",
|
|
1394
|
-
"nvidia/nemotron-3-ultra-550b-a55b:free",
|
|
1395
|
-
"nvidia/nemotron-3-nano-30b-a3b:free",
|
|
1396
|
-
"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free",
|
|
1397
|
-
"nvidia/nemotron-nano-9b-v2:free",
|
|
1398
|
-
"nvidia/nemotron-3.5-content-safety:free",
|
|
1399
|
-
"google/gemma-4-31b-it:free",
|
|
1400
|
-
"google/gemma-4-26b-a4b-it:free",
|
|
1401
|
-
"openai/gpt-oss-20b:free",
|
|
1402
|
-
"poolside/laguna-xs-2.1:free",
|
|
1403
|
-
"poolside/laguna-m.1:free",
|
|
1404
|
-
"cohere/north-mini-code:free",
|
|
1405
|
-
],
|
|
1406
|
-
nvidia: [
|
|
1407
|
-
"nvidia/nemotron-3-super-120b-a12b",
|
|
1408
|
-
"meta/llama-3.1-8b-instruct",
|
|
1409
|
-
],
|
|
1410
|
-
};
|
|
1411
|
-
|
|
1412
|
-
/**
|
|
1413
|
-
* Filter models to only those in the guest-safe list.
|
|
1414
|
-
* Returns models with `free: true` property.
|
|
1415
|
-
*/
|
|
1416
|
-
export function filterModelsForGuests(models: any[]): any[] {
|
|
1417
|
-
return models.filter((m) => m.free === true);
|
|
1418
|
-
}
|
|
1419
|
-
|
|
1420
|
-
/**
|
|
1421
|
-
* Get guest-safe provider list (only tested working models).
|
|
1422
|
-
* Uses GUEST_SAFE_MODELS whitelist to ensure reliability.
|
|
1423
|
-
*/
|
|
1424
|
-
export function getGuestSafeProviders(): typeof LANGUAGE_MODELS {
|
|
1425
|
-
return LANGUAGE_MODELS.map((provider) => ({
|
|
1426
|
-
...provider,
|
|
1427
|
-
models: provider.models.filter(
|
|
1428
|
-
(model: any) =>
|
|
1429
|
-
GUEST_SAFE_MODELS[provider.provider.toLowerCase() as keyof typeof GUEST_SAFE_MODELS]?.includes(
|
|
1430
|
-
model.id,
|
|
1431
|
-
) || false,
|
|
1432
|
-
),
|
|
1433
|
-
})).filter((p) => p.models.length > 0);
|
|
1434
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* List of default models for the chat providers and a list of models
|
|
3
|
+
* @property {string} provider - The provider name
|
|
4
|
+
* @property {string} docs - The documentation URL for the model
|
|
5
|
+
* @property {string} api_key - The API key url for the model
|
|
6
|
+
* @property {string} default - The default model for the chat provider
|
|
7
|
+
* @property {Object[]} models - The list of models available for the chat provider
|
|
8
|
+
* @category Generate
|
|
9
|
+
*/
|
|
10
|
+
export const LANGUAGE_MODELS = [
|
|
11
|
+
{
|
|
12
|
+
"provider": "NVIDIA",
|
|
13
|
+
"docs": "https://docs.api.nvidia.com/nim/reference/llm-apis",
|
|
14
|
+
"api_key": "https://build.nvidia.com/settings/api-keys",
|
|
15
|
+
"default": "nvidia/llama-3.1-nemotron-70b-instruct",
|
|
16
|
+
"models": [
|
|
17
|
+
{
|
|
18
|
+
"name": "Llama 3.1 Nemotron 70B Instruct",
|
|
19
|
+
"id": "nvidia/llama-3.1-nemotron-70b-instruct",
|
|
20
|
+
"contextLength": 131_072,
|
|
21
|
+
"free": true,
|
|
22
|
+
"type": "text"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "Nemotron 3 Super 120B",
|
|
26
|
+
"id": "nvidia/nemotron-3-super-120b-a12b",
|
|
27
|
+
"contextLength": 1_000_000,
|
|
28
|
+
"free": true,
|
|
29
|
+
"type": "text"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "Nemotron-4 340B",
|
|
33
|
+
"id": "nvidia/nemotron-4-340b",
|
|
34
|
+
"contextLength": 131_072,
|
|
35
|
+
"free": false,
|
|
36
|
+
"type": "text"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "Llama 3.3 70B Instruct",
|
|
40
|
+
"id": "meta/llama-3.3-70b-instruct",
|
|
41
|
+
"contextLength": 131_072,
|
|
42
|
+
"free": true,
|
|
43
|
+
"type": "text"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "Llama 3.1 405B Instruct",
|
|
47
|
+
"id": "meta/llama-3.1-405b-instruct",
|
|
48
|
+
"contextLength": 131_072,
|
|
49
|
+
"free": false,
|
|
50
|
+
"type": "text"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "Llama 3.1 8B Instruct",
|
|
54
|
+
"id": "meta/llama-3.1-8b-instruct",
|
|
55
|
+
"contextLength": 131_072,
|
|
56
|
+
"free": true,
|
|
57
|
+
"type": "text"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "Gemma 4 31B IT",
|
|
61
|
+
"id": "google/gemma-4-31b-it",
|
|
62
|
+
"contextLength": 131_072,
|
|
63
|
+
"free": true,
|
|
64
|
+
"type": "text"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "Mistral Large 2",
|
|
68
|
+
"id": "mistralai/mistral-large-2",
|
|
69
|
+
"contextLength": 131_072,
|
|
70
|
+
"free": false,
|
|
71
|
+
"type": "text"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
provider: "Cloudflare",
|
|
77
|
+
docs: "https://developers.cloudflare.com/workers-ai/",
|
|
78
|
+
api_key: "https://dash.cloudflare.com/profile/api-tokens",
|
|
79
|
+
default: "llama-4-scout-17b-16e-instruct",
|
|
80
|
+
models: [
|
|
81
|
+
{
|
|
82
|
+
name: "Llama 4 Scout 17B 16E Instruct",
|
|
83
|
+
id: "llama-4-scout-17b-16e-instruct",
|
|
84
|
+
contextLength: 128000,
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: "Llama 3.3 70B Instruct FP8 Fast",
|
|
88
|
+
id: "llama-3.3-70b-instruct-fp8-fast",
|
|
89
|
+
contextLength: 128000,
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: "Llama 3.1 8B Instruct Fast",
|
|
93
|
+
id: "llama-3.1-8b-instruct-fast",
|
|
94
|
+
contextLength: 128000,
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: "Gemma 3 12B IT",
|
|
98
|
+
id: "gemma-3-12b-it",
|
|
99
|
+
contextLength: 128000,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: "Mistral Small 3.1 24B Instruct",
|
|
103
|
+
id: "mistral-small-3.1-24b-instruct",
|
|
104
|
+
contextLength: 128000,
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: "QwQ 32B",
|
|
108
|
+
id: "qwq-32b",
|
|
109
|
+
contextLength: 32768,
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: "Qwen2.5 Coder 32B Instruct",
|
|
113
|
+
id: "qwen2.5-coder-32b-instruct",
|
|
114
|
+
contextLength: 32768,
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
name: "Llama Guard 3 8B",
|
|
118
|
+
id: "llama-guard-3-8b",
|
|
119
|
+
contextLength: 8192,
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
name: "DeepSeek R1 Distill Qwen 32B",
|
|
123
|
+
id: "deepseek-r1-distill-qwen-32b",
|
|
124
|
+
contextLength: 32768,
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
name: "Llama 3.2 1B Instruct",
|
|
128
|
+
id: "llama-3.2-1b-instruct",
|
|
129
|
+
contextLength: 131072,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
name: "Llama 3.2 3B Instruct",
|
|
133
|
+
id: "llama-3.2-3b-instruct",
|
|
134
|
+
contextLength: 131072,
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: "Llama 3.2 11B Vision Instruct",
|
|
138
|
+
id: "llama-3.2-11b-vision-instruct",
|
|
139
|
+
contextLength: 131072,
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: "Llama 3.1 8B Instruct AWQ",
|
|
143
|
+
id: "llama-3.1-8b-instruct-awq",
|
|
144
|
+
contextLength: 128000,
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
name: "Llama 3.1 8B Instruct FP8",
|
|
148
|
+
id: "llama-3.1-8b-instruct-fp8",
|
|
149
|
+
contextLength: 128000,
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: "MeloTTS",
|
|
153
|
+
id: "melotts",
|
|
154
|
+
contextLength: 1024,
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
name: "Llama 3.1 8B Instruct",
|
|
158
|
+
id: "llama-3.1-8b-instruct",
|
|
159
|
+
contextLength: 128000,
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: "Meta Llama 3 8B Instruct",
|
|
163
|
+
id: "meta-llama-3-8b-instruct",
|
|
164
|
+
contextLength: 8192,
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
name: "Whisper Large V3 Turbo",
|
|
168
|
+
id: "whisper-large-v3-turbo",
|
|
169
|
+
contextLength: 448000,
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
name: "Llama 3 8B Instruct AWQ",
|
|
173
|
+
id: "llama-3-8b-instruct-awq",
|
|
174
|
+
contextLength: 8192,
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
name: "LLaVA 1.5 7B HF",
|
|
178
|
+
id: "llava-1.5-7b-hf",
|
|
179
|
+
contextLength: 4096,
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: "Una Cybertron 7B V2 BF16",
|
|
183
|
+
id: "una-cybertron-7b-v2-bf16",
|
|
184
|
+
contextLength: 32768,
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
name: "Whisper Tiny EN",
|
|
188
|
+
id: "whisper-tiny-en",
|
|
189
|
+
contextLength: 448000,
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
name: "Llama 3 8B Instruct",
|
|
193
|
+
id: "llama-3-8b-instruct",
|
|
194
|
+
contextLength: 8192,
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: "Mistral 7B Instruct v0.2",
|
|
198
|
+
id: "mistral-7b-instruct-v0.2",
|
|
199
|
+
contextLength: 32768,
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
name: "Gemma 7B IT LoRA",
|
|
203
|
+
id: "gemma-7b-it-lora",
|
|
204
|
+
contextLength: 8192,
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
name: "Gemma 2B IT LoRA",
|
|
208
|
+
id: "gemma-2b-it-lora",
|
|
209
|
+
contextLength: 8192,
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
name: "Llama 2 7B Chat HF LoRA",
|
|
213
|
+
id: "llama-2-7b-chat-hf-lora",
|
|
214
|
+
contextLength: 4096,
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
name: "Gemma 7B IT",
|
|
218
|
+
id: "gemma-7b-it",
|
|
219
|
+
contextLength: 8192,
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
name: "Starling LM 7B Beta",
|
|
223
|
+
id: "starling-lm-7b-beta",
|
|
224
|
+
contextLength: 8192,
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
name: "Hermes 2 Pro Mistral 7B",
|
|
228
|
+
id: "hermes-2-pro-mistral-7b",
|
|
229
|
+
contextLength: 32768,
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
name: "Mistral 7B Instruct v0.2 LoRA",
|
|
233
|
+
id: "mistral-7b-instruct-v0.2-lora",
|
|
234
|
+
contextLength: 32768,
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
name: "Qwen1.5 1.8B Chat",
|
|
238
|
+
id: "qwen1.5-1.8b-chat",
|
|
239
|
+
contextLength: 32768,
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
name: "UForm Gen2 Qwen 500M",
|
|
243
|
+
id: "uform-gen2-qwen-500m",
|
|
244
|
+
contextLength: 2048,
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
name: "BART Large CNN",
|
|
248
|
+
id: "bart-large-cnn",
|
|
249
|
+
contextLength: 1024,
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
name: "Phi-2",
|
|
253
|
+
id: "phi-2",
|
|
254
|
+
contextLength: 2048,
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
name: "TinyLlama 1.1B Chat v1.0",
|
|
258
|
+
id: "tinyllama-1.1b-chat-v1.0",
|
|
259
|
+
contextLength: 2048,
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
name: "Qwen1.5 14B Chat AWQ",
|
|
263
|
+
id: "qwen1.5-14b-chat-awq",
|
|
264
|
+
contextLength: 32768,
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
name: "Qwen1.5 7B Chat AWQ",
|
|
268
|
+
id: "qwen1.5-7b-chat-awq",
|
|
269
|
+
contextLength: 32768,
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
name: "Qwen1.5 0.5B Chat",
|
|
273
|
+
id: "qwen1.5-0.5b-chat",
|
|
274
|
+
contextLength: 32768,
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
name: "DiscoLM German 7B v1 AWQ",
|
|
278
|
+
id: "discolm-german-7b-v1-awq",
|
|
279
|
+
contextLength: 32768,
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
name: "Falcon 7B Instruct",
|
|
283
|
+
id: "falcon-7b-instruct",
|
|
284
|
+
contextLength: 2048,
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
name: "OpenChat 3.5 0106",
|
|
288
|
+
id: "openchat-3.5-0106",
|
|
289
|
+
contextLength: 8192,
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
name: "SQLCoder 7B 2",
|
|
293
|
+
id: "sqlcoder-7b-2",
|
|
294
|
+
contextLength: 16384,
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
name: "DeepSeek Math 7B Instruct",
|
|
298
|
+
id: "deepseek-math-7b-instruct",
|
|
299
|
+
contextLength: 4096,
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
name: "DETR ResNet-50",
|
|
303
|
+
id: "detr-resnet-50",
|
|
304
|
+
contextLength: 1024,
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
name: "Stable Diffusion XL Lightning",
|
|
308
|
+
id: "stable-diffusion-xl-lightning",
|
|
309
|
+
contextLength: 77,
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
name: "DreamShaper 8 LCM",
|
|
313
|
+
id: "dreamshaper-8-lcm",
|
|
314
|
+
contextLength: 77,
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
name: "Stable Diffusion v1.5 Img2Img",
|
|
318
|
+
id: "stable-diffusion-v1-5-img2img",
|
|
319
|
+
contextLength: 77,
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
name: "Stable Diffusion v1.5 Inpainting",
|
|
323
|
+
id: "stable-diffusion-v1-5-inpainting",
|
|
324
|
+
contextLength: 77,
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
name: "DeepSeek Coder 6.7B Instruct AWQ",
|
|
328
|
+
id: "deepseek-coder-6.7b-instruct-awq",
|
|
329
|
+
contextLength: 16384,
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
name: "DeepSeek Coder 6.7B Base AWQ",
|
|
333
|
+
id: "deepseek-coder-6.7b-base-awq",
|
|
334
|
+
contextLength: 16384,
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
name: "LlamaGuard 7B AWQ",
|
|
338
|
+
id: "llamaguard-7b-awq",
|
|
339
|
+
contextLength: 4096,
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
name: "Neural Chat 7B v3.1 AWQ",
|
|
343
|
+
id: "neural-chat-7b-v3-1-awq",
|
|
344
|
+
contextLength: 8192,
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
name: "OpenHermes 2.5 Mistral 7B AWQ",
|
|
348
|
+
id: "openhermes-2.5-mistral-7b-awq",
|
|
349
|
+
contextLength: 8192,
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
name: "Llama 2 13B Chat AWQ",
|
|
353
|
+
id: "llama-2-13b-chat-awq",
|
|
354
|
+
contextLength: 4096,
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
name: "Mistral 7B Instruct v0.1 AWQ",
|
|
358
|
+
id: "mistral-7b-instruct-v0.1-awq",
|
|
359
|
+
contextLength: 8192,
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
name: "Zephyr 7B Beta AWQ",
|
|
363
|
+
id: "zephyr-7b-beta-awq",
|
|
364
|
+
contextLength: 8192,
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
name: "Stable Diffusion XL Base 1.0",
|
|
368
|
+
id: "stable-diffusion-xl-base-1.0",
|
|
369
|
+
contextLength: 77,
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
name: "BGE Large EN v1.5",
|
|
373
|
+
id: "bge-large-en-v1.5",
|
|
374
|
+
contextLength: 512,
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
name: "BGE Small EN v1.5",
|
|
378
|
+
id: "bge-small-en-v1.5",
|
|
379
|
+
contextLength: 512,
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
name: "Llama 2 7B Chat FP16",
|
|
383
|
+
id: "llama-2-7b-chat-fp16",
|
|
384
|
+
contextLength: 4096,
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
name: "Mistral 7B Instruct v0.1",
|
|
388
|
+
id: "mistral-7b-instruct-v0.1",
|
|
389
|
+
contextLength: 8192,
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
name: "BGE Base EN v1.5",
|
|
393
|
+
id: "bge-base-en-v1.5",
|
|
394
|
+
contextLength: 512,
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
name: "DistilBERT SST-2 Int8",
|
|
398
|
+
id: "distilbert-sst-2-int8",
|
|
399
|
+
contextLength: 512,
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
name: "Llama 2 7B Chat Int8",
|
|
403
|
+
id: "llama-2-7b-chat-int8",
|
|
404
|
+
contextLength: 4096,
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
name: "M2M100 1.2B",
|
|
408
|
+
id: "m2m100-1.2b",
|
|
409
|
+
contextLength: 1024,
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
name: "ResNet-50",
|
|
413
|
+
id: "resnet-50",
|
|
414
|
+
contextLength: 224,
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
name: "Whisper",
|
|
418
|
+
id: "whisper",
|
|
419
|
+
contextLength: 448000,
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
name: "Llama 3.1 70B Instruct",
|
|
423
|
+
id: "llama-3.1-70b-instruct",
|
|
424
|
+
contextLength: 128000,
|
|
425
|
+
},
|
|
426
|
+
],
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
provider: "Perplexity",
|
|
430
|
+
docs: "https://docs.perplexity.ai/models/model-cards",
|
|
431
|
+
api_key: "https://www.perplexity.ai/account/api/keys",
|
|
432
|
+
default: "sonar",
|
|
433
|
+
models: [
|
|
434
|
+
{
|
|
435
|
+
name: "Sonar Pro",
|
|
436
|
+
id: "sonar-pro",
|
|
437
|
+
contextLength: 200000,
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
name: "Sonar",
|
|
441
|
+
id: "sonar",
|
|
442
|
+
contextLength: 128000,
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
name: "Sonar Reasoning Pro",
|
|
446
|
+
id: "sonar-reasoning-pro",
|
|
447
|
+
contextLength: 128000,
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
name: "Sonar Reasoning",
|
|
451
|
+
id: "sonar-reasoning",
|
|
452
|
+
contextLength: 128000,
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
name: "Sonar Deep Research",
|
|
456
|
+
id: "sonar-deep-research",
|
|
457
|
+
contextLength: 128000,
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
name: "Llama 3.1 Sonar Small 128k Online",
|
|
461
|
+
id: "llama-3.1-sonar-small-128k-online",
|
|
462
|
+
contextLength: 127072,
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
name: "Llama 3.1 Sonar Large 128k Online",
|
|
466
|
+
id: "llama-3.1-sonar-large-128k-online",
|
|
467
|
+
contextLength: 127072,
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
name: "Llama 3.1 Sonar Huge 128k Online",
|
|
471
|
+
id: "llama-3.1-sonar-huge-128k-online",
|
|
472
|
+
contextLength: 127072,
|
|
473
|
+
},
|
|
474
|
+
],
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
provider: "Groq",
|
|
478
|
+
docs: "https://console.groq.com/docs/overview",
|
|
479
|
+
api_key: "https://console.groq.com/keys",
|
|
480
|
+
default: "llama-3.3-70b-versatile",
|
|
481
|
+
models: [
|
|
482
|
+
{
|
|
483
|
+
name: "Llama 3.3 70B Versatile (Free)",
|
|
484
|
+
id: "llama-3.3-70b-versatile",
|
|
485
|
+
contextLength: 131072,
|
|
486
|
+
free: true,
|
|
487
|
+
type: "text-generation",
|
|
488
|
+
rateLimit: "300K TPM / 1K RPM = ~432M tokens/day",
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
name: "Llama 3.1 8B Instant (Free)",
|
|
492
|
+
id: "llama-3.1-8b-instant",
|
|
493
|
+
contextLength: 8192,
|
|
494
|
+
free: true,
|
|
495
|
+
type: "text-generation",
|
|
496
|
+
rateLimit: "250K TPM / 1K RPM = ~360M tokens/day",
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
name: "Llama 4 Scout 17B (Free)",
|
|
500
|
+
id: "meta-llama/llama-4-scout-17b-16e-instruct",
|
|
501
|
+
contextLength: 131072,
|
|
502
|
+
free: true,
|
|
503
|
+
type: "text-generation",
|
|
504
|
+
rateLimit: "300K TPM / 1K RPM = ~432M tokens/day",
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
name: "Qwen 3 32B (Free)",
|
|
508
|
+
id: "qwen/qwen3-32b",
|
|
509
|
+
contextLength: 128000,
|
|
510
|
+
free: true,
|
|
511
|
+
type: "text-generation",
|
|
512
|
+
rateLimit: "300K TPM / 1K RPM = ~432M tokens/day",
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
name: "GPT-OSS 120B (Free)",
|
|
516
|
+
id: "openai/gpt-oss-120b",
|
|
517
|
+
contextLength: 32768,
|
|
518
|
+
free: true,
|
|
519
|
+
type: "text-generation",
|
|
520
|
+
rateLimit: "250K TPM / 1K RPM = ~360M tokens/day",
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
name: "GPT-OSS 20B (Free)",
|
|
524
|
+
id: "openai/gpt-oss-20b",
|
|
525
|
+
contextLength: 32768,
|
|
526
|
+
free: true,
|
|
527
|
+
type: "text-generation",
|
|
528
|
+
rateLimit: "250K TPM / 1K RPM = ~360M tokens/day",
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
name: "Groq Compound (Free)",
|
|
532
|
+
id: "groq/compound",
|
|
533
|
+
contextLength: 32768,
|
|
534
|
+
free: true,
|
|
535
|
+
type: "text-generation",
|
|
536
|
+
rateLimit: "200K TPM / 200 RPM = ~288M tokens/day",
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
name: "Groq Compound Mini (Free)",
|
|
540
|
+
id: "groq/compound-mini",
|
|
541
|
+
contextLength: 32768,
|
|
542
|
+
free: true,
|
|
543
|
+
type: "text-generation",
|
|
544
|
+
rateLimit: "200K TPM / 200 RPM = ~288M tokens/day",
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
name: "GPT-OSS Safeguard 20B (Free)",
|
|
548
|
+
id: "openai/gpt-oss-safeguard-20b",
|
|
549
|
+
contextLength: 32768,
|
|
550
|
+
free: true,
|
|
551
|
+
type: "text-generation",
|
|
552
|
+
rateLimit: "150K TPM / 1K RPM = ~216M tokens/day",
|
|
553
|
+
},
|
|
554
|
+
],
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
provider: "OpenAI",
|
|
558
|
+
docs: "https://platform.openai.com/docs/overview",
|
|
559
|
+
api_key: "https://platform.openai.com/api-keys",
|
|
560
|
+
default: "gpt-4o",
|
|
561
|
+
models: [
|
|
562
|
+
{
|
|
563
|
+
name: "GPT-4 Omni",
|
|
564
|
+
id: "gpt-4o",
|
|
565
|
+
contextLength: 128000,
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
name: "GPT-4 Omni Mini",
|
|
569
|
+
id: "gpt-4o-mini",
|
|
570
|
+
contextLength: 128000,
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
name: "GPT-4 Turbo",
|
|
574
|
+
id: "gpt-4-turbo",
|
|
575
|
+
contextLength: 128000,
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
name: "GPT-4",
|
|
579
|
+
id: "gpt-4",
|
|
580
|
+
contextLength: 8192,
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
name: "GPT-3.5 Turbo",
|
|
584
|
+
id: "gpt-3.5-turbo",
|
|
585
|
+
contextLength: 16385,
|
|
586
|
+
},
|
|
587
|
+
],
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
provider: "Anthropic",
|
|
591
|
+
docs: "https://docs.anthropic.com/en/docs/welcome",
|
|
592
|
+
api_key: "https://console.anthropic.com/settings/keys",
|
|
593
|
+
default: "claude-3-7-sonnet-20250219",
|
|
594
|
+
models: [
|
|
595
|
+
{
|
|
596
|
+
name: "Claude 3.7 Sonnet",
|
|
597
|
+
id: "claude-3-7-sonnet-20250219",
|
|
598
|
+
contextLength: 200000,
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
name: "Claude 3.5 Sonnet",
|
|
602
|
+
id: "claude-3-5-sonnet-20241022",
|
|
603
|
+
contextLength: 200000,
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
name: "Claude 3 Opus",
|
|
607
|
+
id: "claude-3-opus-20240229",
|
|
608
|
+
contextLength: 200000,
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
name: "Claude 3 Sonnet",
|
|
612
|
+
id: "claude-3-sonnet-20240229",
|
|
613
|
+
contextLength: 200000,
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
name: "Claude 3 Haiku",
|
|
617
|
+
id: "claude-3-haiku-20240307",
|
|
618
|
+
contextLength: 200000,
|
|
619
|
+
},
|
|
620
|
+
],
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
provider: "TogetherAI",
|
|
624
|
+
docs: "https://docs.together.ai/docs/quickstart",
|
|
625
|
+
api_key: "https://api.together.xyz/settings/api-keys",
|
|
626
|
+
default: "meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
|
|
627
|
+
models: [
|
|
628
|
+
{
|
|
629
|
+
name: "Llama 3.1 8B Instruct Turbo",
|
|
630
|
+
id: "meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
|
|
631
|
+
contextLength: 131072,
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
name: "Llama 3.1 70B Instruct Turbo",
|
|
635
|
+
id: "meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo",
|
|
636
|
+
contextLength: 131072,
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
name: "Llama 3.1 405B Instruct Turbo",
|
|
640
|
+
id: "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo",
|
|
641
|
+
contextLength: 130815,
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
name: "Llama 3 8B Instruct Turbo",
|
|
645
|
+
id: "meta-llama/Meta-Llama-3-8B-Instruct-Turbo",
|
|
646
|
+
contextLength: 8192,
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
name: "Llama 3 70B Instruct Turbo",
|
|
650
|
+
id: "meta-llama/Meta-Llama-3-70B-Instruct-Turbo",
|
|
651
|
+
contextLength: 8192,
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
name: "Llama 3.2 3B Instruct Turbo",
|
|
655
|
+
id: "meta-llama/Llama-3.2-3B-Instruct-Turbo",
|
|
656
|
+
contextLength: 131072,
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
name: "Llama 3 8B Instruct Lite",
|
|
660
|
+
id: "meta-llama/Meta-Llama-3-8B-Instruct-Lite",
|
|
661
|
+
contextLength: 8192,
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
name: "Llama 3 70B Instruct Lite",
|
|
665
|
+
id: "meta-llama/Meta-Llama-3-70B-Instruct-Lite",
|
|
666
|
+
contextLength: 8192,
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
name: "Llama 3 8B Instruct Reference",
|
|
670
|
+
id: "meta-llama/Llama-3-8b-chat-hf",
|
|
671
|
+
contextLength: 8192,
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
name: "Llama 3 70B Instruct Reference",
|
|
675
|
+
id: "meta-llama/Llama-3-70b-chat-hf",
|
|
676
|
+
contextLength: 8192,
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
name: "Llama 3.1 Nemotron 70B",
|
|
680
|
+
id: "nvidia/Llama-3.1-Nemotron-70B-Instruct-HF",
|
|
681
|
+
contextLength: 32768,
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
name: "Qwen 2.5 Coder 32B Instruct",
|
|
685
|
+
id: "Qwen/Qwen2.5-Coder-32B-Instruct",
|
|
686
|
+
contextLength: 32769,
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
name: "WizardLM-2 8x22B",
|
|
690
|
+
id: "microsoft/WizardLM-2-8x22B",
|
|
691
|
+
contextLength: 65536,
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
name: "Gemma 2 27B",
|
|
695
|
+
id: "google/gemma-2-27b-it",
|
|
696
|
+
contextLength: 8192,
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
name: "Gemma 2 9B",
|
|
700
|
+
id: "google/gemma-2-9b-it",
|
|
701
|
+
contextLength: 8192,
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
name: "DBRX Instruct",
|
|
705
|
+
id: "databricks/dbrx-instruct",
|
|
706
|
+
contextLength: 32768,
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
name: "DeepSeek LLM Chat (67B)",
|
|
710
|
+
id: "deepseek-ai/deepseek-llm-67b-chat",
|
|
711
|
+
contextLength: 4096,
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
name: "Gemma Instruct (2B)",
|
|
715
|
+
id: "google/gemma-2b-it",
|
|
716
|
+
contextLength: 8192,
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
name: "MythoMax-L2 (13B)",
|
|
720
|
+
id: "Gryphe/MythoMax-L2-13b",
|
|
721
|
+
contextLength: 4096,
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
name: "LLaMA-2 Chat (13B)",
|
|
725
|
+
id: "meta-llama/Llama-2-13b-chat-hf",
|
|
726
|
+
contextLength: 4096,
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
name: "Mistral (7B) Instruct",
|
|
730
|
+
id: "mistralai/Mistral-7B-Instruct-v0.1",
|
|
731
|
+
contextLength: 8192,
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
name: "Mistral (7B) Instruct v0.2",
|
|
735
|
+
id: "mistralai/Mistral-7B-Instruct-v0.2",
|
|
736
|
+
contextLength: 32768,
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
name: "Mistral (7B) Instruct v0.3",
|
|
740
|
+
id: "mistralai/Mistral-7B-Instruct-v0.3",
|
|
741
|
+
contextLength: 32768,
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
name: "Mixtral-8x7B Instruct (46.7B)",
|
|
745
|
+
id: "mistralai/Mixtral-8x7B-Instruct-v0.1",
|
|
746
|
+
contextLength: 32768,
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
name: "Mixtral-8x22B Instruct (141B)",
|
|
750
|
+
id: "mistralai/Mixtral-8x22B-Instruct-v0.1",
|
|
751
|
+
contextLength: 65536,
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
name: "Nous Hermes 2 - Mixtral 8x7B-DPO (46.7B)",
|
|
755
|
+
id: "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
|
|
756
|
+
contextLength: 32768,
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
name: "Qwen 2.5 7B Instruct Turbo",
|
|
760
|
+
id: "Qwen/Qwen2.5-7B-Instruct-Turbo",
|
|
761
|
+
contextLength: 32768,
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
name: "Qwen 2.5 72B Instruct Turbo",
|
|
765
|
+
id: "Qwen/Qwen2.5-72B-Instruct-Turbo",
|
|
766
|
+
contextLength: 32768,
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
name: "Qwen 2 Instruct (72B)",
|
|
770
|
+
id: "Qwen/Qwen2-72B-Instruct",
|
|
771
|
+
contextLength: 32768,
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
name: "StripedHyena Nous (7B)",
|
|
775
|
+
id: "togethercomputer/StripedHyena-Nous-7B",
|
|
776
|
+
contextLength: 32768,
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
name: "Upstage SOLAR Instruct v1 (11B)",
|
|
780
|
+
id: "upstage/SOLAR-10.7B-Instruct-v1.0",
|
|
781
|
+
contextLength: 4096,
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
name: "Llama 3.2 11B Vision Instruct Turbo (Free)",
|
|
785
|
+
id: "meta-llama/Llama-Vision-Free",
|
|
786
|
+
contextLength: 131072,
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
name: "Llama 3.2 11B Vision Instruct Turbo",
|
|
790
|
+
id: "meta-llama/Llama-3.2-11B-Vision-Instruct-Turbo",
|
|
791
|
+
contextLength: 131072,
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
name: "Llama 3.2 90B Vision Instruct Turbo",
|
|
795
|
+
id: "meta-llama/Llama-3.2-90B-Vision-Instruct-Turbo",
|
|
796
|
+
contextLength: 131072,
|
|
797
|
+
},
|
|
798
|
+
],
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
provider: "XAI",
|
|
802
|
+
docs: "https://docs.x.ai/docs#models",
|
|
803
|
+
api_key: "https://console.x.ai/",
|
|
804
|
+
default: "grok-beta",
|
|
805
|
+
models: [
|
|
806
|
+
{
|
|
807
|
+
name: "Grok",
|
|
808
|
+
id: "grok-beta",
|
|
809
|
+
contextLength: 131072,
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
name: "Grok Vision",
|
|
813
|
+
id: "grok-vision-beta",
|
|
814
|
+
contextLength: 8192,
|
|
815
|
+
},
|
|
816
|
+
],
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
provider: "Google",
|
|
820
|
+
docs: "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models",
|
|
821
|
+
api_key:
|
|
822
|
+
"https://cloud.google.com/vertex-ai/generative-ai/docs/start/express-mode/overview#api-keys",
|
|
823
|
+
models: [
|
|
824
|
+
{
|
|
825
|
+
name: "Gemini 2.5 Pro Preview",
|
|
826
|
+
id: "gemini-2.5-pro-preview-05-06",
|
|
827
|
+
contextLength: 1048576,
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
name: "Gemini 2.5 Flash Preview",
|
|
831
|
+
id: "gemini-2.5-flash-preview-04-17",
|
|
832
|
+
contextLength: 1048576,
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
name: "Gemini 2.0 Flash",
|
|
836
|
+
id: "gemini-2.0-flash-001",
|
|
837
|
+
contextLength: 1048576,
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
name: "Gemini 2.0 Flash-Lite",
|
|
841
|
+
id: "gemini-2.0-flash-lite-001",
|
|
842
|
+
contextLength: 1048576,
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
name: "Gemini 2.0 Flash-Live",
|
|
846
|
+
id: "gemini-2.0-flash-live-preview-04-09",
|
|
847
|
+
contextLength: 32768,
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
name: "Imagen 3",
|
|
851
|
+
id: "imagen-3.0-generate-002",
|
|
852
|
+
contextLength: 480,
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
name: "Imagen 3 Fast",
|
|
856
|
+
id: "imagen-3.0-fast-generate-001",
|
|
857
|
+
contextLength: 480,
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
name: "Llama 3.2 90B Vision Instruct Turbo",
|
|
861
|
+
id: "meta-llama/Llama-3.2-90B-Vision-Instruct-Turbo",
|
|
862
|
+
contextLength: 131072,
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
name: "Llama 3.3 70B",
|
|
866
|
+
id: "meta-llama/Llama-3.3-70B",
|
|
867
|
+
contextLength: 131072,
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
name: "Gemma 3",
|
|
871
|
+
id: "gemma-3",
|
|
872
|
+
contextLength: 131072,
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
name: "Gemma 2",
|
|
876
|
+
id: "gemma-2",
|
|
877
|
+
contextLength: 131072,
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
name: "Gemma",
|
|
881
|
+
id: "gemma",
|
|
882
|
+
contextLength: 131072,
|
|
883
|
+
},
|
|
884
|
+
],
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
provider: "Amazon",
|
|
888
|
+
docs: "https://docs.aws.amazon.com/bedrock/",
|
|
889
|
+
api_key: "https://console.aws.amazon.com/iam/home#/security_credentials",
|
|
890
|
+
default: "anthropic.claude-3-5-sonnet-20241022-v2:0",
|
|
891
|
+
models: [
|
|
892
|
+
{
|
|
893
|
+
name: "AI21 Jamba 1.5 Mini",
|
|
894
|
+
id: "ai21.jamba-1-5-mini-v1:0",
|
|
895
|
+
contextLength: 256000,
|
|
896
|
+
provider: "AI21 Labs",
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
name: "AI21 Jamba 1.5 Large",
|
|
900
|
+
id: "ai21.jamba-1-5-large-v1:0",
|
|
901
|
+
contextLength: 256000,
|
|
902
|
+
provider: "AI21 Labs",
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
name: "Amazon Nova Canvas",
|
|
906
|
+
id: "amazon.nova-canvas-v1:0",
|
|
907
|
+
contextLength: 77,
|
|
908
|
+
provider: "Amazon",
|
|
909
|
+
type: "image",
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
name: "Amazon Nova Lite",
|
|
913
|
+
id: "amazon.nova-lite-v1:0",
|
|
914
|
+
contextLength: 300000,
|
|
915
|
+
provider: "Amazon",
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
name: "Amazon Nova Micro",
|
|
919
|
+
id: "amazon.nova-micro-v1:0",
|
|
920
|
+
contextLength: 128000,
|
|
921
|
+
provider: "Amazon",
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
name: "Amazon Nova Pro",
|
|
925
|
+
id: "amazon.nova-pro-v1:0",
|
|
926
|
+
contextLength: 300000,
|
|
927
|
+
provider: "Amazon",
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
name: "Amazon Nova Reel",
|
|
931
|
+
id: "amazon.nova-reel-v1:0",
|
|
932
|
+
contextLength: 10000,
|
|
933
|
+
provider: "Amazon",
|
|
934
|
+
type: "video",
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
name: "Amazon Nova Reel V2 Lite",
|
|
938
|
+
id: "amazon.nova-reel-v2-lite-v1:0",
|
|
939
|
+
contextLength: 10000,
|
|
940
|
+
provider: "Amazon",
|
|
941
|
+
type: "video",
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
name: "Amazon Nova Reel V2 Standard",
|
|
945
|
+
id: "amazon.nova-reel-v2-standard-v1:0",
|
|
946
|
+
contextLength: 10000,
|
|
947
|
+
provider: "Amazon",
|
|
948
|
+
type: "video",
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
name: "Amazon Rerank",
|
|
952
|
+
id: "amazon.rerank-v1:0",
|
|
953
|
+
contextLength: 8192,
|
|
954
|
+
provider: "Amazon",
|
|
955
|
+
type: "reranker",
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
name: "Amazon Titan Embeddings G1 - Text",
|
|
959
|
+
id: "amazon.titan-embed-text-v1",
|
|
960
|
+
contextLength: 8192,
|
|
961
|
+
provider: "Amazon",
|
|
962
|
+
type: "embedding",
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
name: "Amazon Titan Embeddings G1 - Text v2",
|
|
966
|
+
id: "amazon.titan-embed-text-v2:0",
|
|
967
|
+
contextLength: 8192,
|
|
968
|
+
provider: "Amazon",
|
|
969
|
+
type: "embedding",
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
name: "Amazon Titan Image Generator G1",
|
|
973
|
+
id: "amazon.titan-image-generator-v1",
|
|
974
|
+
contextLength: 128,
|
|
975
|
+
provider: "Amazon",
|
|
976
|
+
type: "image",
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
name: "Amazon Titan Image Generator G2",
|
|
980
|
+
id: "amazon.titan-image-generator-v2:0",
|
|
981
|
+
contextLength: 128,
|
|
982
|
+
provider: "Amazon",
|
|
983
|
+
type: "image",
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
name: "Amazon Titan Multimodal Embeddings G1",
|
|
987
|
+
id: "amazon.titan-embed-image-v1",
|
|
988
|
+
contextLength: 8192,
|
|
989
|
+
provider: "Amazon",
|
|
990
|
+
type: "embedding",
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
name: "Amazon Titan Text G1 - Express",
|
|
994
|
+
id: "amazon.titan-text-express-v1",
|
|
995
|
+
contextLength: 8192,
|
|
996
|
+
provider: "Amazon",
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
name: "Amazon Titan Text G1 - Lite",
|
|
1000
|
+
id: "amazon.titan-text-lite-v1",
|
|
1001
|
+
contextLength: 4096,
|
|
1002
|
+
provider: "Amazon",
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
name: "Amazon Titan Text G1 - Premier",
|
|
1006
|
+
id: "amazon.titan-text-premier-v1:0",
|
|
1007
|
+
contextLength: 32000,
|
|
1008
|
+
provider: "Amazon",
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
name: "Claude 3.5 Sonnet v2",
|
|
1012
|
+
id: "anthropic.claude-3-5-sonnet-20241022-v2:0",
|
|
1013
|
+
contextLength: 200000,
|
|
1014
|
+
provider: "Anthropic",
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
name: "Claude 3.5 Sonnet v1",
|
|
1018
|
+
id: "anthropic.claude-3-5-sonnet-20240620-v1:0",
|
|
1019
|
+
contextLength: 200000,
|
|
1020
|
+
provider: "Anthropic",
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
name: "Claude 3.5 Haiku",
|
|
1024
|
+
id: "anthropic.claude-3-5-haiku-20241022-v1:0",
|
|
1025
|
+
contextLength: 200000,
|
|
1026
|
+
provider: "Anthropic",
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
name: "Claude 3 Opus",
|
|
1030
|
+
id: "anthropic.claude-3-opus-20240229-v1:0",
|
|
1031
|
+
contextLength: 200000,
|
|
1032
|
+
provider: "Anthropic",
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
name: "Claude 3 Sonnet",
|
|
1036
|
+
id: "anthropic.claude-3-sonnet-20240229-v1:0",
|
|
1037
|
+
contextLength: 200000,
|
|
1038
|
+
provider: "Anthropic",
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
name: "Claude 3 Haiku",
|
|
1042
|
+
id: "anthropic.claude-3-haiku-20240307-v1:0",
|
|
1043
|
+
contextLength: 200000,
|
|
1044
|
+
provider: "Anthropic",
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
name: "Claude Instant",
|
|
1048
|
+
id: "anthropic.claude-instant-v1",
|
|
1049
|
+
contextLength: 100000,
|
|
1050
|
+
provider: "Anthropic",
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
name: "Cohere Command",
|
|
1054
|
+
id: "cohere.command-text-v14",
|
|
1055
|
+
contextLength: 4096,
|
|
1056
|
+
provider: "Cohere",
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
name: "Cohere Command Light",
|
|
1060
|
+
id: "cohere.command-light-text-v14",
|
|
1061
|
+
contextLength: 4096,
|
|
1062
|
+
provider: "Cohere",
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
name: "Cohere Command R",
|
|
1066
|
+
id: "cohere.command-r-v1:0",
|
|
1067
|
+
contextLength: 128000,
|
|
1068
|
+
provider: "Cohere",
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
name: "Cohere Command R+",
|
|
1072
|
+
id: "cohere.command-r-plus-v1:0",
|
|
1073
|
+
contextLength: 128000,
|
|
1074
|
+
provider: "Cohere",
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
name: "Cohere Embed English",
|
|
1078
|
+
id: "cohere.embed-english-v3",
|
|
1079
|
+
contextLength: 512,
|
|
1080
|
+
provider: "Cohere",
|
|
1081
|
+
type: "embedding",
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
name: "Cohere Embed Multilingual",
|
|
1085
|
+
id: "cohere.embed-multilingual-v3",
|
|
1086
|
+
contextLength: 512,
|
|
1087
|
+
provider: "Cohere",
|
|
1088
|
+
type: "embedding",
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
name: "Cohere Rerank English",
|
|
1092
|
+
id: "cohere.rerank-english-v3:0",
|
|
1093
|
+
contextLength: 4096,
|
|
1094
|
+
provider: "Cohere",
|
|
1095
|
+
type: "reranker",
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
name: "Cohere Rerank Multilingual",
|
|
1099
|
+
id: "cohere.rerank-multilingual-v3:0",
|
|
1100
|
+
contextLength: 4096,
|
|
1101
|
+
provider: "Cohere",
|
|
1102
|
+
type: "reranker",
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
name: "DeepSeek R1",
|
|
1106
|
+
id: "deepseek.deepseek-r1-distill-qwen-32b-v1:0",
|
|
1107
|
+
contextLength: 32768,
|
|
1108
|
+
provider: "DeepSeek",
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
name: "Luma Dream Machine",
|
|
1112
|
+
id: "luma.dream-machine-v1:0",
|
|
1113
|
+
contextLength: 512,
|
|
1114
|
+
provider: "Luma AI",
|
|
1115
|
+
type: "video",
|
|
1116
|
+
},
|
|
1117
|
+
|
|
1118
|
+
{
|
|
1119
|
+
name: "Llama 3.2 11B Vision Instruct",
|
|
1120
|
+
id: "meta.llama3-2-11b-instruct-v1:0",
|
|
1121
|
+
contextLength: 128000,
|
|
1122
|
+
provider: "Meta",
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
name: "Llama 3.2 90B Vision Instruct",
|
|
1126
|
+
id: "meta.llama3-2-90b-instruct-v1:0",
|
|
1127
|
+
contextLength: 128000,
|
|
1128
|
+
provider: "Meta",
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
name: "Mistral 7B Instruct",
|
|
1132
|
+
id: "mistral.mistral-7b-instruct-v0:2",
|
|
1133
|
+
contextLength: 32768,
|
|
1134
|
+
provider: "Mistral AI",
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
name: "Mixtral 8x7B Instruct",
|
|
1138
|
+
id: "mistral.mixtral-8x7b-instruct-v0:1",
|
|
1139
|
+
contextLength: 32768,
|
|
1140
|
+
provider: "Mistral AI",
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
name: "Mistral Small",
|
|
1144
|
+
id: "mistral.mistral-small-2402-v1:0",
|
|
1145
|
+
contextLength: 32768,
|
|
1146
|
+
provider: "Mistral AI",
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
name: "Mistral Large",
|
|
1150
|
+
id: "mistral.mistral-large-2402-v1:0",
|
|
1151
|
+
contextLength: 32768,
|
|
1152
|
+
provider: "Mistral AI",
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
name: "Mistral Large 2",
|
|
1156
|
+
id: "mistral.mistral-large-2407-v1:0",
|
|
1157
|
+
contextLength: 128000,
|
|
1158
|
+
provider: "Mistral AI",
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
name: "Mistral Large 2411",
|
|
1162
|
+
id: "mistral.mistral-large-2411-v1:0",
|
|
1163
|
+
contextLength: 128000,
|
|
1164
|
+
provider: "Mistral AI",
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
name: "Stable Diffusion XL",
|
|
1168
|
+
id: "stability.stable-diffusion-xl-v1",
|
|
1169
|
+
contextLength: 77,
|
|
1170
|
+
provider: "Stability AI",
|
|
1171
|
+
type: "image",
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
name: "SDXL 1.0",
|
|
1175
|
+
id: "stability.stable-diffusion-xl-v0",
|
|
1176
|
+
contextLength: 77,
|
|
1177
|
+
provider: "Stability AI",
|
|
1178
|
+
type: "image",
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
name: "Stable Image Ultra",
|
|
1182
|
+
id: "stability.stable-image-ultra-v1:0",
|
|
1183
|
+
contextLength: 77,
|
|
1184
|
+
provider: "Stability AI",
|
|
1185
|
+
type: "image",
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
name: "Stable Image Core",
|
|
1189
|
+
id: "stability.stable-image-core-v1:0",
|
|
1190
|
+
contextLength: 77,
|
|
1191
|
+
provider: "Stability AI",
|
|
1192
|
+
type: "image",
|
|
1193
|
+
},
|
|
1194
|
+
],
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
"provider": "OpenRouter",
|
|
1198
|
+
"docs": "https://openrouter.ai/docs",
|
|
1199
|
+
"api_key": "https://openrouter.ai/settings/keys",
|
|
1200
|
+
"default": "openrouter/free",
|
|
1201
|
+
"models": [
|
|
1202
|
+
{
|
|
1203
|
+
"name": "OpenRouter Free (rotating)",
|
|
1204
|
+
"id": "openrouter/free",
|
|
1205
|
+
"contextLength": 200_000,
|
|
1206
|
+
"free": true,
|
|
1207
|
+
"type": "text"
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"name": "Nemotron 3 Super 120B",
|
|
1211
|
+
"id": "nvidia/nemotron-3-super-120b-a12b:free",
|
|
1212
|
+
"contextLength": 1_000_000,
|
|
1213
|
+
"free": true,
|
|
1214
|
+
"type": "text"
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"name": "Nemotron 3 Ultra 550B",
|
|
1218
|
+
"id": "nvidia/nemotron-3-ultra-550b-a55b:free",
|
|
1219
|
+
"contextLength": 1_000_000,
|
|
1220
|
+
"free": true,
|
|
1221
|
+
"type": "text"
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"name": "Nemotron 3 Nano 30B A3B",
|
|
1225
|
+
"id": "nvidia/nemotron-3-nano-30b-a3b:free",
|
|
1226
|
+
"contextLength": 256_000,
|
|
1227
|
+
"free": true,
|
|
1228
|
+
"type": "text"
|
|
1229
|
+
},
|
|
1230
|
+
{
|
|
1231
|
+
"name": "Nemotron 3 Nano Omni 30B A3B Reasoning",
|
|
1232
|
+
"id": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free",
|
|
1233
|
+
"contextLength": 256_000,
|
|
1234
|
+
"free": true,
|
|
1235
|
+
"type": "text"
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"name": "Nemotron Nano 12B v2 VL",
|
|
1239
|
+
"id": "nvidia/nemotron-nano-12b-v2-vl:free",
|
|
1240
|
+
"contextLength": 128_000,
|
|
1241
|
+
"free": true,
|
|
1242
|
+
"type": "text"
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"name": "Nemotron Nano 9B v2",
|
|
1246
|
+
"id": "nvidia/nemotron-nano-9b-v2:free",
|
|
1247
|
+
"contextLength": 128_000,
|
|
1248
|
+
"free": true,
|
|
1249
|
+
"type": "text"
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"name": "Nemotron 3.5 Content Safety",
|
|
1253
|
+
"id": "nvidia/nemotron-3.5-content-safety:free",
|
|
1254
|
+
"contextLength": 128_000,
|
|
1255
|
+
"free": true,
|
|
1256
|
+
"type": "text"
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"name": "Gemma 4 31B IT",
|
|
1260
|
+
"id": "google/gemma-4-31b-it:free",
|
|
1261
|
+
"contextLength": 262_000,
|
|
1262
|
+
"free": true,
|
|
1263
|
+
"type": "text"
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
"name": "Gemma 4 26B A4B IT",
|
|
1267
|
+
"id": "google/gemma-4-26b-a4b-it:free",
|
|
1268
|
+
"contextLength": 262_000,
|
|
1269
|
+
"free": true,
|
|
1270
|
+
"type": "text"
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"name": "GPT-OSS 120B",
|
|
1274
|
+
"id": "openai/gpt-oss-120b:free",
|
|
1275
|
+
"contextLength": 131_072,
|
|
1276
|
+
"free": true,
|
|
1277
|
+
"type": "text"
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
"name": "GPT-OSS 20B",
|
|
1281
|
+
"id": "openai/gpt-oss-20b:free",
|
|
1282
|
+
"contextLength": 131_072,
|
|
1283
|
+
"free": true,
|
|
1284
|
+
"type": "text"
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"name": "Qwen3 Coder",
|
|
1288
|
+
"id": "qwen/qwen3-coder:free",
|
|
1289
|
+
"contextLength": 1_000_000,
|
|
1290
|
+
"free": true,
|
|
1291
|
+
"type": "text"
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"name": "Qwen3 Next 80B A3B Instruct",
|
|
1295
|
+
"id": "qwen/qwen3-next-80b-a3b-instruct:free",
|
|
1296
|
+
"contextLength": 262_000,
|
|
1297
|
+
"free": true,
|
|
1298
|
+
"type": "text"
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
"name": "Llama 3.3 70B Instruct",
|
|
1302
|
+
"id": "meta-llama/llama-3.3-70b-instruct:free",
|
|
1303
|
+
"contextLength": 131_072,
|
|
1304
|
+
"free": true,
|
|
1305
|
+
"type": "text"
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
"name": "Llama 3.2 3B Instruct",
|
|
1309
|
+
"id": "meta-llama/llama-3.2-3b-instruct:free",
|
|
1310
|
+
"contextLength": 131_072,
|
|
1311
|
+
"free": true,
|
|
1312
|
+
"type": "text"
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
"name": "Hermes 3 Llama 3.1 405B",
|
|
1316
|
+
"id": "nousresearch/hermes-3-llama-3.1-405b:free",
|
|
1317
|
+
"contextLength": 131_072,
|
|
1318
|
+
"free": true,
|
|
1319
|
+
"type": "text"
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
"name": "Laguna XS 2.1",
|
|
1323
|
+
"id": "poolside/laguna-xs-2.1:free",
|
|
1324
|
+
"contextLength": 262_000,
|
|
1325
|
+
"free": true,
|
|
1326
|
+
"type": "text"
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
"name": "Laguna XS 2",
|
|
1330
|
+
"id": "poolside/laguna-xs.2:free",
|
|
1331
|
+
"contextLength": 262_000,
|
|
1332
|
+
"free": true,
|
|
1333
|
+
"type": "text"
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
"name": "Laguna M 1",
|
|
1337
|
+
"id": "poolside/laguna-m.1:free",
|
|
1338
|
+
"contextLength": 262_000,
|
|
1339
|
+
"free": true,
|
|
1340
|
+
"type": "text"
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
"name": "North Mini Code",
|
|
1344
|
+
"id": "cohere/north-mini-code:free",
|
|
1345
|
+
"contextLength": 256_000,
|
|
1346
|
+
"free": true,
|
|
1347
|
+
"type": "text"
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
"name": "Dolphin Mistral 24B Venice Edition",
|
|
1351
|
+
"id": "cognitivecomputations/dolphin-mistral-24b-venice-edition:free",
|
|
1352
|
+
"contextLength": 33_000,
|
|
1353
|
+
"free": true,
|
|
1354
|
+
"type": "text"
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"name": "LFM 2.5 1.2B Thinking",
|
|
1358
|
+
"id": "liquid/lfm-2.5-1.2b-thinking:free",
|
|
1359
|
+
"contextLength": 33_000,
|
|
1360
|
+
"free": true,
|
|
1361
|
+
"type": "text"
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"name": "LFM 2.5 1.2B Instruct",
|
|
1365
|
+
"id": "liquid/lfm-2.5-1.2b-instruct:free",
|
|
1366
|
+
"contextLength": 33_000,
|
|
1367
|
+
"free": true,
|
|
1368
|
+
"type": "text"
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
"name": "OpenRouter Free (rotating)",
|
|
1372
|
+
"id": "openrouter/free",
|
|
1373
|
+
"contextLength": 200_000,
|
|
1374
|
+
"free": true,
|
|
1375
|
+
"type": "text"
|
|
1376
|
+
}
|
|
1377
|
+
]
|
|
1378
|
+
}
|
|
1379
|
+
];
|
|
1380
|
+
|
|
1381
|
+
/** List of available LLM provider services */
|
|
1382
|
+
export const LANGUAGE_PROVIDERS = LANGUAGE_MODELS.map((p) =>
|
|
1383
|
+
p.provider.toLocaleLowerCase(),
|
|
1384
|
+
);
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* Guest-safe models that are known to work reliably.
|
|
1388
|
+
* Based on test results: only models with HTTP 200 status.
|
|
1389
|
+
*/
|
|
1390
|
+
export const GUEST_SAFE_MODELS = {
|
|
1391
|
+
openrouter: [
|
|
1392
|
+
"openrouter/free",
|
|
1393
|
+
"nvidia/nemotron-3-super-120b-a12b:free",
|
|
1394
|
+
"nvidia/nemotron-3-ultra-550b-a55b:free",
|
|
1395
|
+
"nvidia/nemotron-3-nano-30b-a3b:free",
|
|
1396
|
+
"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free",
|
|
1397
|
+
"nvidia/nemotron-nano-9b-v2:free",
|
|
1398
|
+
"nvidia/nemotron-3.5-content-safety:free",
|
|
1399
|
+
"google/gemma-4-31b-it:free",
|
|
1400
|
+
"google/gemma-4-26b-a4b-it:free",
|
|
1401
|
+
"openai/gpt-oss-20b:free",
|
|
1402
|
+
"poolside/laguna-xs-2.1:free",
|
|
1403
|
+
"poolside/laguna-m.1:free",
|
|
1404
|
+
"cohere/north-mini-code:free",
|
|
1405
|
+
],
|
|
1406
|
+
nvidia: [
|
|
1407
|
+
"nvidia/nemotron-3-super-120b-a12b",
|
|
1408
|
+
"meta/llama-3.1-8b-instruct",
|
|
1409
|
+
],
|
|
1410
|
+
};
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* Filter models to only those in the guest-safe list.
|
|
1414
|
+
* Returns models with `free: true` property.
|
|
1415
|
+
*/
|
|
1416
|
+
export function filterModelsForGuests(models: any[]): any[] {
|
|
1417
|
+
return models.filter((m) => m.free === true);
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
/**
|
|
1421
|
+
* Get guest-safe provider list (only tested working models).
|
|
1422
|
+
* Uses GUEST_SAFE_MODELS whitelist to ensure reliability.
|
|
1423
|
+
*/
|
|
1424
|
+
export function getGuestSafeProviders(): typeof LANGUAGE_MODELS {
|
|
1425
|
+
return LANGUAGE_MODELS.map((provider) => ({
|
|
1426
|
+
...provider,
|
|
1427
|
+
models: provider.models.filter(
|
|
1428
|
+
(model: any) =>
|
|
1429
|
+
GUEST_SAFE_MODELS[provider.provider.toLowerCase() as keyof typeof GUEST_SAFE_MODELS]?.includes(
|
|
1430
|
+
model.id,
|
|
1431
|
+
) || false,
|
|
1432
|
+
),
|
|
1433
|
+
})).filter((p) => p.models.length > 0);
|
|
1434
|
+
}
|