EN ▾
nofilterai.top
NoFilter AI
Get API key

NoFilter AI API Documentation | NoFilter AI (nofilterai.top)

NoFilter AI provides a straightforward, uncensored LLM API for developers who need reliable text generation without content moderation layers. This quickstart guide shows you how to authenticate, send your first request, and handle streaming responses using standard OpenAI-compatible clients.

Base URL and Authentication

Start by obtaining your API key from the dashboard. The base URL for all requests is https://api.nofilterai.top/v1. This endpoint is compatible with standard OpenAI SDKs; you only need to update the base_url configuration and supply your key in the Authorization header.

Authentication is straightforward: include Authorization: Bearer YOUR_API_KEY in every request. If the key is invalid or missing, the API returns a 401 error. Your account supports a single active key at a time; generating a new key immediately invalidates the previous one, ensuring clean access control without complex key rotation logic.

First Request

To verify your setup, send a simple chat completion request. The model identifier is uncensored. This open-weight model is tuned to answer without refusals for lawful adult content, making it suitable for NSFW-tolerant applications. Use the curl command below to test connectivity and token pricing transparency.

Python SDK Integration

For Python developers, the official openai library works directly with our endpoint. Configure the client to point to our base URL. This approach lets you leverage existing SDK features like automatic retries and structured parsing while maintaining compatibility with our uncensored model.

Node.js SDK Integration

Node.js developers can use the openai npm package similarly. Set the baseURL to our API endpoint. This ensures that your existing infrastructure for handling OpenAI-compatible services integrates smoothly with NoFilter AI. Remember that this is a text-only API; do not attempt to use image or audio generation endpoints as they do not exist on this service.

Streaming Responses

Enable real-time user experiences by enabling streaming. Set stream: true in your request. The API returns a Server-Sent Events (SSE) stream. Each chunk contains partial text, and the final chunk includes token usage statistics. This allows your application to display tokens as they are generated, improving perceived performance for long conversations.

Rate Limits, Errors, and Context

Monitor your usage against strict limits: 300 requests per minute per key, 8 concurrent requests, and an 8 MB request body. Errors are predictable: 401 for invalid keys, 402 if prepaid credit is exhausted, and 429 for rate limit exceedances. The context window supports 100,000 tokens total, with no separate output cap. Errors and refusals do not consume credits, ensuring you only pay for actual token usage.

cURL

curl https://api.nofilterai.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.nofilterai.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.nofilterai.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)

API specifications

Use this table to decide whether the API fits your project before you buy credit.

ItemValue
ProtocolOpenAI Chat Completions schema; official openai SDKs work unchanged
EndpointsPOST /v1/chat/completions · GET /v1/models
AuthenticationBearer token in the Authorization header
Base URLhttps://api.nofilterai.top/v1
Model IDuncensored
SSE streamingSupported (stream: true), usage included at the end
Structured outputJSON object mode via response_format json_object
Context window100,000 tokens (prompt + completion together)
Other parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
Tools / tool callsYes — 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)
Request sizeup to 8 MB per request
Requests per minute300 requests per minute per key
HeadersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Parallel requestsup to 8 in parallel per key
Volume bonus+5% from $50, +10% from $100, +15% from $200
Subscriptionno monthly fee; paid credit does not expire
Token prices$0.15 per 1M input tokens · $0.50 per 1M output tokens
How you payprepaid credit, charged by real token usage; errors and refusals are free
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
Top-upcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Content policyadult content allowed; sexual content involving minors is refused
AccountGoogle or e-mail and password
Key managementone active key per account; a new key replaces the old one

Errors and what to do

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_creditout of credit; add credit and retry
403content_blockedsexual content involving minors — refused, not billed
404not_foundonly /v1/chat/completions and /v1/models exist
413request_too_largebody over 8 MB
429rate_limited · concurrencyover 300/min or 8 parallel — back off and retry
503upstream_busymodel busy — retry in a few seconds

Questions and answers

Does NoFilter AI use GPT or Claude models?

No. We serve a single, dedicated uncensored model hosted on our own servers. It is not GPT, Claude, Gemini, or any other vendor's model. It is an open-weight model tuned for minimal refusal.

How is billing handled?

Billing is prepaid via crypto (USDT on TRC20 or USDC on Base). Credits are charged by real token usage. Errors and refusals are free. There are no monthly subscriptions or hidden fees, and paid credit never expires.

What is the maximum output length?

If you do not set max_tokens, the response can run to the end of the window. The total context window (prompt + completion) is 100,000 tokens.

Your key is one form away

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

Get API key