No card needed. After sign-up, claim $0.50 of free test credit with one click (once per person).
Get API keyWhat you are connecting
If you search to connect openwebui to claude, you usually want one of two things: Anthropic's own models inside the Open WebUI chat screen, or a simple way to use an OpenAI-style endpoint in it. This page covers the second. Open WebUI's OpenAI connection works with any server that implements the OpenAI chat API, and ours does. For Anthropic's own models, read Open WebUI's documentation and Anthropic's current API docs, since that route has its own requirements.
To avoid confusion about what you end up with: the endpoint below serves one open-weight model, run by an independent provider and tuned to answer without content refusals for lawful adult use. It is not Claude, and it is not a router to other vendors. In Open WebUI it appears as a single model named uncensored.
What you need before starting:
- A running Open WebUI instance, or the ability to start one with Docker.
- An API key from the key page. New users can claim $0.50 of trial credit there, valid for 7 days.
- The base URL:
https://api.uncensoredclaude.top/v1. Note the/v1at the end.
Check the key before you touch Open WebUI
Half of all failed connections are a bad key or a typo in the URL, and Open WebUI's error messages for those are short. Spend thirty seconds on a terminal first. If these two calls work, the settings you paste into the interface will work too.
# 1. does the key work and is the model listed?
curl https://api.uncensoredclaude.top/v1/models \
-H "Authorization: Bearer $API_KEY"
# 2. does a completion work?
curl https://api.uncensoredclaude.top/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"uncensored","messages":[{"role":"user","content":"Reply with the word ready."}],"max_tokens":10}'The first call should return a JSON list that contains the model ID uncensored. The second should return a short completion. A 401 means the key is wrong or missing the Bearer prefix, which Open WebUI adds for you. If you prefer Python, the same check is below.
from openai import OpenAI
# the same settings Open WebUI uses, checked from a script
client = OpenAI(base_url="https://api.uncensoredclaude.top/v1", api_key="YOUR_KEY")
for m in client.models.list().data:
print(m.id)
r = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Reply with the word ready."}],
max_tokens=10,
)
print(r.choices[0].message.content)Add the connection in the admin panel
Menu names shift a little between Open WebUI versions, but the path is stable. You need an admin account, and the first account created on a fresh install gets that role.
- Click your name at the bottom left and open the Admin Panel.
- Go to Settings, then Connections.
- In the OpenAI API section, add a new connection with the plus button.
- In the URL field enter
https://api.uncensoredclaude.top/v1. - In the key field paste your API key.
- Save, then use the verify button next to the entry if your version has one.
- Start a new chat and open the model dropdown. Choose
uncensored.
If the model list stays empty, Open WebUI could not read GET /v1/models. See the troubleshooting table below. Most versions also let you add a model ID by hand in the connection settings, which is a fine fallback: type uncensored and save.
Turn off other connections you do not want
If the same instance also points at a local model runner or another cloud service, the model dropdown shows all of them mixed together. Disable the ones you do not use, or give your connection a recognisable label if your version supports it. It saves a lot of accidental sends to the wrong place.
Set it up with Docker variables instead
If you deploy with Docker, you can skip the interface. Open WebUI reads OPENAI_API_BASE_URL and OPENAI_API_KEY from the environment on first start. A single command:
docker run -d -p 3000:8080 \
-e OPENAI_API_BASE_URL="https://api.uncensoredclaude.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:mainThen open http://localhost:3000, create the first account, and the model is already available. With Compose, keep the key in a shell variable or an env file rather than typing it into a file you may commit:
# docker-compose.yml (YAML), written here as a shell heredoc for copy-paste
cat > docker-compose.yml <<'EOF'
services:
open-webui:
image: ghcr.io/open-webui/open-webui:main
ports:
- "3000:8080"
environment:
- OPENAI_API_BASE_URL=https://api.uncensoredclaude.top/v1
- OPENAI_API_KEY=${UNCENSORED_KEY}
volumes:
- open-webui:/app/backend/data
restart: always
volumes:
open-webui:
EOF
export UNCENSORED_KEY="YOUR_KEY"
docker compose up -dOne thing to know: Open WebUI stores many settings in its own database after the first launch. If you change the environment variables later and nothing happens, the saved value in the admin panel is probably overriding them. Change it there, or reset the setting.
When it does not work
| Symptom | Likely cause | Fix |
|---|---|---|
| Model dropdown is empty | URL missing /v1, or models call failed | Use the full base URL, re-run the curl check, add the model ID by hand |
| 401 or unauthorised | Wrong or truncated key, stray space when pasting | Paste again, check the key page, test with curl |
429 with code concurrency | Too many simultaneous chats on one key | Limit users, close stuck streams, wait and retry |
429 with code rate_limited | Over 300 requests per minute (60 on a trial key) | Slow down automated tasks, use a full key |
| Replies cut off or stall | A reverse proxy buffers or times out the stream | Disable buffering for the Open WebUI route and raise the read timeout |
| Balance drops faster than expected | Background tasks such as title generation use the same model | Review the task model settings in the admin panel |
The proxy row deserves a note. Open WebUI streams answers token by token over server-sent events. If you put nginx, Caddy or a managed gateway in front of Open WebUI, make sure it passes streaming responses through unbuffered. Otherwise the whole answer appears at once after a delay, or the connection times out on long replies.
Also remember that a streamed request holds its concurrency slot until the stream ends. A user who starts a long answer and walks away still occupies a slot until it finishes.
Sharing one key among several users
Open WebUI is often installed for a household, a small team or a Discord group, with one key behind it. That works, but the limits are per key. A full key allows 8 concurrent requests and 300 requests per minute. A trial key allows 2 and 60. If six people each send a message within the same few seconds, you are using most of your concurrency, and a seventh and eighth will be fine but a ninth will see a 429.
Practical advice for small deployments:
- Keep a trial key for testing only. Use a funded key for shared use.
- Do not enable features that fire several parallel calls per message unless you need them.
- Watch
X-Balance-USDin the response headers, or check your balance regularly so a chat does not stop mid-sentence. - Rotate the key if you ever paste it into a public issue or a screenshot.
Data handling is easy to explain to the people you invite: prompts sent through the API are not used for training. You can read the details on the privacy page. Your own Open WebUI database, which stores chat history on your server, is a separate matter that you control.
What a chat session costs
Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens, from prepaid credit. Failed or refused requests are not charged. A chat interface resends the conversation with each message, so input tokens grow as the thread gets longer.
Take a chat with a 300-token system prompt where each turn adds 150 tokens from you and 350 from the model. Over 20 turns that is 104,000 input tokens and 7,000 output tokens in total. Input: 104,000 x $0.15 / 1M = $0.0156. Output: 7,000 x $0.50 / 1M = $0.0035. The whole conversation costs $0.0191, about two cents.
At that rate a $20 top-up pays for about 1,000 such conversations, and the $0.50 trial for about 26. Longer threads cost more per turn, but the 100,000-token context window means you can keep a very long session going before you need to start fresh. If you fill it, 100,000 input tokens plus a 1,000-token reply costs $0.015 + $0.0005 = $0.0155 for that single turn.
See the pricing page for top-up amounts and bonuses, and the docs for parameters such as temperature, top_p and stop that Open WebUI can pass through in its advanced settings.
