The short version
If you only want the settings, here they are. Open WebUI treats this service as an OpenAI connection, because the API follows the OpenAI chat format. For a setup that matches the search uncensored llms api open webui, you enter these values and nothing else:
| Field in Open WebUI | Value |
|---|---|
| API Base URL | https://api.uncensoredllms.top/v1 |
| API Key | The key from your API key page |
| Model ID | uncensored |
Save the connection, open a new chat, pick uncensored from the model selector and send a message. If a reply streams in, you are done. The rest of this article covers the longer route: where each setting lives, how to preconfigure it for Docker, how to test outside the UI and how to fix the usual errors.
What you need before you start
You need a running Open WebUI instance (local, on a home server or on a VPS) and an account on the API side. Sign-up works with Google or with email and password. After sign-up, the API key page shows your key, and new users can claim $0.50 of trial credit there with one click. The trial needs no card, lasts 7 days and is limited to one per person.
The trial is enough to confirm that the wiring works, but it is a small amount, and the trial key is limited to 2 concurrent requests and 60 requests per minute. A full key gets 8 concurrent requests and 300 requests per minute. That difference becomes relevant in Open WebUI, as explained below. Prices for later top-ups are on the pricing page.
What you are connecting to is a single open-weight text model, tuned to answer without content refusals for lawful adult use. It is run by an independent provider and is not the official API of any model vendor. It generates text only. There is no image generation, no audio and no embeddings, so Open WebUI features that depend on those (such as image generation or a document embedding backend) need another source.
Add the connection in the admin panel
The menu names change a little between Open WebUI releases, but the path has stayed the same for a long time. Log in as an admin and follow these steps.
- Open your profile menu and choose Admin Panel, then Settings, then Connections.
- Find the OpenAI API section and click the plus button to add a connection.
- In the URL field, paste
https://api.uncensoredllms.top/v1. Keep the/v1at the end and do not add a trailing path such as/chat/completions. - Paste your key into the key field.
- If the dialog has a model IDs field (an allow-list), you can type
uncensoredthere. Leaving it empty makes Open WebUI callGET /v1/modelsand list whatever comes back. - Use the verify button next to the fields if your version has one, then save.
When the model list refreshes, uncensored should appear in the selector at the top of a new chat. If you run several connections, for example a local model and this API, Open WebUI shows models from all of them in one list, so you can switch per chat.
Making the model visible to other users
Models from a new connection may be private to admins by default in some versions. If other accounts on your instance cannot see uncensored, open the model in the workspace or admin model list and change its access so the right users or groups can use it. Keep in mind that every chat from your instance is billed to the one key you entered, so share it only with people you trust.
Preset the connection with Docker environment variables
If you rebuild containers often, set the connection through environment variables instead of clicking through the UI. Open WebUI reads OPENAI_API_BASE_URL and OPENAI_API_KEY on startup.
docker run -d -p 3000:8080 \
-v open-webui:/app/backend/data \
-e OPENAI_API_BASE_URL=https://api.uncensoredllms.top/v1 \
-e OPENAI_API_KEY=YOUR_KEY \
--name open-webui \
ghcr.io/open-webui/open-webui:main
Replace YOUR_KEY with your own key. For Docker Compose, put the same two variables under environment and keep the key in an .env file that is not committed to git.
One detail catches people out: Open WebUI stores settings in its data volume. After the first launch, values saved through the admin panel can take priority over the variables you pass later, depending on the version and on whether persistent config is enabled. If you change the variables and nothing happens, edit the connection in the panel or reset it there.
Test the key outside Open WebUI
When something fails, split the problem in two: does the API accept your key, and does Open WebUI reach it? A one-line curl answers the first question.
curl https://api.uncensoredllms.top/v1/models \
-H "Authorization: Bearer YOUR_KEY"
A JSON list that contains uncensored means the key and URL are right. Now send a chat request:
curl https://api.uncensoredllms.top/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "uncensored", "messages": [{"role": "user", "content": "Say hello in one sentence."}]}'
The same check in Python with the OpenAI SDK, useful if you want to confirm the streaming path:
from openai import OpenAI
client = OpenAI(base_url="https://api.uncensoredllms.top/v1", api_key="YOUR_KEY")
stream = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Say hello in one sentence."}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="")
If both commands work and Open WebUI still fails, the problem is on the Open WebUI side: the URL typed into the connection, a network rule on the machine that hosts it, or a proxy. The quickstart docs list the same endpoints and headers.
Chat settings worth changing
The model answers without content refusals, so a system prompt is the main control you have over tone and format. In Open WebUI you can set one per chat (the controls icon at the top right) or attach it to a custom model preset in the workspace. A short, specific prompt works better than a long one. Say who the assistant is, what format you want, and what it should do when a request is unclear.
Sampling parameters are passed through, so the usual sliders work: temperature, top_p, stop sequences, seed and the frequency and presence penalties. For fiction and open-ended writing, a temperature around 0.8 to 1.0 gives varied text. For structured output or code, drop it to 0.2 or lower. Setting a seed makes reruns of the same prompt easier to compare while you tune a preset.
The context window is 100,000 tokens, prompt plus completion. Open WebUI resends the whole conversation each turn, so long chats cost more per message as history grows. You do not need to set max_tokens; the completion can use the rest of the window. If you want shorter answers, say so in the system prompt rather than cutting the output off mid-sentence with a low limit.
Common problems and fixes
| Symptom | Likely cause | Fix |
|---|---|---|
| Model list is empty | URL missing /v1, or a typo in the host | Use the full base URL and run the curl test above |
| 401 or an authentication error | Wrong key, extra space, or a key pasted with quotes | Copy the key again from the API key page |
Chat fails with HTTP 429 and code concurrency | Too many requests at once for your key | Wait for streams to finish, or move to a full key (8 at once) |
429 with code rate_limited | Over the per-minute request cap | Slow down automated tools; the cap is 60 per minute on trial, 300 on a full key |
429 with a Retry-After: 5 header | Temporary overload | Retry after five seconds |
| Replies cut off or never start | A reverse proxy buffering or timing out streams | Turn off response buffering for the Open WebUI route |
The concurrency case deserves a note. A streamed request holds its slot until the stream ends, and Open WebUI can fire extra background requests next to your chat, such as generating a chat title or follow-up suggestions with the same model. On a trial key with only 2 slots, those tasks can collide with your message. Turning off the optional title and tag generation in the interface settings, or choosing a different task model, removes the clash. With a full key you will rarely notice it.
Cost and privacy in a self-hosted UI
Billing is pay as you go from prepaid credit, at $0.15 per 1M input tokens and $0.50 per 1M output tokens. There is no subscription, credit does not expire, and failed or refused requests are not charged. A typical Open WebUI exchange of 1,000 input tokens and 500 output tokens costs $0.0004, so the $0.50 trial covers about 1,250 messages of that size. The response headers include X-Balance-USD, so scripts can check the remaining balance; the pricing page has the top-up amounts and bonuses.
Prompts are not used for training. Your chat history stays in your own Open WebUI database, on your own server, which is a practical reason many people use a self-hosted front end. Do not forget to protect that instance with a login, since anyone who can open it can spend your credit. Content rules still apply: the service is for lawful adult use, and sexual content involving minors is never allowed.
