Open WebUI Getting Started with an Uncensored API
This open webui getting started guide takes you from an empty machine to a working chat with an uncensored OpenAI-compatible API. You need Docker or Python, an API key, and about ten minutes.
Updated

Key points
- Install Open WebUI with one Docker command, then add the API under Admin Settings, Connections.
- Use the base URL with the /v1 suffix and pick the model ID uncensored.
- Background features such as title generation can eat your concurrency limit on a trial key.
- Set the connection through environment variables if you deploy for several users.
The short version
Open WebUI is a self-hosted chat interface that talks to any OpenAI-compatible endpoint. Getting started takes five steps:
- Run Open WebUI locally with Docker.
- Create the first account, which becomes the admin.
- Open the admin settings and add an OpenAI connection with the URL
https://api.unhingedgrok.top/v1and your key. - Choose the model
uncensoredin the model picker. - Write a system prompt and start chatting.
The rest of this page covers each step in detail, plus the problems people hit most often. If you do not have a key yet, get an API key first; new users can claim $0.50 of trial credit with one click, valid for 7 days.
Step 1: install Open WebUI
Docker is the least fiddly route. With Docker installed, this single command pulls the image, stores your data in a named volume and serves the interface on port 3000:
docker run -d -p 3000:8080 \
-v open-webui:/app/backend/data \
--name open-webui \
--restart always \
ghcr.io/open-webui/open-webui:mainGive it a minute on the first start, then open http://localhost:3000 in a browser. If you prefer Python, the project also publishes a pip package, which needs a recent Python 3 release; check the Open WebUI documentation for the supported version. After installing it you start the server with open-webui serve.
The volume matters. Without -v open-webui:/app/backend/data, your chats, settings and connection vanish when the container is recreated.
Step 2: create the admin account
The first account you register on a fresh Open WebUI becomes the administrator. The email and password are stored locally in your own instance. They have nothing to do with your API account, so pick whatever you like, and use a real password if the instance is reachable from outside your machine.
After you sign in you may see a model list from a local Ollama install, or an empty one. Either is fine. You are about to add a hosted connection next to whatever else is there.
Step 3: add the API connection
Menu names shift between releases, but the path has been stable for a while: open your profile menu, go to the admin settings, then Connections. Under the OpenAI API section, add a new connection and fill in two fields.
| Field | Value |
|---|---|
| URL | https://api.unhingedgrok.top/v1 |
| API key | your key from the dashboard |
| Model IDs (optional) | uncensored |
Save, and use the verify button if your version has one. Open WebUI asks the endpoint for its model list through GET /v1/models, which this API serves, so the model uncensored should appear in the picker on the main chat screen. If your version lets you restrict the model list, entering the ID by hand also works.
Before you trust the UI, test the key with curl
If something fails later, you want to know whether the problem is the key or the interface. This call goes straight to the API:
curl https://api.unhingedgrok.top/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"uncensored","messages":[{"role":"user","content":"Say hello in five words."}]}'A JSON reply with a choices array means the key works. The response also carries an X-Balance-USD header, handy for a quick balance check.
Step 4: configure through environment variables instead
If you run Open WebUI for a few friends or a small team, set the connection once on the server rather than in each browser. Open WebUI reads these variables on startup:
docker run -d -p 3000:8080 \
-e OPENAI_API_BASE_URL=https://api.unhingedgrok.top/v1 \
-e OPENAI_API_KEY=YOUR_KEY \
-v open-webui:/app/backend/data \
--name open-webui \
--restart always \
ghcr.io/open-webui/open-webui:mainSome versions treat these values as initial settings that are saved to the database on first launch, after which the admin panel wins. If a change to the variable seems to be ignored, edit the connection in the admin panel too.
Remember that everyone on the instance shares one key and one set of limits: a full key allows 8 concurrent requests and 300 requests per minute, while a trial key allows 2 and 60. A busy household of four people is fine on a full key and cramped on a trial one.
Step 5: set a system prompt and sampling options
An uncensored model answers in a neutral voice until you give it direction. In Open WebUI you can set a system prompt in the chat controls for the current conversation, or in the model settings so every new chat starts with it. The workspace area also lets you save a custom model preset, which bundles uncensored, a system prompt and parameters under a friendly name.
A short prompt with a role, a voice and a length limit beats a long one. For example: "You are a patient co-author of adult fiction. Write in close third person, 150 to 250 words per reply, and never write the user's character's actions."
The advanced parameters panel exposes temperature, top_p, penalties and a stop sequence, all of which the API passes through. Start with temperature 0.8 for fiction and lower it for factual work. The API takes max_tokens as optional, so you can leave it unset; the reply can use whatever remains of the 100,000-token context window.
The quickstart has the same settings in code form if you later move from the UI to scripts.
Fixing the usual problems
- No models appear. Check that the URL ends in
/v1with no trailing path and no/chat/completions. A key typo gives an authorisation error; the curl test above separates the two. - Replies fail with 429. The error code tells you why.
rate_limitedmeans too many requests per minute;concurrencymeans too many at once. A streamed reply holds its slot until it ends, so two open tabs can use up a trial key. A 429 with aRetry-After: 5header means temporary overload, and a retry after five seconds is the right response. - Extra requests you did not send. Open WebUI can fire background calls for chat titles, tags and follow-up suggestions. Each is a real request that counts toward limits and tokens. In the interface section of the admin settings you can disable these or point them at a task model; on a trial key, turning them off avoids surprise 429 errors.
- Long chats get slow and pricey. The whole history is sent every turn. Start a new chat for a new topic. The cost at $0.15 per 1M input tokens is small, but 40,000 tokens of history on every turn adds up. Forty turns at an average of 40,000 input tokens is 1,600,000 tokens, or $0.24 in input alone.
- Images do nothing. The model is text only. No image generation, audio, embeddings or fine-tuning.
Check the pricing page for top-up amounts and bonuses. Top-ups are crypto only, USDT on TRC20 or USDC on Base, and prepaid credit never expires. For a longer look at why people choose this route, see the pay-per-token guide.
More guides
Questions and answers
Does Open WebUI work with any OpenAI-compatible API?
Yes. You add the base URL and key under Connections. This API follows the OpenAI format for chat completions and the model list, so it works the same way.
What do I type as the model name?
uncensored. It also shows up in the picker once the connection is verified and the /v1/models call succeeds.
Are my prompts used for training?
No. Prompts sent through the API are not used for training. Your Open WebUI chats are stored in your own instance's volume.
Why does a trial key hit limits so quickly?
A trial key allows 2 concurrent requests and 60 requests per minute. Background title and tag generation in Open WebUI counts against that.
Is any content blocked?
The model is tuned to answer without content refusals for lawful adult use. Sexual content involving minors is never allowed.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.