# Connect Open WebUI to the PromptAvenue API

In Open WebUI’s admin panel, open Settings → Connections and add an OpenAI API connection to `https://api.promptavenue.com/v1` with your PromptAvenue API key. Click Verify Connection and save. Select a PromptAvenue Uncensored model in a new chat and check that `8 × 7` returns `56`.

[Model pricing](https://promptavenue.com/pricing) · [Run the API quickstart](https://promptavenue.com/docs/quickstart)

## What you need

- A [PromptAvenue account](https://api.promptavenue.com/sign-up?utm_source=docs&utm_medium=guide&utm_campaign=open-webui) with API balance.
- An Open WebUI instance with administrator access. These steps use Open WebUI v0.13.5.
- Network access to `api.promptavenue.com` from the Open WebUI server.

## 1. Create a PromptAvenue API key

In the PromptAvenue dashboard, open the API keys page and select **Create API key**. Copy the full key when it appears.

## 2. Add the OpenAI API base URL in Open WebUI

1. In the admin panel, open **Settings → Connections**. Click **+** under **OpenAI API**.
2. Set **URL** to `https://api.promptavenue.com/v1` and paste the PromptAvenue key in **API Key**.
3. Choose **Verify Connection**, then save the connection.
4. Leave **Model IDs** empty for automatic discovery. If the model is missing, add `deepseek-v4.1-flash-uncensored` under **Model IDs** with **+**, then save.

## 3. Verify the model in Open WebUI

Open a new chat, choose `deepseek-v4.1-flash-uncensored` in the model picker, and send the following prompt.

> What is 8 multiplied by 7? Answer with the number.

Expect the chat to display `56`. That checks generation as well as model selection.

## Common errors

| Symptom | What to check |
| --- | --- |
| Connection fails | Check that the OpenAI API connection is enabled, the URL ends in `/v1`, and the Open WebUI server can reach the host. |
| Authentication error | Open the connection and check the saved PromptAvenue key. |
| API models do not show up | Check **Model IDs** on the connection. Add the exact model ID to the allowlist and refresh the model picker. |
| Balance or rate-limit error | Check the dashboard balance if the error mentions funds. For rate limits, wait before retrying. |
