EN ▾
Get API key

Nofilter AI Chat: Quickstart: Integrate the Uncensored LLM API

Integrate the uncensored LLM API into your application in minutes using our OpenAI-compatible endpoint. This quickstart covers authentication, basic requests, streaming, and key limits to get your project running fast.

Authentication & Base URL

Start by creating an account and generating your API key. The base URL for all requests is https://api.nofilteraichat.com/v1. You can use the official OpenAI SDKs or any compatible client by pointing it to this URL and providing your key in the Authorization header. Sign up is instant via Google or email, with no phone number required. Your key is shown immediately upon creation. You only get one active key per account; generating a new one replaces the old one. Keep your key secure, as it grants full access to your prepaid credit. There are no monthly subscriptions, and unused credit never expires.

Basic Text Completion

Send a standard chat completion request to generate text. The model ID is uncensored. This endpoint supports raw text input and output without content filters for lawful adult content. You can control the response style using parameters like temperature and top_p. 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 for prompt and completion combined. Requests are charged based on real token usage, and errors are free.

Python SDK Integration

Use the official OpenAI Python library to interact with our API. Set the base URL to our endpoint and provide your API key. This allows you to leverage familiar methods like chat.completions.create while benefiting from our uncensored model. The library handles JSON serialization and retries automatically. You can stream responses or get synchronous results. Ensure you are using a recent version of the SDK to support all features like tool calling and JSON mode. This approach minimizes boilerplate code and speeds up development for Python-based applications.

Node.js SDK Integration

Integrate the API into your Node.js applications using the OpenAI Node SDK. Configure the client with our base URL and your API key. This setup allows you to call chat completions just like you would with other OpenAI-compatible services. The SDK supports modern JavaScript features and async/await patterns. You can easily handle responses and manage errors in your Node environment. This method is ideal for web servers, backend services, or any Node.js application requiring uncensored LLM capabilities. It provides a straightforward way to add AI features without complex configuration.

Streaming Responses

Enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE) as tokens are generated. This provides a smoother user experience by displaying text in real-time. Token usage statistics are included in the final chunk of the stream. Streaming is supported via all SDKs and raw HTTP clients. This feature is essential for chat interfaces and applications where latency matters. The model generates tokens sequentially, allowing you to render partial responses immediately. This reduces perceived wait times significantly compared to synchronous requests.

Limits, Errors & Context

Monitor your usage to avoid service interruptions. The API allows 300 requests per minute per key and 8 concurrent requests. The maximum request body size is 8 MB. If the API key is invalid, you will receive a 401 error. A 402 error indicates insufficient credit; top up by crypto (USDT on TRC20 or USDC on Base) to continue. A 429 error means you have hit the rate limit. The context window is 100,000 tokens. Errors and refusals do not consume credit. Keep your requests within these limits for optimal performance. The model refuses sexual content involving minors, which is a hard limit.

cURL

curl https://api.nofilteraichat.com/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."}]
  }'

Python

from openai import OpenAI

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

Questions and answers

How do I top up my credit?

Top up by crypto (USDT on TRC20, USDC on Base). You can add any whole amount between $20 and $500. Larger amounts receive bonus credit: +5% from $50, +10% from $100, and +15% from $200. Credit never expires and is charged based on real token usage.

What is the context window size?

The context window supports up to 100,000 tokens for the combined prompt and completion. If you do not specify max_tokens, the response can run to the end of the window. This allows for substantial input data while maintaining high performance.

Do you store my prompts for training?

No, prompts are not used for training. You only need an email to create an account, and privacy is maintained. Your data is not used to improve other models or services. This ensures your content remains private while you use the uncensored API.

Your key is one form away

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

Get API key

Technical specifications

The numbers below are the real limits of this API, not marketing. Compare them with what your app needs.

ParameterDetails
CompatibilityOpenAI Chat Completions schema; official openai SDKs work unchanged
Base URLhttps://api.nofilteraichat.com/v1
EndpointsPOST /v1/chat/completions · GET /v1/models
API keyAuthorization: Bearer YOUR_KEY
Modeluncensored
Sampling parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
JSON modeJSON object mode via response_format json_object
Function callingYes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool
Completion lengthup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
Max context100,000 tokens, input and output combined
SSE streamingYes — server-sent events; the last chunk carries token usage
Request size8 MB request body
Rate limit300/min per key
HeadersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Concurrencyup to 8 in parallel per key
Token prices$0.15 per 1M input tokens · $0.50 per 1M output tokens
Volume bonus+5% from $50, +10% from $100, +15% from $200
Subscriptionno monthly fee; paid credit does not expire
PaymentUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
How you payprepaid credit, charged by real token usage; errors and refusals are free
Free trial$0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Key managementone key per account, regenerate any time (the old one stops working)
Sign-insign in with Google or with e-mail + password
Content policyadult content allowed; sexual content involving minors is refused

Error reference

Every error is JSON with a type you can switch on. You are never charged for an error.

CodeTypeMeaning
400bad_requestmalformed request or too long for the context window
401missing_key · invalid_key · key_revokedcheck the Authorization header or use your current key
402no_creditbalance is empty — top up, requests resume at once
403content_blockedsexual content involving minors — refused, not billed
404not_foundonly /v1/chat/completions and /v1/models exist
413request_too_largerequest body larger than 8 MB
429rate_limited · concurrencyover 300/min or 8 parallel — back off and retry
503upstream_busytemporary overload, retry shortly