Uncensored models in LibreChat

One entry under endpoints.custom in librechat.yaml: name, key from .env, /v1 base URL, a models.default list, a small titleModel. Then mount, cost, fixes.

Steps checked November 6, 2026 · prices as of November 16, 2026

Any API that speaks the OpenAI chat format can become a custom endpoint in LibreChat, declared in librechat.yaml with four things: a name, a key, a base URL and the models to offer. Add one such entry and the uncensored builds appear in LibreChat’s endpoint selector beside the others, paid per token. The ids below also drop into Open WebUI and OpenCode.

What you need

A running LibreChat (the Docker setup is assumed below), a key from the console, and write access to the project root. LibreChat loads librechat.yaml from there, and each custom endpoint is a single list item under endpoints.custom. The key itself belongs in .env; the YAML points at it by variable name, which is the form LibreChat’s docs recommend for apiKey. With Docker, the YAML reaches the container through a bind mount declared in docker-compose.override.yml, and a restart picks it up.

First reply

  1. Create a key in the console and add it to .env, the file that sits beside docker-compose.yml:
.env
1# .env
2UNRESTRICTABLE_API_KEY=sk-unr-live-…
  1. Declare the endpoint in librechat.yaml. Treat the ids under models.default as a first pick; every id on the models page is written the same way:
librechat.yaml
1# librechat.yaml
2version: 1.3.18
3cache: true
4endpoints:
5 custom:
6 - name: 'Unrestrictable'
7 apiKey: '${UNRESTRICTABLE_API_KEY}'
8 baseURL: 'https://api.unrestrictable.ai/v1'
9 models:
10 default:
11 - 'glm-5.3-uncensored'
12 - 'deepseek-v4-pro-uncensored'
13 - 'deepseek-v4.1-flash-abliterated'
14 - 'glm-5.3-abliterated'
15 - 'glm-5.3-flash-uncensored'
16 fetch: false
17 titleConvo: true
18 titleModel: 'glm-5.3-flash-uncensored'
19 modelDisplayLabel: 'Unrestrictable'
  1. Make sure the override file still mounts the YAML, then restart:
docker-compose.override.yml
1# docker-compose.override.yml
2services:
3 api:
4 volumes:
5 - type: bind
6 source: ./librechat.yaml
7 target: /app/librechat.yaml

Run docker compose down && docker compose up -d and the file is read again. Your endpoint shows in the selector under its name, offering the models from models.default.

To try the same models before touching any YAML, the browser chat runs the same catalog with three free turns a day and no account.

Each field, explained

name
Unrestrictable
what the endpoint selector shows; must be present and unique
apiKey
${UNRESTRICTABLE_API_KEY}
pulls the sk-unr- key out of .env; user_provided instead asks every user for their own
baseURL
https://api.unrestrictable.ai/v1
keep the /v1; LibreChat adds /chat/completions on its own, so leave directEndpoint out
models.default
the ids above
what the model picker offers while fetch is false; required
models.fetch
false
set to true, it would fill the picker with every model the key can reach
titleConvo, titleModel
glm-5.3-flash-uncensored
turns on automatic chat titles and names the small model that writes them
modelDisplayLabel
Unrestrictable
the text next to the AI icon in a chat; defaults to "AI"

Which model

On every turn LibreChat resends the entire conversation in the OpenAI format, and all the builds on the models page accept it. The first cost column prices one turn of 2,000 tokens in and 500 out; the second prices one title request. Both use the catalog prices of 2026-11-16.

ModelOne turnOne title
GLM-5.3 Uncensored$0.00099$0.0003
DeepSeek V4 Pro Uncensored$0.0029$0.001
DeepSeek V4.1 Flash Abliterated$0.0025$0.00088
GLM-5.3 Abliterated$0.0065$0.0023
GLM-5.3 Flash Uncensored$0.00039$0.00011

