EN ▾
Get API key
per 1M input tokens
$0.15
Output tokens / 1M
$0.50
token context
100,000
trial credit
$0.50
requests per minute
300

Unrestricted AI Tools That Work With One API

Most unrestricted AI tools are ordinary clients with one extra feature: a field for a custom base URL. If a tool lets you change that URL and the key, it can use this endpoint, and the model is called uncensored.

Updated

A single connector linking several abstract tool modules, illustrating tools that share one API endpoint

The three values every tool asks for

When people search for unrestricted ai tools they usually want a front end, a framework or an editor plugin that will not get in the way of a model that answers without refusals. The good news is that you rarely need special software. The model sits behind a standard chat completions API, so the question becomes whether a given tool lets you override the endpoint.

Every client asks for the same three values, even if the labels differ.

SettingValue
Base URL (also called API base, host or endpoint)https://api.unrestrictedai.top/v1
API keyThe key from your account page, sent as Authorization: Bearer
Modeluncensored

The API exposes two methods: POST /v1/chat/completions and GET /v1/models. If a tool needs the older text completions endpoint, embeddings or image generation, it will not work, because those are not offered. Everything below assumes a tool that talks chat completions.

A tip before you start: write the three values into one place, such as an environment file, and reuse them. Switching tools then becomes a copy and paste exercise, and a typo in one tool will not hide behind a correct setting in another.

The model itself is one open-weight model run by an independent provider, tuned to answer without content refusals for lawful adult use. It is not the official API of any big vendor and not a router across several models, so there is nothing to select besides uncensored.

Chat front ends: SillyTavern and Open WebUI

SillyTavern

SillyTavern is built for character chat, roleplay and long-form fiction, and it lets you add an OpenAI-compatible endpoint. Open the API connection panel, pick Chat Completion as the API type, choose the custom or OpenAI-compatible source, then enter the base URL, key and model name. After you connect, test with a short greeting. Menu names move between versions, so if a label differs, look in its own documentation.

Set the context limit to 100,000 tokens at most, since that is the model window. Large character cards and lorebooks are sent with every message, so they add to the input bill. Reply length is the setting that most affects output cost.

Open WebUI

Open WebUI is a self-hosted chat interface. In its admin settings you can add an OpenAI-style connection by entering a URL and a key. Use the base URL above, save, and the model list should load from GET /v1/models. This is a good option if you want several people on one server to share a single key, which keeps billing in one place. Remember that all of them share the same limit of 8 concurrent requests.

Frameworks: LangChain, LiteLLM and the Vercel AI SDK

If you are writing an application rather than chatting, every popular framework has a way to point its OpenAI integration somewhere else.

LangChain (Python)

import os
from langchain_openai import ChatOpenAI

llm = ChatOpenAI(
    model="uncensored",
    base_url="https://api.unrestrictedai.top/v1",
    api_key=os.environ["UNRESTRICTED_KEY"],
    temperature=0.8,
)

print(llm.invoke("Write a two-line villain monologue.").content)

Chains, prompt templates and streaming all work the same way, because LangChain only sees a chat model. Tool calling through bind_tools uses the standard tools field, which the API accepts.

LiteLLM

LiteLLM wraps many providers behind one function. For a custom OpenAI-compatible server, prefix the model with openai/ and pass the base URL.

import os
import litellm

resp = litellm.completion(
    model="openai/uncensored",
    api_base="https://api.unrestrictedai.top/v1",
    api_key=os.environ["UNRESTRICTED_KEY"],
    messages=[{"role": "user", "content": "Name three fictional port cities."}],
)
print(resp.choices[0].message.content)

Vercel AI SDK (Node)

import { createOpenAI } from "@ai-sdk/openai";
import { generateText } from "ai";

const provider = createOpenAI({
  baseURL: "https://api.unrestrictedai.top/v1",
  apiKey: process.env.UNRESTRICTED_KEY,
});

const { text } = await generateText({
  model: provider.chat("uncensored"),
  prompt: "Describe a rainy market street in 80 words.",
});
console.log(text);

The .chat(...) call matters. Newer releases of the SDK may default to a different OpenAI endpoint style, and picking the chat variant makes sure the request goes to /chat/completions.

Editors and coding assistants

