EN ▾

Unfiltered AI Chatbot for Coding: Setup and Limits

An unfiltered ai chatbot for coding is useful when ordinary assistants refuse legitimate security, scraping or reverse-engineering work. This guide shows how to point your editor and scripts at an uncensored API, and where a single general model falls short.

Updated

Isometric terminal with flowing code blocks, representing a coding assistant connected to an API

When an unfiltered model helps a programmer

Most coding help needs no special model. Where an unfiltered ai chatbot for coding earns its place is the gray zone where mainstream assistants hedge, warn or decline. Typical examples for lawful work include:

  • Writing a port scanner, fuzzer or packet parser for a network you are authorized to test.
  • Explaining how a piece of malware sample works so you can write detection rules.
  • Building a scraper with rotating sessions and parsing for data you are allowed to collect.
  • Reverse engineering a file format or an old binary for interoperability.
  • Writing exploit proof-of-concept code for a bug you are reporting to the vendor.

The model is tuned to answer without content refusals for lawful adult use. You remain responsible for authorization and for the laws that apply to you. The model will not decide that for you, and a missing refusal is not a permission slip.

Be realistic about quality too. This is one general-purpose open-weight model run by an independent provider. We publish no benchmark scores, and you should test it on your own code before relying on it. For some hard tasks, a larger or specialized coding model from another provider may do better; check what is available and compare on a real task of yours.

Connect your tools

Everything uses the same three values: base URL https://api.unfilteredchatbot.top/v1, model uncensored and a bearer key from the API key page.

Editors and CLI assistants

Editors such as Cursor and extensions such as Continue offer a setting for a custom OpenAI base URL and a custom model name. Settings screens change between versions, so check the tool's current docs for the exact label. The values to enter are the ones above. Autocomplete features that use a special fill-in-the-middle format may not work, because the API serves chat completions only.

For a terminal workflow, aider accepts an OpenAI-compatible endpoint through flags or environment variables:

export OPENAI_API_BASE=https://api.unfilteredchatbot.top/v1
export OPENAI_API_KEY=YOUR_KEY
aider --model openai/uncensored

Scripts

For your own automation, use any OpenAI SDK. This script sends a diff for review:

import subprocess
from openai import OpenAI

client = OpenAI(base_url="https://api.unfilteredchatbot.top/v1", api_key="YOUR_KEY")

diff = subprocess.run(["git", "diff", "HEAD~1"], capture_output=True, text=True).stdout

resp = client.chat.completions.create(
    model="uncensored",
    temperature=0.2,
    messages=[
        {"role": "system", "content": "You are a strict code reviewer. List bugs first, then risks, then style. Quote the line for each point."},
        {"role": "user", "content": diff},
    ],
)
print(resp.choices[0].message.content)

A low temperature such as 0.2 gives steadier code. The quickstart in the docs has the same request in curl and Node.

Tool calling for agents

The API supports tools, tool_choice, streamed tool_calls and results sent back as role: "tool". That is the pattern coding agents use: the model asks to run a function, you run it, and you return the output.

import json, subprocess
from openai import OpenAI

client = OpenAI(base_url="https://api.unfilteredchatbot.top/v1", api_key="YOUR_KEY")

tools = [{
    "type": "function",
    "function": {
        "name": "run_tests",
        "description": "Run the project's test suite and return the output.",
        "parameters": {
            "type": "object",
            "properties": {"path": {"type": "string"}},
            "required": ["path"],
        },
    },
}]

messages = [{"role": "user", "content": "Run the tests in ./tests and tell me what fails."}]
first = client.chat.completions.create(model="uncensored", messages=messages, tools=tools)
msg = first.choices[0].message

if msg.tool_calls:
    messages.append(msg)
    for call in msg.tool_calls:
        args = json.loads(call.function.arguments)
        out = subprocess.run(["pytest", args["path"], "-q"], capture_output=True, text=True).stdout
        messages.append({"role": "tool", "tool_call_id": call.id, "content": out[-4000:]})
    final = client.chat.completions.create(model="uncensored", messages=messages, tools=tools)
    print(final.choices[0].message.content)

Two cautions. Validate arguments before executing anything the model asks for, and run it in a sandbox when the code is untrusted. A model can produce a malformed call, so wrap the JSON parse in a try block and send the error back as the tool result so it can correct itself.

JSON mode for structured output

