3.1 KiB
| title | description | keywords | |||||
|---|---|---|---|---|---|---|---|
| Select a provider | Swap out different LLM providers |
|
Select a model provider
Continue makes it easy to swap out different LLM providers. You can either click the "+" button next to the model dropdown to configure in the GUI or manually add them to your config.json. Once you've done this, you will be able to switch between them in the model selection dropdown.
In addition to selecting a model provider, you will need to figure out what LLM to use.
Local
You can run a model on your local computer using:
- Ollama
- LM Studio
- Llama.cpp
- LocalAI (OpenAI compatible server)
- Text generation web UI (OpenAI compatible server)
- FastChat (OpenAI compatible server)
- llama-cpp-python (OpenAI compatible server)
Once you have it running, you will need to configure it in the GUI or manually add it to your config.json.
Cloud
You can deploy a model in your AWS, GCP, Azure, or other clouds using:
- HuggingFace TGI
- vLLM
- SkyPilot
- Anyscale Private Endpoints (OpenAI compatible API)
If the API you use is OpenAI-compatible, you will be able to use the "openai" provider in config.json and change the apiBase to point to the server. Otherwise, you will need to wire up a new LLM object in config.ts. Learn how to do this here
SaaS
Open-source LLMs
You can deploy open-source LLMs on a service using:
- Together
- HuggingFace Inference Endpoints
- Anyscale Endpoints (OpenAI compatible API)
- Replicate
- Deepinfra
Commercial LLMs
You can use commercial LLMs via APIs using:
- OpenAI API
- Azure OpenAI Service (OpenAI compatible API)
- Anthrophic API
- Google PaLM API
- OpenAI free trial
- Mistral API