Cursor includes a setting to override the OpenAI base URL and supply your own key. Some of its features run on its own hosted models regardless, and what a custom model can do changes between releases, so check Cursor's current documentation before relying on it. Other editor plugins that accept an OpenAI-compatible provider, such as Continue, follow the same pattern: URL, key, model name.

Be realistic about what this model is for. It is tuned for open-ended text, fiction and conversation without refusals. It is not a specialised code model, and you should not expect it to compete with coding-focused tools on programming tasks. If you want it in an editor, use it for writing, planning and rubber-duck chat, and keep a code-specific model for autocomplete.

Checking that a tool is really using your endpoint

Misconfigured clients often fall back silently to their own default provider. Before you trust a new setup, run a quick test directly with curl so you know what the endpoint should return.

curl https://api.unrestrictedai.top/v1/models \
  -H "Authorization: Bearer $UNRESTRICTED_KEY"

curl -i https://api.unrestrictedai.top/v1/chat/completions \
  -H "Authorization: Bearer $UNRESTRICTED_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"uncensored","messages":[{"role":"user","content":"Say ready."}]}'

The -i flag prints headers. Look for X-Request-Id and X-Balance-USD. Then run the same prompt inside your tool and watch your balance: if the header value drops after a request from the tool, the traffic is reaching this endpoint. If the balance never moves, the tool is talking to someone else.

Common failures and their causes:

  • 401 or invalid key: a trailing space in the key, or the key pasted into the wrong field.
  • 404 on a path: the base URL was entered with /chat/completions appended, or without /v1. Use it exactly as shown above.
  • Model not found: the tool kept a default such as an OpenAI model name. Replace it with uncensored.
  • 429 responses: too many parallel calls. The error code concurrency means more than 8 at once on a full key (2 on a trial key); rate_limited means more than 300 requests per minute (60 on trial).

Cost of running tools against the API

Frameworks and chat front ends add overhead you do not see: system prompts, memory, tool definitions, retrieved text. Budget with input and output separately. Input is $0.15 per 1M tokens and output is $0.50 per 1M.

Take a chat front end with a 6,000-token prompt (character card, lorebook, history) and a 400-token reply. Input costs 6,000 / 1,000,000 x $0.15 = $0.0009. Output costs 400 / 1,000,000 x $0.50 = $0.0002. One message is $0.0011, so 1,000 messages come to $1.10.

A LangChain pipeline that makes three calls per task, each with 3,000 tokens in and 500 out, uses 9,000 input tokens ($0.00135) and 1,500 output tokens ($0.00075), so $0.0021 per task. Ten thousand tasks cost $21.

Billing is pay as you go from prepaid credit with no subscription, and failed or refused requests are not charged. The pricing page has the top-up amounts and bonuses, and the docs list every parameter that is passed through to the model. New accounts can claim a $0.50 trial in one click, which is enough to confirm that each tool connects before you add credit.

Tools that will not work, and why

One more caution applies to browser extensions and hosted web apps that ask for your key. Only paste a key into software you trust or host yourself, because anyone holding it can spend your credit. Create a separate key for each tool when you can, so you can retire one without disturbing the rest.

Some products simply cannot use the endpoint. Anything that needs image, audio or video generation, embeddings or fine-tuning is out, because the API is text only. Desktop and web apps that bundle their own model and offer no custom endpoint field cannot be redirected, however the marketing describes them. And tools that only speak a vendor-specific protocol, rather than the OpenAI chat format, need an adapter in between, which is usually a bigger project than it is worth.

For anything else the rule holds: if you can type a base URL, a key and a model name, you are done. For the rules on what the service allows, see the myths and facts page; the one hard limit is that sexual content involving minors is never permitted.

Questions and answers

Do I need special software to use an unrestricted model?

No. Any client that accepts a custom OpenAI-compatible base URL works. You enter the URL, your key and the model ID uncensored.

Does it work with LangChain and LiteLLM?

Yes. LangChain's ChatOpenAI takes a base_url argument, and LiteLLM accepts api_base with the openai/ prefix on the model name. Examples are above.

Can I use it for embeddings or images?

No. The API is text only and offers chat completions and a model list. There are no embeddings, image, audio or video endpoints.

How do I test a tool without paying?

Claim the $0.50 trial credit with one click on the API key page after sign-up. It is valid for 7 days, with 2 concurrent requests and 60 requests per minute.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API key