Set response_format to {"type": "json_object"} and say in the prompt which keys you want, for example a list of findings with file, line and severity. That makes the answer parseable by a CI step. Always mention "JSON" in the prompt and validate the result, because the mode guarantees valid JSON syntax and not the schema you had in mind.

Using the 100,000-token window well

Prompt and completion share 100,000 tokens, and max_tokens is optional. For code that is a lot of room: a 400-line file is around 4,000 to 6,000 tokens, so a dozen files fit with space left for the answer.

  1. Send the files the question touches, not the whole repository. Extra files cost money and dilute attention.
  2. Put file paths as headers above each block so the model can refer to them.
  3. Ask for a unified diff when you want edits, then apply it with git apply or patch.
  4. For long jobs, keep the system prompt and file list fixed and only append new messages.

Large windows also change how you can debug. Instead of guessing which file matters, paste the stack trace together with the three modules it names, and ask the model to point to the line where the assumption breaks. You can check its claim against the code in seconds.

The request body is capped at 8 MB, far more than the token window needs.

Prompts that get better code

The habits that work with any code model apply here, and a few matter more with an unfiltered one.

  • State the authorization. For security work, say in the prompt that the target is your own lab or a scope you have written permission for. It keeps the answer focused on the task and gives a future reader of your logs the context.
  • Name the language and version. "Python 3.11, standard library only" removes a whole class of wrong answers.
  • Give the error, not a description of it. Paste the full traceback and the function that raised it.
  • Ask for a plan before code. A numbered plan of five lines lets you correct the approach before the model writes 200 lines in the wrong direction.
  • Request tests. Ask for a failing test first, then the fix. You get a way to check the answer for free.
  • Keep the temperature low. Values between 0 and 0.3 give steadier output for code. Raise it only for brainstorming names or approaches.

Debugging loop

A reliable loop is: paste the failing test and the code, ask for the cause in two sentences, then ask for a minimal patch as a diff. Run the tests. If they fail, paste the new output into the same conversation and ask again. Because the window holds 100,000 tokens, you can keep the whole loop in one conversation for a long time, but start fresh when old attempts begin to confuse the model.

Always read generated code before running it. This applies double to anything that touches the network, the file system or credentials.

What a coding session costs

Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens. Coding is input-heavy, because you send a lot of code and get a shorter answer. Take a review request with 20,000 tokens of code and 1,500 tokens of answer:

  • Input: 20,000 x $0.15 / 1,000,000 = $0.003
  • Output: 1,500 x $0.50 / 1,000,000 = $0.00075
  • Total: $0.00375

If you make 200 of these requests in a working day, that is $0.75. Over 20 working days, $15. A request that uses the entire 100,000-token window with a 1,500-token answer is $0.015 plus $0.00075, so $0.01575.

Failed or refused requests are not charged. Credit comes in whole-dollar top-ups from $20 to $500 by crypto (USDT on TRC20, USDC on Base) and does not expire. Bonuses apply from $50 (+5%), $100 (+10%) and $200 (+15%). The pricing page explains how to top up. New accounts can claim $0.50 of trial credit, which covers about 133 requests of the 20,000-token review size.

Limits to plan around

  • Concurrency. A full key allows 8 concurrent requests and 300 per minute; a trial key allows 2 and 60. Parallel test runs or an agent with many branches can hit the cap, and the API replies 429 with code concurrency or rate_limited. A streamed request holds its slot until the stream ends.
  • Retries. On temporary overload the API returns 429 with Retry-After: 5. Back off for that long, then try again.
  • Text only. No embeddings, so code search and retrieval need another source for vectors. No fine-tuning either.
  • One model. You cannot switch between a small fast model and a large one on this endpoint.
  • Privacy. Prompts are not used for training. Even so, avoid pasting secrets such as production keys into any prompt.

The endpoint overview describes the rest of the API surface.

Questions and answers

Can I use it inside Cursor?

Cursor and similar editors let you set a custom OpenAI base URL and model name. Enter the API base URL, your key and the model ID uncensored, and check the editor's current docs for the exact setting.

Does it support function calling?

Yes. It accepts tools and tool_choice, can stream tool_calls, and takes results as role tool messages.

Is it better than other coding assistants?

Not necessarily. It is one general model with fewer refusals, and we publish no benchmarks. Test it on your own tasks.

Is the code I send used for training?

No. Prompts are not used for training.

Your key is one form away

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

Get API key