Nofilter AI Chat: Quickstart Guide: Uncensored LLM API
Start building with the uncensored chatbot API in minutes using standard OpenAI-compatible endpoints. This guide covers authentication, requests, streaming, and constraints for the uncensored LLM hosted on our infrastructure.
Base URL & Authentication
Access the nofilter ai chat API by setting your client's base URL to https://api.nofilteraichat.top/v1. You authenticate using an API key obtained from your dashboard. The API key is displayed immediately upon signup via Google or email/password. Keep this key secure; it is the only way to access your prepaid credits. If you generate a new key, the old one is invalidated. There are no monthly subscriptions or hidden fees—only prepaid credit charged by real token usage.
Chat Completions Endpoint
Send text to the uncensored llm api via a POST request to /v1/chat/completions. The model ID is uncensored. This endpoint accepts standard message structures and returns generated text. It supports streaming, function calling, and JSON mode. The model is an open-weight solution tuned for unrestricted lawful adult content, avoiding soft filters common in other providers. Use this endpoint for text generation tasks where you need direct, unfiltered responses without routing complexity.
Streaming Responses
Enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE). Token usage information is included in the final chunk. This allows real-time display of generated text, which is essential for chat-like interfaces. Streaming reduces perceived latency for users. Note that errors and refusals do not consume your prepaid credit, ensuring you only pay for successful completions.
Function Calling
The API supports function calling via the tools and tool_choice parameters. Define your tools in the request body, and the model will return structured JSON when appropriate. This feature works within the standard OpenAI-compatible schema. Use it to integrate the uncensored ai api into applications requiring structured data extraction or action triggering. The model identifies when to call a tool based on the context and user intent.
JSON Mode
Force the model to output valid JSON by setting response_format to {"type": "json_object"}. This is useful for applications that require strict parsing of the response. The model is optimized to adhere to this format when requested. Ensure your prompt clearly defines the JSON structure you expect. This feature is part of the standard parameter set, including temperature, top_p, and stop sequences.
Parameters & Limits
The context window is 100,000 tokens total (prompt + completion). There is no separate output cap, and if max_tokens is unset, the response can run to the end of the window. Rate limits are 300 requests per minute and 8 concurrent requests per key. Request bodies must be under 8 MB. The API enforces a hard limit on sexual content involving minors. All other lawful adult content is permitted. Credits are prepaid and never expire. You can top up by crypto (USDT on TRC20, USDC on Base). Errors are free, so you only pay for successful tokens.
cURL
curl https://api.nofilteraichat.top/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.top/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.top/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)Under the hood: specs
Everything the endpoint can and cannot do, in one place — check it before you top up.
| Item | Value |
|---|---|
| Protocol | OpenAI Chat Completions schema; official openai SDKs work unchanged |
| Model ID | uncensored |
| Endpoints | POST /v1/chat/completions · GET /v1/models |
| Authentication | Authorization: Bearer YOUR_KEY |
| Base URL | https://api.nofilteraichat.top/v1 |
| Function calling | Supported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages |
| Sampling parameters | temperature, top_p, stop, seed and the two penalties are passed through |
| SSE streaming | Yes — server-sent events; the last chunk carries token usage |
| Context window | 100,000 tokens, input and output combined |
| Max output | up to the rest of the 100,000-token window; max_tokens optional (no separate cap) |
| Structured output | JSON object mode via response_format json_object |
| Request size | up to 8 MB per request |
| Parallel requests | 8 requests at the same time per key |
| Rate limit | 300 requests per minute per key |
| Headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Bonus credit | +5% on $50+, +10% on $100+, +15% on $200+ |
| Price | input $0.15 / 1M tokens, output $0.50 / 1M tokens |
| Payment | crypto: USDT on TRON or USDC on Base, $20–$500, any whole sum |
| How you pay | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| Subscription | no monthly fee; paid credit does not expire |
| 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 |
| Account | Google or e-mail and password |
| Key management | one active key per account; a new key replaces the old one |
| Content policy | uncensored for adults; the only hard rule: no sexual content involving minors |
When a request fails
Every error is JSON with a type you can switch on. You are never charged for an error.
| Status | Type | Reason |
|---|---|---|
400 | bad_request | invalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend |
401 | missing_key · invalid_key · key_revoked | check the Authorization header or use your current key |
402 | no_credit | out of credit; add credit and retry |
403 | content_blocked | refused by the content policy |
404 | not_found | only /v1/chat/completions and /v1/models exist |
413 | request_too_large | body over 8 MB |
429 | rate_limited · concurrency | slow down: rate or parallel limit reached |
503 | upstream_busy | model busy — retry in a few seconds |
Questions and answers
How do I get started with the API?
Sign up via Google or email/password on the key generation page. You receive an API key immediately, which you can use to authenticate requests to the base URL. No credit card is required for the trial, and no phone number is needed for signup.
What happens if I run out of credit?
Requests will fail because you have no prepaid balance to cover the token usage. Errors and refusals are free, so you won't be charged for failed attempts. You can top up your account by crypto (USDT on TRC20, USDC on Base) at any time to resume service.
Does the API support embeddings or image generation?
No. The API provides a single text-based endpoint for chat completions. It does not support embeddings, image, audio, or video generation. It is designed specifically for text generation with uncensored responses.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.