EN ▾
Get API key

Uncensored GPT Alternative: Swap the Base URL

If your app already talks to a GPT-style chat API and keeps hitting refusals, you can point the same code at a different endpoint. This page shows what changes, what stays the same, and what it costs.

Updated

Isometric illustration of a cable being moved between two servers, representing a swapped API endpoint

Key points

  • Change two values, the base URL and the key, and set the model to uncensored.
  • Streaming, tool calling and JSON mode work through the same OpenAI-style calls.
  • Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens, prepaid, no subscription.
  • It is one open-weight text model from an independent provider, not a GPT model and not a router.

The short version

An uncensored GPT alternative is only useful if you can adopt it without rewriting your app. This one speaks the OpenAI chat completions protocol, so anything built on an OpenAI SDK, or on a tool that lets you enter a custom endpoint, can use it after two edits: the base URL becomes https://api.nofiltergpt.top/v1 and the key becomes your own. The model name you send is uncensored.

That is the whole migration for most projects. The rest of this article covers the details that decide whether it works for you: which features carry over, how the cost compares in real numbers, where the limits sit, and the cases where you should stay with what you have.

One clarification first. This is not a GPT model and it is not the official API of OpenAI or any other vendor. It is a single open-weight model run by an independent provider and tuned to answer without content refusals for lawful adult use. You get its behaviour, not the behaviour of a model you may have used elsewhere, so test your prompts before you commit a production workload.

What counts as a drop-in replacement

People use the phrase loosely, so it helps to pin it down. A replacement is drop-in when the request and response shapes match what your code already sends and parses. Here the surface is deliberately small and familiar:

  • POST /v1/chat/completions for chat, with the usual messages array.
  • GET /v1/models to list what the key can use.
  • Authorization: Bearer <key> for auth.
  • Streaming over server-sent events with stream: true, with token usage reported at the end of the stream.
  • Tool calling with tools and tool_choice, streamed tool_calls, and tool results sent back as role: "tool" messages.
  • JSON mode with response_format: {"type":"json_object"}.
  • Sampling controls: temperature, top_p, stop, seed and the frequency and presence penalties are passed through.

What is missing matters just as much. It is text only. There is no image, audio or video generation, no embeddings endpoint and no fine-tuning. If your current stack calls an embeddings route for search, you will keep that part where it is and move only the chat calls.

Switching an existing integration

With the official Python SDK the change is two arguments on the client. Everything after that line stays as you wrote it.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.nofiltergpt.top/v1",
    api_key=os.environ["NOFILTER_KEY"],
)

resp = client.chat.completions.create(
    model="uncensored",
    messages=[
        {"role": "system", "content": "You are a blunt editing assistant."},
        {"role": "user", "content": "Tighten this paragraph without softening it."},
    ],
    temperature=0.7,
)
print(resp.choices[0].message.content)

In Node the pattern is the same:

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.nofiltergpt.top/v1",
  apiKey: process.env.NOFILTER_KEY,
});

const resp = await client.chat.completions.create({
  model: "uncensored",
  messages: [{ role: "user", content: "Draft a villain monologue for chapter nine." }],
});
console.log(resp.choices[0].message.content);

And if you test from a shell first, curl shows exactly what goes over the wire:

curl https://api.nofiltergpt.top/v1/chat/completions \
  -H "Authorization: Bearer $NOFILTER_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"uncensored","messages":[{"role":"user","content":"Say hello in one line."}]}'

Keep the model name in a config value, not scattered through the code. If you later run two providers side by side, you change one setting per provider instead of hunting through files. The API docs list the request fields in one place.

Streaming and tools carry over

Chat front ends and agents usually depend on two features beyond plain completions, and both work the same way here.

Streaming

Set stream: true and read the events as they arrive. Usage is sent at the end, which is where you read the final token counts for your own bookkeeping.

stream = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Write a two-line cliffhanger."}],
    stream=True,
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)

A streamed request holds its concurrency slot until the stream finishes. If you open eight streams and forget to close one, that slot stays busy.

Tool calling

