EN ▾
Get API key
https://api.bestuncensoredaimodel.com/v1

OpenAI-compatible, no refusals, pure output.

BestuncensoredaimodelQuickstart: Integrate the Uncensored Model

Quickstart: Integrate the Uncensored Model

Start generating text immediately with our uncensored LLM API. This guide covers the essential OpenAI-compatible endpoints, authentication, and streaming for rapid integration.

Get API key

Authentication & Base URL

Connect your client to our API using the standard base URL and an API key. Your requests authenticate via the Authorization header with a Bearer token. The base URL is https://api.bestuncensoredaimodel.com/v1. This ensures compatibility with existing OpenAI SDKs and tools. Generate your key on the dashboard and keep it secure.

Sending Requests: Chat Completions

Send text in and get text out via the chat completions endpoint. Use the model ID uncensored for unrestricted responses. Your prompts stay yours without hidden training. Set your system instructions to define the tone. The API handles the rest. See the example below.

curl https://api.bestuncensoredaimodel.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Summit starts at 6am tomorrow."}]
  }'

Python SDK Integration

Use the official OpenAI Python library to interact with the API. Configure the base URL and API key in the client initialization. This approach requires minimal boilerplate. You can send messages and receive structured outputs. It works seamlessly with our uncensored model. Here is the Python implementation.

from openai import OpenAI

client = OpenAI(base_url="https://api.bestuncensoredaimodel.com/v1", api_key="YOUR_KEY")

resp = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Summarise this thread without softening it."}],
)
print(resp.choices[0].message.content)

Node SDK Integration

Integrate using the JavaScript SDK for server-side applications. Import the client and set the environment variables. This method supports modern async patterns. You can handle errors and responses efficiently. The setup mirrors the Python approach. See the Node.js code below.

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.bestuncensoredaimodel.com/v1", apiKey: process.env.API_KEY });

const resp = await client.chat.completions.create({
  model: "uncensored",
  messages: [{ role: "user", content: "Draft a villain monologue for my game." }],
});
console.log(resp.choices[0].message.content);

Streaming Responses & Token Usage

Enable streaming to receive tokens as they generate. This reduces perceived latency for long outputs. The API uses Server-Sent Events (SSE) for streaming. Token usage details appear in the final chunk. This is ideal for real-time user interfaces. Check the streaming example.

stream = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Tell the story in second person."}],
    stream=True,
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)

Limits, Errors, and Context Window

Monitor your usage against strict rate limits. You get 300 requests per minute and 8 concurrent requests. The context window supports 100,000 tokens total. Errors like 401 indicate an invalid key. A 402 error means you need more credit. Handle 429s with exponential backoff. Your prepaid credit never expires.

Frequently asked questions

What is the best uncensored AI model for coding tasks?

The uncensored model handles code generation effectively without content refusals. It supports up to 16,000 output tokens per request. This allows for large code blocks in a single call. Use JSON mode for structured code responses.

Does the API use my prompts for training?

No, your prompts are not used for training. We prioritize privacy by requiring only an email for signup. Your data stays yours while generating text. This applies to all input tokens sent to the API.

How do I get started with the uncensored LLM API?

Sign up with Google or email to get an API key. You receive $0.50 in trial credit for seven days. Top up with USDT or USDC for ongoing usage. The base URL works with any standard OpenAI-compatible client.

Access your API key

Register, retrieve the key, update your endpoint. That is all required.

https://api.bestuncensoredaimodel.com/v1Get API key