# How do I choose the AI that runs my bots?

Source: https://help.locul.ai/articles/choose-the-ai-that-runs-your-bots

Set the default for all your bots in **Settings** > **AI model**. You can also switch the AI for one chat, or give one bot its own default.

A bot picks its AI in this order: what you picked in that chat, then that bot's own default, then your default for all bots.

## Set the default for all bots

1. Click the **Settings** gear at the bottom of the left rail.
2. Under **Bots**, click **AI model**.
3. Under **Default for all bots**, choose one:
   - **Open models**: a provider you choose runs an open model, with your own access key.
   - **Your own server**: this computer, or a server your firm or IT partner runs.
   - **Claude**: uses Claude Code with your Claude plan.
   - **ChatGPT subscription, through Codex**: uses Codex with your ChatGPT plan.
   - **Grok subscription, through the Grok CLI**: uses the Grok CLI with your Grok plan.
4. Follow the panel that opens to finish setup. The next message uses the new choice.

At the top of the page, **Your AI subscriptions** shows each subscription as Connected, Needs sign-in or Not installed.

![The AI model page in Settings, with your AI subscriptions and the Default for all bots choices](https://cdn.kamaan.io/kamaan/sites/6ae9f4f30e569a4449787b27/images/locul-settings-model-b2eb-da414108.webp)## Switch the AI for one chat

1. Under the message box, click the model name (for example **Claude Sonnet**).
2. Pick an AI and model from the list.

Switching keeps the conversation: the new AI gets a short summary and carries on. To make this choice stick for the bot, tick **Always use this for this bot**. **Model settings** opens the AI model page.

![The AI and model menu for a chat](https://cdn.kamaan.io/kamaan/sites/6ae9f4f30e569a4449787b27/images/locul-model-picker-7237-8f52e9f6.webp)
## Give one bot its own AI

1. Open the bot and click its name at the top of the chat.
2. In the **Details** tab, open **About**.
3. Change **Thinks with**.

## Good to know

- With ChatGPT or Grok as your choice, chats use that AI. Routines and bot-to-bot questions use Claude when it is connected.
- Each AI uses its own subscription and its own connected apps.
- Under **Default model for each AI**, you can set which model each AI starts with.

## Troubleshooting

**"Codex isn't installed on this computer yet"** or the Grok version of this message: install Codex, or the Grok CLI from x.ai/cli, sign in once in your terminal, then choose it again.

**"Needs Codex sign-in" or "Needs Grok sign-in":** open your terminal, type `codex login` (or `grok login`) and press Enter.

**Claude does not answer:** on the AI model page, under **Connection check**, click **Check again**. If Claude Code is missing, click **Get Claude Code**. If you are signed out, open your terminal, type `claude`, and sign in.

## Related articles

- [Run Locul with a local model](/articles/run-locul-with-a-local-model)
- [Use an EU or Swiss AI provider](/articles/use-an-eu-or-in-country-ai-provider)
- [Chat with a bot](/articles/chat-with-a-bot)
- [Cloud and local: where Locul runs](/articles/cloud-and-local-where-locul-runs)
