EN ▾
Get API key

Nofilter AI Chat: Uncensored LLM API Quickstart

Get your uncensored LLM API key and start sending requests in minutes. This guide covers the base URL, authentication, and core endpoints for the unrestricted API.

Base URL and Authentication

The NoFilter AI Chat API uses a standard OpenAI-compatible base URL: https://api.nofilteraichat.cc/v1. You can use any official OpenAI SDK or compatible client by updating the base URL and providing your API key.

Authenticate by passing your unique API key in the Authorization header as a bearer token. The key is generated immediately after signup via Google or email. Keep this key secure, as it grants access to your prepaid credit. Each account holds one active key; generating a new one invalidates the previous key.

Our uncensored LLM API serves a single open-weight model tuned for unrestricted responses. Unlike subscription models, we charge only for actual token usage, with no monthly fees or credit expiration.

First Request

Send your first prompt using the standard chat completions endpoint. The model identifier is always uncensored. This endpoint accepts text input and returns text output, supporting both standard and streaming responses.

The following example demonstrates a basic completion request:

curl https://api.nofilteraichat.cc/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Write a blunt product review of a cheap VPN."}]
  }'

Ensure your request body includes the model field set to uncensored. If you do not specify max_tokens, the response can run to the end of the window. The context window supports up to 100,000 tokens total, including both the prompt and the completion.

Python SDK Integration

Use the official OpenAI Python library to integrate the uncensored ai api into your scripts. Configure the client with your base URL and API key to route requests to our servers.

from openai import OpenAI

client = OpenAI(base_url="https://api.nofilteraichat.cc/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)

This setup allows you to leverage familiar Python patterns for API interaction. The uncensored llm api responds to standard parameters like temperature and top_p, giving you control over response randomness and diversity. Since we do not offer embeddings or image generation, this client is strictly for text-based conversations and data processing.

Node SDK Integration

For JavaScript or TypeScript projects, the Node SDK provides a straightforward interface to our unrestricted api. Initialize the client with your credentials and base URL to begin sending requests.

import OpenAI from "openai";

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

The SDK handles JSON serialization and response parsing automatically. You can pass additional parameters such as stop sequences or seed for reproducibility. Because our pricing is prepaid and per-token, you can monitor your usage directly through the dashboard or by inspecting the response headers for token counts.

Streaming Responses

Enable real-time output by setting stream: true in your request. The API returns a Server-Sent Events (SSE) stream, delivering tokens as they are generated. This is ideal for chat interfaces where users expect immediate feedback.

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)

Each chunk contains partial text, and the final chunk includes the total token usage for the request. Streaming does not affect pricing; you are charged for the total input and output tokens regardless of the delivery method. The uncensored AI chat API ensures that even long conversations within the 100k context window stream efficiently.

Parameters and Limits

Control response behavior with parameters like temperature, top_p, and frequency_penalty. Enable response_format: {"type": "json_object"} for structured outputs or use tools for function calling.

Rate limits are set to 300 requests per minute and 8 concurrent requests per key. If you exceed these limits, the API returns a 429 status code. A 401 error indicates an invalid or missing API key, while a 402 error signals insufficient prepaid credit. Requests within the 8 MB body limit are processed normally. Note that errors and refusals (except for the hard limit on minor sexual content) do not consume credit.

Capabilities and limits

One table with every limit, feature and price that applies to your key.

SpecValue
ProtocolOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
Model IDuncensored
API keyAuthorization: Bearer YOUR_KEY
EndpointsPOST /v1/chat/completions · GET /v1/models
Base URLhttps://api.nofilteraichat.cc/v1
Other parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
Tools / tool callsSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
Structured outputresponse_format: {"type": "json_object"}
Context window100,000 tokens, input and output combined
Completion lengthup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
StreamingSupported (stream: true), usage included at the end
Requests per minute300/min per key
Request size8 MB request body
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Concurrency8 requests at the same time per key
Bonus credit+5% on $50+, +10% on $100+, +15% on $200+
Billingpay as you go from prepaid credit; nothing is charged for failed or refused requests
Priceinput $0.15 / 1M tokens, output $0.50 / 1M tokens
Credit expirypaid credit never expires, no subscription
Top-upcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Free trial$0.50 of credit valid 7 days, no card needed · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Sign-insign in with Google or with e-mail + password
Contentadult content allowed; sexual content involving minors is refused
Keysone active key per account; a new key replaces the old one

When a request fails

The type field is stable, the message is for humans. Errors cost nothing.

HTTPTypeWhat to do
400bad_requestinvalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend
401missing_key · invalid_key · key_revokedno key, wrong key, or a key replaced by a newer one
402no_creditout of credit; add credit and retry
403content_blockedsexual content involving minors — refused, not billed
404not_foundunknown endpoint
413request_too_largebody over 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busytemporary overload, retry shortly

Questions and answers

Does the uncensored AI API use GPT or Claude models?

No. The API serves a single open-weight model run on our own servers, tuned for unrestricted responses. It is not GPT, Claude, Gemini, or any other vendor's model.

How does billing work for the unrestricted API?

You pay per token: $0.15 per 1M input tokens and $0.50 per 1M output tokens. Credit is prepaid via crypto (USDT, USDC), never expires, and errors are free. There are no monthly subscriptions.

What is the context window size?

The context window supports 100,000 tokens for the prompt and completion combined. There is no separate output cap, and if max_tokens is not specified, the response can run to the end of the window.

Your key is one form away

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

Start with trial credit

Email and password, key on screen right away.