Skip to content

Model providers

The AI features of Locus use a model from a provider of your choice, with your own API key. You pay the provider for what you use. Locus itself does not charge anything.

  1. Open Settings > AI features > General.
  2. Click Set up AI.
  3. Choose a provider.
  4. Paste your API key and click Next. Locus checks that the key works before it saves it.
  5. Choose a model and click Use this model.
The AI features settings with the Set up AI button Choosing a provider in Set up AI

The AI sidebar and natural language input then use this model. You can change the model later under AI sidebar.

Turn on AI features under General controls everything at once. When it is off, the AI sidebar is hidden, natural language input does nothing and the MCP server stops.

Provider Where to get a key
Anthropic Anthropic Console
OpenAI OpenAI Platform
OpenRouter OpenRouter
Google Gemini Google AI Studio
Mistral Mistral Console
Groq Groq Console
DeepSeek DeepSeek Platform
xAI xAI Console
Ollama No key needed. Runs models on your own computer.
Custom Any service with an OpenAI compatible API. Enter its base URL and, if needed, a key.

Settings > AI features > Model providers lists the providers you added. Click Add provider… to add another one, Change to enter a new key or base URL, or Remove to delete a provider and its key.

The Model providers settings with two providers

Base URL is the address of the API. Only change it if you use a proxy or run the service yourself. Leave it empty to use the default.

Keys are stored on your computer. In the web app they are stored in your browser.