GLM-5.3 Uncensored answers a first message for $0.00099. Because titleConvo is on, every new chat also sends one title request, around 1,000 tokens in and 20 out: $0.0003 on GLM-5.3 Uncensored, against $0.00011 on GLM-5.3 Flash Uncensored. That gap is why the example names a separate titleModel.

Uncensored models and their prices per million tokens
GLM-5.3 Uncensoredglm-5.3-uncensoredUncensored$0.282$0.846
DeepSeek V4 Pro Uncensoreddeepseek-v4-pro-uncensoredUncensored$0.97$1.94
DeepSeek V4.1 Flash Abliterateddeepseek-v4.1-flash-abliteratedAbliterated$0.8488$1.6975
GLM-5.3 Abliteratedglm-5.3-abliteratedAbliterated$2.1825$4.365
GLM-5.3 Flash Uncensoredglm-5.3-flash-uncensoredUncensored$0.1053$0.3685

Prices per million tokens, read from the live catalog on 2026-11-16.

Prove it works

On the host that runs LibreChat, ask the API for the models the key can reach. Each id in models.default must appear:

shell
1curl https://api.unrestrictable.ai/v1/models -H "Authorization: Bearer sk-unr-live-…"

Then send a single streamed request, as LibreChat would. With -i the headers print, and x-uplink-request-id is the id to quote to support.

shell
1curl -i https://api.unrestrictable.ai/v1/chat/completions \
2 -H "Authorization: Bearer sk-unr-live-…" \
3 -H "Content-Type: application/json" \
4 -d '{"model": "glm-5.3-uncensored", "messages": [{"role": "user", "content": "Reply with the single word ok."}], "stream": true}'

When both commands succeed and LibreChat still fails, the fault is in the YAML or the mount. Read the container log right after docker compose up.

When it fails

  • No endpoint in the selector: either the file was never mounted or the YAML failed to parse. The container log after docker compose up points at the line.
  • 401 invalid_api_key: a wrong or revoked key, or the variable named in apiKey is not the one spelled in .env.
  • 402 insufficient_balance: not enough balance for this request; top up in the console. 402 monthly_limit_reached: the key has reached the monthly spending cap you gave it.
  • 404 model_not_found: one of the ids in models.default does not exist on the models page, or a display name was written in place of an id.
  • 429 rate_limited: the key’s rate limit was hit. All users of a single endpoint share that key and that limit. retry-after in the response says how long to wait.
  • The picker lists every model the key can reach: fetch is true. Make it false and curate the list in models.default.

Sources

The field names, the environment-variable form of apiKey, the baseURL convention and the mount come from LibreChat’s documentation, read 2026-11-06: Custom Endpoint Object Structure and Custom Endpoints quick start. Every price on this page is rendered from the live catalog.

Questions

librechat.yaml in the project root. The endpoint is one list item under endpoints.custom carrying name, apiKey, baseURL and models. Under Docker, docker-compose.override.yml mounts that file into the container, and a restart loads it.

It should: https://api.unrestrictable.ai/v1. LibreChat adds /chat/completions after it, exactly as its own OpenAI-compatible examples do with a /v1 base. directEndpoint exists for a URL that already is the full completions path.

They can. Put user_provided in apiKey and each user types a key into the endpoint's settings, drawing on their own balance. With the env-var reference, everyone on the instance chats on the single key you configured.

All of them. One key covers the whole models page, and each build there takes an OpenAI-format call to /v1/chat/completions, so models.default accepts any id from that page, spelled the same way. See the models page.

LibreChat is free software, so the only cost is tokens, at the live prices in the table, drawn from a prepaid balance with no subscription required. Pointing titleModel at a small build keeps the title requests cheap.

Every model above is on the uncensored model list with its live price per million tokens. Per-token pricing sets the whole catalog side by side, and the family directory groups the builds by base model.

Get a keyPrepaid from $10, no subscription.

New models and price changes, once a month.

New uncensored builds with their prices, price moves, and what the daily model check found.

Join on Telegram