> For the complete documentation index, see [llms.txt](https://docs.chatboxai.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chatboxai.app/en/guides/providers.md).

# Model Configuration

Quick configuration for custom AI providers

1. Open Chatbox, click the settings button in the sidebar to enter the settings page
2. Click on Model Provider option

<figure><img src="/files/iSSJA997lB5iE5nVYx6r" alt="" width="375"><figcaption></figcaption></figure>

3. If the AI provider you need is not available, you can click the "Add" button at the bottom to add a provider.
4. Enter the API provider name, select the appropriate option based on the provider's API type, such as OpenAI API compatible for GPT models, or Google Gemini compatible for Gemini models

<figure><img src="/files/WU95CE1UgrDMoJDHH4Gz" alt="" width="375"><figcaption></figcaption></figure>

5. Fill in the API Key and API Host according to the provider's information. The API path generally doesn't need to be filled in, defaulting to `/v1/chat/completions`. Refer to the provider's information for specifics.

   <figure><img src="/files/P6GyQ1vrO8Fi7DQRvDRR" alt="" width="375"><figcaption></figcaption></figure>
6. Add at least one model, check the corresponding capability configuration for the model (optional, unconfigured models are treated as plain text models)

<figure><img src="/files/oQtZuZhcTIA2PSfSq4Kl" alt="" width="375"><figcaption></figcaption></figure>

7. After saving, click the "Check" button, and it should show connection successful

<figure><img src="/files/puSPS8VErZLCvoaSuGc1" alt="" width="375"><figcaption></figcaption></figure>

8. Return to the home page, create a new conversation, and you can start chatting

   <figure><img src="/files/AR8ZtA1oeRrSyJJ6uOlv" alt="" width="375"><figcaption></figcaption></figure>
