Open WebUI OpenAI API: What Compatible Really Means
Open WebUI treats any server that speaks the OpenAI chat format as an OpenAI connection. This article explains what that contract includes and how our text endpoint fits into it.

Key points
OpenAI-compatible means the same HTTP routes, JSON shapes and Bearer authentication, not the same company or model.
Open WebUI needs only a base URL, a key, and a working GET /v1/models.
The service is text only: no images, audio, video or embeddings.
Payment is crypto only, with USDT on TRC20 or USDC on Base.
The short version
The open webui openai api setting is a generic slot: Open WebUI asks for a URL and a key, then talks to whatever answers at that address using the OpenAI chat format. Point it at https://api.unrestrictedvideo.cc/v1, paste a key, and the model uncensored appears in the picker. The rest of this page explains why that works, so you can reason about it when something does not.
A note on naming, since the domain says video: this is a text-generation API. It does not render video, and the article on how text fits into video work covers the division of labour. Inside Open WebUI, the connection gives you a chat model, nothing more.
What an OpenAI-compatible endpoint has to do
The word compatible describes a wire contract. A client written for the OpenAI API will work against any server that honours these points:
- Routes:
POST /v1/chat/completionsfor chat andGET /v1/modelsfor the model list. Those two are what this service provides. - Authentication: an
Authorization: Bearer <key>header. - Request shape: a
modelstring and amessagesarray of role and content objects, plus optional parameters such as temperature, top_p, stop, seed and the penalties. - Response shape: a
choicesarray, each with amessage, and ausageblock with token counts. - Streaming: server-sent events when
streamis true, closed by a[DONE]line.
Notice what is absent from that list: any promise about the model behind it. Compatibility is about the plumbing. The model here is one open-weight model, tuned to answer without content refusals for lawful adult use, run by an independent provider. It is not any vendor's official API and not a router across vendors, so do not expect behavior that you read about for a specific commercial model.
What Open WebUI sends and expects
Open WebUI uses the OpenAI connection in a small number of ways, and each maps to something concrete:
| Open WebUI action | Request | Supported here |
|---|---|---|
| Fill the model picker | GET /v1/models | Yes |
| Chat, with streaming | POST /v1/chat/completions | Yes |
| Tool or function calls | tools and tool_choice in the chat body | Yes |
| Embeddings for document search | /v1/embeddings | No |
| Image generation | /v1/images/generations | No |
| Speech and transcription | /v1/audio/... | No |
The last three rows are the usual source of confusion. If Open WebUI shows an error when you upload a document, check which embedding engine is selected in its document settings; it should be the local default or another provider, since this service has no embeddings route. The same goes for image and voice features. Chat itself is unaffected.
Setting it up
In Open WebUI, go to the admin settings, open Connections, and add an OpenAI API connection. Labels vary by release, but the three fields are always the same.
- URL:
https://api.unrestrictedvideo.cc/v1 - Key: your key from the key page
- Save, then pick
uncensoredin a new chat.
To configure at launch instead, set the two environment variables on the container:
docker run -d -p 3000:8080 \
-e OPENAI_API_BASE_URL="https://api.unrestrictedvideo.cc/v1" \
-e OPENAI_API_KEY="YOUR_KEY" \
-v open-webui:/app/backend/data \
--name open-webui \
ghcr.io/open-webui/open-webui:mainTest the same values outside Open WebUI first, so you know the failure, if any, is in the connection form:
from openai import OpenAI
client = OpenAI(
base_url="https://api.unrestrictedvideo.cc/v1",
api_key="YOUR_KEY",
)
reply = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Reply with one word: ready"}],
)
print(reply.choices[0].message.content)If that prints a word, the endpoint and key are good. The integration docs list the rest of the supported parameters.
Debugging the connection
When Open WebUI cannot reach the endpoint, work from the outside in. Start with the machine that runs the container, not the browser. Run the models request with curl from that host; a failure there rules out Open WebUI as the cause. Then run it from inside the container with docker exec, because DNS or outbound firewall rules sometimes differ there.
curl -sS -i https://api.unrestrictedvideo.cc/v1/models \
-H "Authorization: Bearer YOUR_KEY"The -i flag adds headers, including X-Request-Id, X-Balance-USD and the rate-limit values. Three outcomes cover most cases. A 200 with a model list means the problem is in Open WebUI's fields. An authentication failure means the key is wrong. A connection error before any HTTP status means a network path problem on your side.
Another frequent trap: a base URL ending in /chat/completions instead of /v1. Open WebUI appends the route itself, so give it only the base. The same applies to any other OpenAI-style client, such as a script using an official SDK.
Where compatibility stops
Three differences are worth knowing before you build a workflow around the connection.
One model, one ID
The picker will show a single entry. Features in Open WebUI that compare models side by side or switch models per task will have only uncensored to work with from this connection. Add other connections for other models if you want choice.
Context limit
The window is 100,000 tokens, counting prompt and completion together. Open WebUI sends the whole conversation each turn, so very long chats eventually fill it. The max request body is 8 MB. Start a new chat or trim history when replies begin to fail on length.
Limits per key
A full key allows 8 concurrent requests and 300 requests per minute. A trial key allows 2 and 60. Over a limit the API returns HTTP 429 with the code rate_limited or concurrency, and during temporary overload a 429 with Retry-After: 5. A streamed reply holds its slot until the stream ends, which matters when several people share one Open WebUI.
Cost and payment
Billing is prepaid and pay as you go: $0.15 per 1M input tokens and $0.50 per 1M output tokens. A long Open WebUI chat resends history, so input tokens dominate. As a worked example, a conversation that has grown to 20,000 tokens of history, with a 500-token reply, costs 20,000 / 1,000,000 x $0.15 = $0.003 for input plus 500 / 1,000,000 x $0.50 = $0.00025 for output, or $0.00325 for that turn.
Top-ups are any whole amount from $20 to $500, with a bonus of 5% from $50, 10% from $100 and 15% from $200. This site accepts crypto only: USDT on TRC20 or USDC on Base. Credit never expires, failed or refused requests are not charged, and prompts are not used for training. See the pricing page for the current table.
New accounts can claim $0.50 of trial credit with one click on the key page, valid for 7 days, no payment needed. That is enough to confirm the whole Open WebUI setup before you decide to top up.
Content rules
The model is tuned for lawful adult use and answers without the usual content refusals. One limit is fixed and not configurable: no sexual content involving minors. Requests that cross it are refused. Everything else you build, such as fiction tools, research assistants or writing helpers, is subject to the site's terms, linked in the footer, and to the laws that apply to you.
More guides
Questions and answers
Is this the official OpenAI API?
No. It is a separate hosted service that copies the OpenAI request and response format. The model is an open-weight model run by an independent provider, and the service is not affiliated with OpenAI.
What do I enter in Open WebUI?
The base URL, your API key, and nothing else. Open WebUI reads the model list from GET /v1/models and will show <code>uncensored</code>.
Can I use the OpenAI Python SDK with the same settings?
Yes. Set base_url to the same address and pass the same key. Any client that lets you change those two values works.
Does the video in the site name mean it makes video?
No. The service generates text only. It can write scripts, shot lists and prompts that you feed to a separate video tool.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.