Define functions in tools, let the model request them, run them yourself, and send the output back as a message with role: "tool". The loop is identical to the one you wrote for any other OpenAI-style endpoint. Test it with your real tool schemas, because how often a given model chooses to call a tool is a property of that model, not of the protocol.

For structured output, response_format: {"type":"json_object"} switches on JSON mode. Still validate the result in code and keep a retry path, as you would with any model.

What it costs in real numbers

Pricing is per token and prepaid: $0.15 per 1M input tokens and $0.50 per 1M output tokens. There is no subscription, failed or refused requests are not charged, and credit never expires. Here is the arithmetic for two typical requests.

RequestInput costOutput costTotal
2,000 in, 500 out2,000 x $0.15 / 1M = $0.0003500 x $0.50 / 1M = $0.00025$0.00055
10,000 in, 1,000 out10,000 x $0.15 / 1M = $0.00151,000 x $0.50 / 1M = $0.0005$0.002

At $0.00055 a request, the $0.50 trial credit covers roughly 900 requests of the first size. A $20 top-up covers about 10,000 requests of the second size, since $20 divided by $0.002 is 10,000. Long chat histories dominate the bill because the whole history is resent as input on every turn, so trimming old messages is the first saving to make.

Top-ups are any whole amount from $20 to $500, with a bonus of 5% from $50, 10% from $100 and 15% from $200. You can pay by by crypto (USDT on TRC20, USDC on Base). Current numbers are on the pricing page.

Limits you should plan around

A full key allows 8 concurrent requests and 300 requests per minute. A trial key allows 2 concurrent and 60 per minute. The body limit is 8 MB, and the context window is 100,000 tokens, counting prompt and completion together. max_tokens is optional; without it the completion can use whatever is left of the window.

Go over a limit and you get HTTP 429. The error code is rate_limited when you exceed requests per minute and concurrency when too many calls are in flight at once. On temporary overload you also get a 429, with a Retry-After: 5 header. Treat all of them the same way: wait, then retry with a little jitter. The SDKs retry some errors by default, and you can raise max_retries on the client.

Every response carries X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests and X-RateLimit-Limit-Concurrency. Log the request id with your own trace, and read the balance header if you want a low-credit alert without polling anything else.

When to stay with what you have

This is a good fit when refusals are the actual problem: fiction tools, roleplay and companion apps for adults, red-team test data, moderation research, and any lawful adult product where a general assistant keeps declining. It is a poor fit when you need images, audio, embeddings or fine-tuning, because none of those exist here. It is also the wrong choice if you need the specific behaviour of one named vendor model, since this is a different model and will answer differently.

One rule is fixed and not configurable: no sexual content involving minors, ever. Requests that touch it fail, and nothing in the prompt changes that.

On data handling, prompts are not used for training. For anything beyond that, read the terms and privacy pages before you send sensitive material.

The cheapest way to decide is to test. New users can claim $0.50 of trial credit with one click on the API key page after signing up with Google or an email and password. It needs no payment method, it is one per person, and it lasts 7 days. Run your hardest ten prompts through it, compare the output with what you get today, then decide. You can get your API key in a minute, and the hosted setup is described further on the hosted uncensored LLM page.

Questions and answers

Is this the official GPT API with the filters removed?

No. It is one open-weight model run by an independent provider, tuned to answer without content refusals for lawful adult use. It is not a product of OpenAI or any other vendor.

Do I need a new SDK?

No. Use the official OpenAI SDK for Python or Node, or any client with a custom endpoint setting. Change the base URL and key, and set the model to uncensored.

Can I use it for image generation or embeddings?

No. The service is text only. There is no image, audio or video generation, no embeddings and no fine-tuning.

How do I try it without paying?

Sign up, then claim $0.50 of trial credit with one click on the API key page. It is valid for 7 days, one per person, and needs no payment method.

What happens when I hit a rate limit?

You get HTTP 429 with the code rate_limited or concurrency. Wait and retry; on temporary overload the response includes a Retry-After header of 5 seconds.

Your key is one form away

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