EN ▾
Open account

Uncensored AI API Documentation

Drop this API into your existing stack to get uncensored responses with zero configuration friction.

Authentication & Keys

Start by generating your API key via the dashboard.

Sign in with Google or your email to receive a token instantly.

We do not require a credit card for the trial.

Use this key in the Authorization header.

Chat Completions Endpoint

Send requests to the standard chat completions URL.

The endpoint accepts JSON payloads and returns text.

Set the base URL to point to our infrastructure.

Use the model ID uncensored for unrestricted outputs.

This works with any OpenAI-compatible SDK.

Python SDK Integration

Install the official client library via pip.

Configure the client with your key and the custom base URL.

Call the chat method with your prompt and parameters.

Extract the assistant response from the result object.

Node SDK Usage

Import the OpenAI package in your Node.js project.

Initialize the client with the correct base URL and key.

Invoke the chat completions endpoint with your input.

Handle the response stream or object as needed.

Streaming Responses

Enable streaming by setting the stream flag to true.

Receive chunks of text as they are generated.

Token usage details appear in the final chunk.

This reduces perceived latency for long outputs.

Limits, Errors & Context

Context window supports 100,000 tokens total.

Rate limit is 300 requests per minute.

401 errors mean your key is invalid.

402 errors indicate insufficient prepaid credit.

429 responses signal you hit the rate limit.

cURL

curl https://api.ollamauncensoredllm.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Summarize the current status of the project"}]
  }'

Python

from openai import OpenAI

client = OpenAI(base_url="https://api.ollamauncensoredllm.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.js

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.ollamauncensoredllm.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

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)

Frequently asked questions

How do I add credit to my uncensored AI API account?

Top up using crypto only, specifically USDT on TRC20 or USDC on Base. Minimum top-ups start at $20, with bonus credit increasing at higher tiers.

Is this the official Ollama uncensored LLM?

No, we are an independent API provider. We host our own uncensored model that is compatible with the OpenAI API format, not the Ollama client itself.

Do you store my prompts for training?

No, prompts are not used for training. Your data remains private and is not reused to improve other models.

Retrieve your API key

Register an account, copy the key, update your base URL. Simple configuration.

Open account