3.9 KiB
sidebar_position, title
| sidebar_position | title |
|---|---|
| 2 | Configure LLM Provider |
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
Supported LLM Providers
You can use Goose with your preferred LLM. Goose supports a variety of LLM providers. To configure your chosen provider or see available options, run goose configure in the CLI or visit the Provider Settings page in the Goose Desktop.

**To update your LLM provider and API key:**
1. Click on the three dots in the top-right corner.
2. Select `Provider Settings` from the menu.
3. Click Edit, enter your API key, and click `Set as Active`.
Available Providers
- OpenAI
- Databricks
- Ollama
- Anthropic
- Google Gemini
- Groq
- OpenRouter
OpenAI
OpenAI offers powerful language models that include GPT-4, GPT-3.5-turbo, and more.
- Run the following command and choose "Configure Providers":
goose configure - Select
OpenAIfrom the list of available providers. - Enter your
OPENAI_API_KEYwhen prompted, which you can obtain by registering at OpenAI's platform.
Databricks
Databricks is a data analytics and AI platform that provides access to various AI models and tools. They offer integration with popular models and custom model deployment.
- Run the following command and choose "Configure Providers":
goose configure - Select
Databricksas your provider. - Enter your
DATABRICKS_HOSTandDATABRICKS_TOKEN, which can be generated in your Databricks Account Settings.
Ollama
Ollama is an open-source project that allows running large language models locally. It supports various open-source models and provides an API for integration.
- Run the following command and choose "Configure Providers":
goose configure - Select
Ollamaand follow the steps to download and set up your models as detailed on Ollama's site. RequiresOLLAMA_HOST.
Anthropic
Anthropic is an AI research company that offers advanced language models through its API. Their primary model is Claude, which comes in various versions.
- Run the following command and choose "Configure Providers":
goose configure - Choose
Anthropicand provide theANTHROPIC_API_KEY, obtainable via Anthropic's platform.
Google Gemini
Google Gemini is a suite of large language models developed by Google. It offers multimodal capabilities and can be accessed through the Google AI Studio.
- Run the following command and choose "Configure Providers":
goose configure - Pick
Google Geminifrom the list of providers and input yourGOOGLE_API_KEY. .
Groq
Groq is an AI company that offers high-performance inference for large language models. They provide access to various models through their API.
- Run the following command and choose "Configure Providers":
goose configure - Select
Groqfrom the list of providers and input yourGROQ_API_KEY, set up via the Groq Console.
OpenRouter
OpenRouter is a platform that provides access to multiple AI models from various providers through a single API. It simplifies the process of using different AI models in applications.
-
Run the following command and choose "Configure Providers":
goose configure -
Select
OpenRouterfrom the list of providers and input yourOPENROUTER_API_KEY, set up via the OpenRouter Console.