# TavernAI

Source: https://docs.aicentos.com/en/clients/tavernai

Language: en

> Point TavernAI at the aicentos OpenAI-compatible API: enter the Base URL and API Key to start chatting

# TavernAI

TavernAI is a roleplay chat application that supports connecting to a custom API service through an OpenAI-compatible interface.

## Open the settings

1. Start TavernAI
2. Click the settings icon in the upper-right corner
3. Find the **API Settings** or **AI Configuration** section

## Configure the API connection

In the API settings, fill in:

* **API Type**: select `OpenAI`
* **API Endpoint**: `https://aicentos.com/v1`
* **API Key**: your API Key (e.g. `codex_...` or `sk-...`)
* **Model**: the model ID (e.g. `gpt-6-astra`)

## Save and test

1. Click **Save** to save the settings
2. Return to the chat screen
3. Send a message to test the connection

## Notes

* TavernAI's interface may differ slightly between versions
* Make sure the API Endpoint ends with `/v1`
* If the connection fails, check that the API Key is correct

## Related links

TavernAI is a community project; related documentation and support can be found on GitHub.