-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Expand file tree
/
Copy pathproviders.ts
More file actions
1394 lines (1376 loc) · 45.7 KB
/
providers.ts
File metadata and controls
1394 lines (1376 loc) · 45.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import { HTMLInputTypeAttribute } from "react";
import { ModelProviderTags } from "../../../components/modelSelection/utils";
import { completionParamsInputs } from "./completionParamsInputs";
import type { ModelPackage } from "./models";
import { models } from "./models";
export interface InputDescriptor {
inputType: HTMLInputTypeAttribute;
key: string;
label: string;
placeholder?: string;
defaultValue?: string | number;
min?: number;
max?: number;
step?: number;
options?: string[];
required?: boolean;
description?: string;
[key: string]: any;
}
export interface ProviderInfo {
title: string;
icon?: string;
provider: string;
description: string;
longDescription?: string;
tags?: ModelProviderTags[];
packages: ModelPackage[];
popularPackages?: ModelPackage[];
params?: any;
collectInputFor?: InputDescriptor[];
refPage?: string;
apiKeyUrl?: string;
downloadUrl?: string;
}
const completionParamsInputsConfigs = Object.values(completionParamsInputs);
const openSourceModels = Object.values(models).filter(
({ isOpenSource }) => isOpenSource,
);
export const ollamaStaticModels = Object.values(models).filter(
({ providerOptions }) => providerOptions?.includes("ollama"),
);
export const apiBaseInput: InputDescriptor = {
inputType: "text",
key: "apiBase",
label: "API Base",
placeholder: "e.g. http://localhost:8080",
required: false,
};
export const providers: Partial<Record<string, ProviderInfo>> = {
cometapi: {
title: "CometAPI",
provider: "cometapi",
description: "500+ AI Model API,All In One API. Just In CometAPI",
longDescription:
"Unified Access to Leading AI Models, see [here](https://www.cometapi.com/?utm_source=continue&utm_medium=integration&utm_campaign=cometapi_integration&utm_content=continue_plugin) for more details.",
icon: "cometapi.png",
tags: [ModelProviderTags.RequiresApiKey],
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your CometAPI key",
required: true,
},
...completionParamsInputsConfigs,
],
packages: [
// GPT, OpenAI family
models.cometapiGpt5ChatLatest,
models.cometapiGpt5Mini,
models.cometapiGpt5,
models.cometapiChatgpt4oLatest,
models.cometapiGpt41,
models.cometapiO4Mini,
models.cometapiO3Pro,
// Anthropic Claude family
models.cometapiClaude45Sonnet,
models.cometapiClaude45Haiku,
models.cometapiClaudeOpus41,
models.cometapiClaudeOpus41Thinking,
models.cometapiClaudeSonnet4,
models.cometapiClaudeSonnet4Thinking,
models.cometapiClaude37SonnetLatest,
// Google Gemini family
models.cometapiGemini25Pro,
models.cometapiGemini25Flash,
models.cometapiGemini25FlashLite,
// xAI Grok family
models.cometapiGrok40709,
models.cometapiGrok3,
models.cometapiGrok3Mini,
// Deepseek family
models.cometapiDeepseekV31,
models.cometapiDeepseekR10528,
models.cometapiDeepseekChat,
models.cometapiDeepseekReasoner,
// Qwen family
models.cometapiQwen330BA3B,
models.cometapiQwen3CoderPlus,
//TODO: Need to wait for the improvement after the upgrade of the cometapi model list interface
// {
// ...models.AUTODETECT,
// params: { ...models.AUTODETECT.params, title: "CometAPI" },
// },
],
apiKeyUrl: "https://api.cometapi.com/console/token",
},
openai: {
title: "OpenAI",
provider: "openai",
description: "Use gpt-5.4, gpt-5, or any other OpenAI model",
longDescription:
"Use gpt-5.4, gpt-5, or any other OpenAI model. See [here](https://openai.com/product#made-for-developers) to obtain an API key.",
icon: "openai.png",
tags: [ModelProviderTags.RequiresApiKey],
packages: [
models.gpt5_4Pro,
models.gpt5_4,
models.gpt5_4Mini,
models.gpt5_2,
models.gpt5_1,
models.gpt5,
models.gpt5Mini,
models.gpt5Codex,
models.gpt41,
models.gpt41Mini,
models.codexMini,
models.o3,
models.o4Mini,
models.gpt4o,
models.gpt4omini,
models.gpt4turbo,
models.gpt35turbo,
{
...models.AUTODETECT,
params: {
...models.AUTODETECT.params,
title: "OpenAI",
},
},
],
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your OpenAI API key",
required: true,
},
...completionParamsInputsConfigs,
],
apiKeyUrl: "https://platform.openai.com/account/api-keys",
},
anthropic: {
title: "Anthropic",
provider: "anthropic",
refPage: "anthropicllm",
description:
"Anthropic builds state-of-the-art models with large context length and high recall",
icon: "anthropic.png",
tags: [ModelProviderTags.RequiresApiKey],
longDescription:
"To get started with Anthropic models, you first need to sign up for the open beta [here](https://claude.ai/login) to obtain an API key.",
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your Anthropic API key",
required: true,
},
...completionParamsInputsConfigs,
{
...completionParamsInputs.contextLength,
defaultValue: 100000,
},
],
packages: [
models.claude46Opus,
models.claude46Sonnet,
models.claude4_5Opus,
models.claude45Sonnet,
models.claude45Haiku,
models.claude41Opus,
models.claude4Sonnet,
],
apiKeyUrl: "https://console.anthropic.com/account/keys",
},
openrouter: {
title: "OpenRouter",
provider: "openrouter",
description:
"OpenRouter provides access to a variety of LLMs including open-source and proprietary models.",
longDescription: `To get started with OpenRouter, sign up for an account at [openrouter.ai](https://openrouter.ai/) and obtain your API key from the dashboard.`,
icon: "openrouter.png",
tags: [ModelProviderTags.RequiresApiKey],
refPage: "openrouter",
apiKeyUrl: "https://openrouter.ai/settings/keys",
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your OpenRouter API key",
required: true,
},
...completionParamsInputsConfigs,
],
packages: [
{
title: "Loading models...",
description: "Fetching available models from OpenRouter",
params: { model: "placeholder" },
isOpenSource: false,
},
],
},
moonshot: {
title: "Moonshot",
provider: "moonshot",
description: "Use the Moonshot API for LLMs",
longDescription: `[Visit our documentation](https://docs.continue.dev/reference/Model%20Providers/moonshot) for information on obtaining an API key.`,
icon: "moonshot.png",
tags: [ModelProviderTags.RequiresApiKey],
refPage: "moonshot",
apiKeyUrl: "https://docs.moonshot.cn/docs/getting-started",
packages: [models.kimiK2, models.kimiK25, models.moonshotChat],
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your Moonshot API key",
required: true,
},
...completionParamsInputsConfigs,
],
},
zAI: {
title: "Z.ai",
provider: "zAI",
description: "Use Z.ai's GLM models for chat and coding tasks",
longDescription:
"Z.ai (formerly Zhipu AI) provides the GLM family of large language models. Get your API key from the [Z.ai platform](https://z.ai/manage-apikey/apikey-list).",
icon: "zai.svg",
tags: [ModelProviderTags.RequiresApiKey],
packages: [models.glm5, models.glm47, models.glm45],
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your Z.ai API key",
required: true,
},
...completionParamsInputsConfigs,
],
apiKeyUrl: "https://z.ai/manage-apikey/apikey-list",
},
"function-network": {
title: "Function Network",
provider: "function-network",
refPage: "function-network",
description:
"Run open-source models on Function Network. Private, Affordable User-Owned AI",
icon: "function-network.png",
longDescription: `Function Network is a private, affordable user-owned AI platform that allows you to run open-source models. Experience bleeding-edge Generative AI models with limitless scalability, all powered by our distributed inference network.`,
tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource],
params: {
apiKey: "",
},
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your Function Network API key",
required: true,
},
...completionParamsInputsConfigs,
],
packages: [models.llama31Chat, models.deepseek],
apiKeyUrl: "https://function.network/join-waitlist",
},
ovhcloud: {
title: "OVHcloud",
provider: "ovhcloud",
refPage: "ovhcloud",
description:
"OVHcloud AI Endpoints is a serverless inference API that provides access to a curated selection of models (e.g., Llama, Mistral, Qwen, Deepseek). It is designed with security and data privacy in mind and is compliant with GDPR.",
longDescription: `To get started, create an API key on the OVHcloud [AI Endpoints website](https://endpoints.ai.cloud.ovh.net/). For more information, including pricing, visit the OVHcloud [AI Endpoints product page](https://www.ovhcloud.com/en/public-cloud/ai-endpoints/).`,
params: {
apiKey: "",
},
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API key",
placeholder: "Enter your AI Endpoints API key",
required: true,
},
...completionParamsInputsConfigs,
],
icon: "ovhcloud.png",
tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource],
packages: [
models.llama318bChat,
models.llama3170bChat,
models.llama3370bChat,
models.codestralMamba,
models.mistralOs,
models.mistralNemo,
models.Qwen25Coder32b,
models.Qwen3Coder30BA3B,
models.Qwen25VL72B,
models.qwen332B,
models.MistralSmall32,
models.gptOss20B,
models.gptOss120B,
models.deepseekR1DistillLlama70B,
],
apiKeyUrl: "https://endpoints.ai.cloud.ovh.net/",
},
scaleway: {
title: "Scaleway",
provider: "scaleway",
refPage: "scaleway",
description:
"Use the Scaleway Generative APIs to instantly access leading open models",
longDescription: `Hosted in European data centers, ideal for developers requiring low latency, full data privacy, and compliance with EU AI Act. You can generate your API key in [Scaleway's console](https://console.scaleway.com/generative-api/models). Get started:\n1. Create an API key [here](https://console.scaleway.com/iam/api-keys/)\n2. Paste below\n3. Select a model preset`,
params: {
apiKey: "",
},
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API key",
placeholder: "Enter your Scaleway API key",
required: true,
},
...completionParamsInputsConfigs,
],
icon: "scaleway.png",
tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource],
packages: [
models.llama318bChat,
models.llama3170bChat,
models.mistralNemo,
models.Qwen25Coder32b,
],
apiKeyUrl: "https://console.scaleway.com/iam/api-keys",
},
azure: {
title: "Azure OpenAI",
provider: "azure",
description:
"Azure OpenAI Service offers industry-leading coding and language AI models that you can fine-tune to your specific needs for a variety of use cases.",
longDescription: `[Visit our documentation](https://docs.continue.dev/reference/Model%20Providers/azure) for information on obtaining an API key.
Select the \`GPT-4o\` model below to complete your provider configuration, but note that this will not affect the specific model you need to select when creating your Azure deployment.`,
icon: "azure.png",
tags: [ModelProviderTags.RequiresApiKey],
refPage: "azure",
apiKeyUrl:
"https://azure.microsoft.com/en-us/products/ai-services/openai-service",
packages: [models.gpt4o],
params: {
apiKey: "",
deployment: "",
apiBase: "",
apiVersion: "",
apiType: "azure",
},
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your Azure OpenAI API key",
required: true,
},
{
inputType: "text",
key: "deployment",
label: "Deployment",
placeholder: "Enter the deployment name",
required: true,
},
{ ...apiBaseInput, required: true },
{
inputType: "text",
key: "apiVersion",
label: "API Version",
placeholder: "Enter the API version",
required: false,
defaultValue: "2023-07-01-preview",
},
...completionParamsInputsConfigs,
],
},
mistral: {
title: "Mistral",
provider: "mistral",
description:
"The Mistral API provides seamless access to their models, including Codestral, Mistral 8x22B, Mistral Large, and more.",
icon: "mistral.png",
longDescription: `To get access to the Mistral API, obtain your API key from [here](https://console.mistral.ai/codestral) for Codestral or the [Mistral platform](https://docs.mistral.ai/) for all other models.`,
tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource],
params: {
apiKey: "",
},
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your Mistral API key",
required: true,
},
...completionParamsInputsConfigs,
],
packages: [
models.devstralMedium,
models.devstralSmall,
models.magistralMedium,
models.ministral8b,
models.codestral,
models.codestralMamba,
models.mistralLarge,
models.mistralSmall,
models.mistral8x22b,
models.mistral8x7b,
models.mistral7b,
],
apiKeyUrl: "https://console.mistral.ai/codestral",
},
mimo: {
title: "Xiaomi Mimo",
provider: "mimo",
description: "Use Xiaomi's Mimo models for fast and efficient AI responses",
longDescription:
"Xiaomi Mimo provides OpenAI-compatible API access to their language models. Get your API key from the [Xiaomi Mimo Platform](https://platform.xiaomimimo.com/).",
icon: "mimo.png",
tags: [ModelProviderTags.RequiresApiKey],
packages: [models.mimoV2Flash],
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your Xiaomi Mimo API key",
required: true,
},
...completionParamsInputsConfigs,
],
apiKeyUrl: "https://platform.xiaomimimo.com/",
},
ollama: {
title: "Ollama",
provider: "ollama",
description:
"One of the fastest ways to get started with local models on Mac, Linux, or Windows",
longDescription:
'To get started with Ollama, follow these steps:\n1. Download from [ollama.ai](https://ollama.ai/download) and open the application\n2. Open a terminal and run `ollama run <MODEL_NAME>`. Example model names are `codellama:7b-instruct` or `llama2:7b-text`. You can find the full list [here](https://ollama.ai/library).\n3. Make sure that the model name used in step 2 is the same as the one in config.json (e.g. `model="codellama:7b-instruct"`)\n4. Once the model has finished downloading, you can start asking questions through Continue.',
icon: "ollama.png",
tags: [ModelProviderTags.Local, ModelProviderTags.OpenSource],
packages: [
{
...models.AUTODETECT,
params: {
...models.AUTODETECT.params,
title: "Ollama",
},
},
...ollamaStaticModels,
],
collectInputFor: [
...completionParamsInputsConfigs,
{ ...apiBaseInput, defaultValue: "http://localhost:11434" },
],
downloadUrl: "https://ollama.ai/download",
},
cohere: {
title: "Cohere",
provider: "cohere",
refPage: "cohere",
description:
"Optimized for enterprise generative AI, search and discovery, and advanced retrieval.",
icon: "cohere.png",
tags: [ModelProviderTags.RequiresApiKey],
longDescription:
"To use Cohere, visit the [Cohere dashboard](https://dashboard.cohere.com/api-keys) to create an API key.",
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your Cohere API key",
required: true,
},
...completionParamsInputsConfigs,
],
packages: [
models.commandA032025,
models.commandR7BArabic022025,
models.commandR7B122024,
models.commandRPlus082024,
models.commandR082024,
models.commandRPlus042024,
models.commandR032024,
models.c4aiAyaVision32B,
models.c4aiAyaVision8B,
models.c4aiAyaExpanse32B,
models.c4aiAyaExpanse8B,
],
apiKeyUrl: "https://docs.cohere.com/v2/docs/rate-limits",
},
groq: {
title: "Groq",
provider: "groq",
icon: "groq.png",
description:
"Groq is the fastest LLM provider by a wide margin, using 'LPUs' to serve open-source models at blazing speed.",
longDescription:
"To get started with Groq, obtain an API key from their website [here](https://wow.groq.com/).",
tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource],
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your Groq API key",
required: true,
},
],
packages: [
models.llama3170bChat,
models.llama318bChat,
{ ...models.mixtralTrial, title: "Mixtral" },
{
...models.AUTODETECT,
params: {
...models.AUTODETECT.params,
title: "Groq",
},
},
],
apiKeyUrl: "https://console.groq.com/keys",
},
minimax: {
title: "MiniMax",
provider: "minimax",
description:
"MiniMax offers high-performance models with 200K+ context windows at competitive pricing.",
longDescription:
"To get started with MiniMax, obtain an API key from the [MiniMax Platform](https://platform.minimax.io).",
tags: [ModelProviderTags.RequiresApiKey],
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your MiniMax API key",
required: true,
},
],
packages: [
models.minimaxM27,
models.minimaxM27Highspeed,
models.minimaxM25,
models.minimaxM25Highspeed,
{
...models.AUTODETECT,
params: {
...models.AUTODETECT.params,
title: "MiniMax",
},
},
],
apiKeyUrl: "https://platform.minimax.io",
},
inception: {
title: "Inception Labs",
provider: "inception",
icon: "inception.png",
description:
"Inception Labs provides Mercury 2, a fast diffusion model with 128k context and tool calling.",
longDescription:
"To get started with Inception Labs, obtain an API key from the [Inception Labs platform](https://platform.inceptionlabs.ai/). Mercury 2 is OpenAI-compatible and supports chat, tool calling, and structured outputs.",
tags: [ModelProviderTags.RequiresApiKey],
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your Inception Labs API key",
required: true,
},
...completionParamsInputsConfigs,
],
packages: [models.mercury2],
apiKeyUrl: "https://platform.inceptionlabs.ai/",
},
deepseek: {
title: "DeepSeek",
provider: "deepseek",
icon: "deepseek.png",
description:
"DeepSeek provides cheap inference of its DeepSeek Coder v2 and other impressive open-source models.",
longDescription:
"To get started with DeepSeek, obtain an API key from their website [here](https://platform.deepseek.com/api_keys).",
tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource],
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your DeepSeek API key",
required: true,
},
],
packages: [
models.deepseekCoderApi,
models.deepseekChatApi,
models.deepseekReasonerApi,
],
apiKeyUrl: "https://platform.deepseek.com/api_keys",
},
together: {
title: "TogetherAI",
provider: "together",
refPage: "together",
description:
"Use the TogetherAI API for extremely fast streaming of open-source models",
icon: "together.png",
longDescription: `Together is a hosted service that provides extremely fast streaming of open-source language models. To get started with Together:\n1. Obtain an API key from [here](https://together.ai)\n2. Paste below\n3. Select a model preset`,
tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource],
params: {
apiKey: "",
},
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your TogetherAI API key",
required: true,
},
...completionParamsInputsConfigs,
],
packages: [
models.llama31Chat,
models.codeLlamaInstruct,
models.mistralOs,
].map((p) => {
p.params.contextLength = 4096;
return p;
}),
apiKeyUrl: "https://api.together.xyz/settings/api-keys",
},
ncompass: {
title: "nCompass",
provider: "ncompass",
refPage: "ncompass",
description:
"Use the nCompass API for extremely fast streaming of open-source models",
icon: "ncompass.png",
longDescription: `nCompass is an extremely fast inference engine for open-source language models. To get started, obtain an API key from [their console](https://app.ncompass.tech/api-settings).`,
tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource],
params: {
apiKey: "",
},
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your nCompass API key",
required: true,
},
...completionParamsInputsConfigs,
],
packages: [
models.llama318bChat,
models.llama3370bChat,
models.Qwen25Coder32b,
].map((p) => {
p.params.contextLength = 4096;
return p;
}),
apiKeyUrl: "https://app.ncompass.tech/api-settings",
},
novita: {
title: "NovitaAI",
provider: "novita",
refPage: "novita",
description:
"Use Novita AI API for extremely fast streaming of open-source models",
icon: "novita.png",
longDescription: `[Novita AI](https://novita.ai?utm_source=github_continuedev&utm_medium=github_readme&utm_campaign=github_link) offers an affordable, reliable, and simple inference platform with scalable [LLM APIs](https://novita.ai/docs/model-api/reference/introduction.html), empowering developers to build AI applications. To get started with Novita AI:\n1. Obtain an API key from [here](https://novita.ai/settings/key-management?utm_source=github_continuedev&utm_medium=github_readme&utm_campaign=github_link)\n2. Paste below\n3. Select a model preset`,
tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource],
params: {
apiKey: "",
},
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your Novita AI API key",
required: true,
},
...completionParamsInputsConfigs,
],
packages: [
models.llama318BChat,
models.mistralChat,
models.deepseekR1Chat,
models.deepseekV3Chat,
].map((p) => {
p.params.contextLength = 4096;
return p;
}),
apiKeyUrl:
"https://novita.ai/settings/key-management?utm_source=github_continuedev&utm_medium=github_readme&utm_campaign=github_link",
},
gemini: {
title: "Google Gemini API",
provider: "gemini",
refPage: "geminiapi",
description:
"Try out Google's state-of-the-art Gemini model from their API.",
longDescription: `To get started with Google Gemini API, obtain your API key from [here](https://ai.google.dev/tutorials/workspace_auth_quickstart) and paste it below.`,
icon: "gemini.png",
tags: [ModelProviderTags.RequiresApiKey],
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your Gemini API key",
required: true,
},
],
packages: [
models.gemini31ProPreview,
models.gemini3FlashPreview,
models.gemini31FlashLitePreview,
models.gemini25Pro,
models.gemini25Flash,
models.gemini25FlashLite,
],
apiKeyUrl: "https://aistudio.google.com/app/apikey",
},
xAI: {
title: "xAI",
provider: "xAI",
icon: "xAI.png",
description:
"xAI is a company working on building artificial intelligence to accelerate human scientific discovery",
longDescription:
"To get started with xAI, obtain an API key from their [console](https://console.x.ai/).",
tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource],
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your xAI API key",
required: true,
},
],
packages: [
models.grokCodeFast1,
models.grok4Fast,
models.grok4FastReasoning,
models.grok4FastNonReasoning,
models.grok41Fast,
models.grok41FastReasoning,
models.grok41FastNonReasoning,
models.grok4,
models.grok3,
models.grok3Fast,
models.grok3Mini,
],
apiKeyUrl: "https://console.x.ai/",
},
lemonade: {
title: "Lemonade",
provider: "lemonade",
description:
"High-performance local LLM inference with AMD hardware optimization",
longDescription:
"Lemonade provides optimized local LLM inference with support for AMD NPU, GPU, and CPU acceleration. Visit [lemonade-server.ai](https://lemonade-server.ai/) for installation and setup instructions. Once the Lemonade server is running, you can begin using Continue with your local models.",
icon: "lemonade.png",
tags: [ModelProviderTags.Local, ModelProviderTags.OpenSource],
params: {
apiBase: "http://localhost:8000/api/v1/",
},
packages: [
{
...models.AUTODETECT,
params: {
...models.AUTODETECT.params,
title: "Lemonade",
},
},
...openSourceModels,
],
collectInputFor: [
...completionParamsInputsConfigs,
{
...apiBaseInput,
defaultValue: "http://localhost:8000/api/v1/",
required: true,
},
],
downloadUrl: "http://lemonade-server.ai",
},
lmstudio: {
title: "LM Studio",
provider: "lmstudio",
description:
"One of the fastest ways to get started with local models on Mac or Windows",
longDescription:
"LMStudio provides a professional and well-designed GUI for exploring, configuring, and serving LLMs. It is available on both Mac and Windows. To get started:\n1. Download from [lmstudio.ai](https://lmstudio.ai/) and open the application\n2. Search for and download the desired model from the home screen of LMStudio.\n3. In the left-bar, click the '<->' icon to open the Local Inference Server and press 'Start Server'.\n4. Once your model is loaded and the server has started, you can begin using Continue.",
icon: "lmstudio.png",
tags: [ModelProviderTags.Local, ModelProviderTags.OpenSource],
params: {
apiBase: "http://localhost:1234/v1/",
},
packages: [
{
...models.AUTODETECT,
params: {
...models.AUTODETECT.params,
title: "LM Studio",
},
},
...openSourceModels,
],
collectInputFor: [...completionParamsInputsConfigs],
downloadUrl: "https://lmstudio.ai/",
},
llamafile: {
title: "llamafile",
provider: "llamafile",
icon: "llamafile.png",
description:
"llamafiles are a self-contained binary to run an open-source LLM",
longDescription: `To get started with llamafiles, find and download a binary on their [GitHub repo](https://github.com/Mozilla-Ocho/llamafile?tab=readme-ov-file#quickstart). Then run it with the following command:\n\n\`\`\`shell\nchmod +x ./llamafile\n./llamafile\n\`\`\``,
tags: [ModelProviderTags.Local, ModelProviderTags.OpenSource],
packages: openSourceModels,
collectInputFor: [...completionParamsInputsConfigs],
downloadUrl:
"https://github.com/Mozilla-Ocho/llamafile?tab=readme-ov-file#quickstart",
},
replicate: {
title: "Replicate",
provider: "replicate",
refPage: "replicatellm",
description: "Use the Replicate API to run open-source models",
longDescription: `Replicate is a hosted service that makes it easy to run ML models. To get started with Replicate:\n1. Obtain an API key from [here](https://replicate.com)\n2. Paste below\n3. Select a model preset`,
params: {
apiKey: "",
},
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your Replicate API key",
required: true,
},
...completionParamsInputsConfigs,
],
icon: "replicate.png",
tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource],
packages: [
models.llama3Chat,
models.codeLlamaInstruct,
models.wizardCoder,
models.mistralOs,
models.claude4Sonnet,
],
apiKeyUrl: "https://replicate.com/account/api-tokens",
},
"llama.cpp": {
title: "llama.cpp",
provider: "llama.cpp",
refPage: "llamacpp",
description: "If you are running the llama.cpp server from source",
longDescription: `llama.cpp comes with a [built-in server](https://github.com/ggerganov/llama.cpp/tree/master/examples/server#llamacppexampleserver) that can be run from source. To do this:
1. Clone the repository with \`git clone https://github.com/ggerganov/llama.cpp\`.
2. \`cd llama.cpp\`
3. Run \`make\` to build the server.
4. Download the model you'd like to use and place it in the \`llama.cpp/models\` directory (the best place to find models is [The Bloke on HuggingFace](https://huggingface.co/TheBloke))
5. Run the llama.cpp server with the command below (replacing with the model you downloaded):
\`\`\`shell
.\\server.exe -c 4096 --host 0.0.0.0 -t 16 --mlock -m models/codellama-7b-instruct.Q8_0.gguf
\`\`\`
After it's up and running, you can start using Continue.`,
icon: "llamacpp.png",
tags: [ModelProviderTags.Local, ModelProviderTags.OpenSource],
packages: openSourceModels,
collectInputFor: [...completionParamsInputsConfigs],
downloadUrl: "https://github.com/ggerganov/llama.cpp",
},
"openai-aiohttp": {
title: "Other OpenAI-compatible API",
provider: "openai",
description:
"If you are using any other OpenAI-compatible API, for example text-gen-webui, FastChat, LocalAI, or llama-cpp-python, you can simply enter your server URL",
longDescription: `If you are using any other OpenAI-compatible API, you can simply enter your server URL. If you still need to set up your model server, you can follow a guide below:
- [text-gen-webui](https://github.com/oobabooga/text-generation-webui/tree/main/extensions/openai#setup--installation)
- [LocalAI](https://localai.io/basics/getting_started/)
- [llama-cpp-python](https://github.com/continuedev/ggml-server-example)
- [FastChat](https://github.com/lm-sys/FastChat/blob/main/docs/openai_api.md)`,
params: {
apiBase: "",
},
collectInputFor: [
{
...apiBaseInput,
defaultValue: "http://localhost:8000/v1/",
},
...completionParamsInputsConfigs,
],
icon: "openai.png",
tags: [ModelProviderTags.Local, ModelProviderTags.OpenSource],
packages: [
{
...models.AUTODETECT,
params: {
...models.AUTODETECT.params,
title: "OpenAI",
},
},
...openSourceModels,
],
},
watsonx: {
title: "IBM watsonx",
provider: "watsonx",
refPage: "watsonX",
description:
"Explore foundation models from IBM and other third-parties depending on your use case.",
longDescription: `**watsonx**, developed by IBM, offers a variety of pre-trained AI foundation models that can be used for natural language processing (NLP), computer vision, and speech recognition tasks.
To get started, [register](https://dataplatform.cloud.ibm.com/registration/stepone?context=wx) on watsonx SaaS, create your first project and setup an [API key](https://www.ibm.com/docs/en/mas-cd/continuous-delivery?topic=cli-creating-your-cloud-api-key).`,
collectInputFor: [
{
inputType: "text",
key: "apiBase",
label: "watsonx URL",
placeholder: "e.g. http://us-south.dataplatform.cloud.ibm.com",
required: true,
},
{
inputType: "text",
key: "projectId",
label: "Project ID",
placeholder: "Enter your project ID",
required: true,
},
{
inputType: "text",
key: "apiKey",
label: "API key",
placeholder: "Enter your API key (SaaS) or ZenApiKey (Software)",
required: true,
},
{
inputType: "text",
key: "apiVersion",
label: "API version",
placeholder: "Enter the API Version",
defaultValue: "2024-03-14",
required: true,
},
{
inputType: "text",
key: "deploymentId",
label: "Deployment ID",
placeholder: "Enter model deployment ID",