EN ▾
Get API key

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

Integrate our uncensored LLM API in minutes using standard OpenAI-compatible clients. Drop in your key, point to our base URL, and start generating text immediately.

Authentication and Setup

Start by creating an account via Continue with Google or email and password. No phone number is required. Upon signup, you receive an API key immediately. You also get $0.50 in trial credit valid for 7 days, with no card needed. Claim this credit with one click on your API key page. Your API key authenticates all requests. The base URL for all endpoints is https://api.nofilterai.cc/v1. This URL works with the official OpenAI SDKs and any OpenAI-compatible client by simply updating the base_url configuration.

Our nofilter ai service uses prepaid credit. If you lack sufficient credit, you receive a 402 Payment Required error. Errors and refusals are free. The final chunk of the stream includes the total token usage for the request. The model is tuned to adhere to the requested format.

The Chat Completions Endpoint

The core of our API is the POST /v1/chat/completions endpoint. It accepts text input and returns text output. There are no embeddings, image, audio, or video generation capabilities. The model ID to send is uncensored. This is an open-weight model tuned to answer without content refusals for lawful adult use. It is not GPT, Claude, or any other vendor's model.

Configure your client to use our base URL and your API key. The request body follows the standard OpenAI chat completion format. You can specify the model, messages, and various parameters. The API supports streaming via SSE for real-time token delivery. Function calling and JSON mode are also available. Use the following curl command to make your first request.

Python SDK Integration

Using the official OpenAI Python SDK is the fastest way to integrate. Install the library and set the base_url to our endpoint. Pass your API key in the api_key parameter. The SDK handles the HTTP requests and response parsing automatically. This code-first approach lets you start generating content immediately.

The SDK supports all features of our API, including streaming and function calling. You can set parameters like temperature and top_p to control the output. The model ID remains uncensored. Errors are raised as standard exceptions. Refusals and errors do not consume tokens from your prepaid balance. Use the Python SDK to quickly prototype your application.

Node SDK Integration

For JavaScript and TypeScript developers, the OpenAI Node SDK provides a seamless integration. Set the baseURL to https://api.nofilterai.cc/v1 and provide your API key. The SDK handles authentication and request formatting. You can use the chat.completions.create method to send messages.

The Node SDK supports streaming responses, allowing you to process tokens as they arrive. This is useful for real-time applications. You can also use JSON mode to get structured output. The model ID is uncensored. The API is optimized for direct integration, so you can focus on building your app. Use the Node SDK to integrate our uncensored API into your web or server-side applications.

Streaming Responses with SSE

Enable streaming by setting stream: true in your request. The API returns a Server-Sent Events (SSE) stream. Each chunk contains partial text. The final chunk includes the token usage for the request. This allows you to display output in real-time.

Streaming is efficient for long responses. The response can run to the end of the 100,000-token window. You can parse the SSE stream in your client to update the UI incrementally. This is ideal for chat interfaces and code generation tools. Our API ensures low latency for token delivery. Use the streaming endpoint to enhance the user experience of your app.

Rate Limits and Constraints

Our API enforces strict limits to ensure stability. You are allowed 300 requests per minute per key and 8 concurrent requests. The maximum request body size is 8 MB. If you exceed these limits, you will receive an error. The API returns a 429 Too Many Requests error when you exceed the rate limit. The model context window is 100,000 tokens, including both prompt and completion.

If the key is invalid or expired, you receive a 401 Unauthorized error. Errors and refusals are free, so you are not charged for failed requests. Prepaid credit never expires. You can top up your credit by crypto (USDT on TRC20, USDC on Base). Limits apply per API key. If you need more keys, you can generate a new one, which replaces the old one. Use these limits to plan your application's scalability.

cURL

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

Python

from openai import OpenAI

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

Node.js

import OpenAI from "openai";

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

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

What is the context window size?

The context window is 100,000 tokens, covering both the prompt and the completion. There is no separate output cap, and if max_tokens is not set, the response can run to the end of the window.

How do I pay for the API?

We accept top-ups by crypto (USDT on TRC20, USDC on Base). You can top up with any whole amount from $20 to $500. Credit never expires, and errors are free.

Is the model uncensored?

Yes, the model does not refuse lawful adult, fictional, or controversial topics. However, we do block sexual content involving minors. The model is not GPT, Claude, or any other vendor's model.

Your key is one form away

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

Specs at a glance

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

FeatureSupport
API formatOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
Base URLhttps://api.nofilterai.cc/v1
API keyBearer token in the Authorization header
Modeluncensored
EndpointsPOST /v1/chat/completions · GET /v1/models
Sampling parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
JSON modeJSON object mode via response_format json_object
Max outputup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
Tools / tool callsSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
SSE streamingYes — server-sent events; the last chunk carries token usage
Max context100,000 tokens, input and output combined
Parallel requestsup to 8 in parallel per key
Requests per minute300/min per key
Max body8 MB request body
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Credit expirypaid credit never expires, no subscription
Billingpay as you go from prepaid credit; nothing is charged for failed or refused requests
Trial credit$0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Volume bonus+5% on $50+, +10% on $100+, +15% on $200+
Top-upUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
Token prices$0.15 per 1M input tokens · $0.50 per 1M output tokens
AccountGoogle or e-mail and password
Contentuncensored for adults; the only hard rule: no sexual content involving minors
Keysone key per account, regenerate any time (the old one stops working)

HTTP errors

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

StatusTypeReason
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_blockedrefused by the content policy
404not_foundonly /v1/chat/completions and /v1/models exist
413request_too_largerequest body larger than 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busymodel busy — retry in a few seconds