Skip to navigation

Uncensored AI coding API: refusals, models and setup

In short: Uncensored AI coding API for agents that hit refusals: which tasks trigger them, free and paid ids, Cursor, Cline and Aider setup, and a session cost.

Published 23 min read
On this page

An uncensored AI coding API is an OpenAI-format endpoint whose model will read, explain and write code in areas where a mainstream assistant often stops: decompiled binaries, malware samples, parsers for hostile input, scanners for your own hosts. Pages on this keyword usually sell one model. This post gives a decision order instead. It shows which coding tasks actually trigger refusals, when to switch to which of our ids, what a 40-step agent session costs in tokens and dollars, and the exact fields for Cursor, Cline, Continue and Aider. It also says plainly that we have no coding benchmark of these models. We publish One AI API Key, so weigh the price comparisons with that in mind.

When does a coding agent hit a refusal at all?

Rarely, and in a narrow band of work. A refusal in a coding tool is a model deciding that a request looks like an attack, even when you are the defender. The agent loop makes it worse: one declined step in a 40-step task stops the whole run, and the agent either apologises or quietly rewrites the job into something safer and useless.

We have not measured how often each model declines coding work, so we will not print a rate. What we can do is name the places where it happens, from the kinds of tasks the host pages for these models describe. Nodecode, which sells an abliterated DeepSeek V4.1 Flash for pentesting, says it built the model for security work “where a model that refuses halfway through a run costs you the whole session”. That sentence is the whole market for this post.

Three things are not refusals, and an uncensored model does not fix them. A weak model that writes broken code is a quality problem. A model that hedges with three paragraphs of caveats is a prompt problem, which the unfiltered AI API guide covers. And a request that is simply outside the acceptable use policy, such as malware aimed at systems you do not own, stays out of bounds on every model we serve.

Which coding tasks trigger refusals, and which of them need an uncensored model?

Five task families come up, and only some need the switch. The “try first” column is the order we would use. The refusal likelihood is our reading of how assistants behave, not a measured rate, so test your own prompts.

Task What the agent is asked to do Try first What to watch
Reverse engineering Read decompiler output, name functions, explain a loop; Ghidra is the usual front end Base model; switch if it balks at “malware” Never let the agent execute the sample
Malware analysis for defenders Describe behaviour, extract indicators, draft a detection rule Base model for the rule, uncensored id for the sample talk Work in a disposable VM
Legacy exploit proof of concept, authorised testing Reproduce a known, patched flaw against a lab you built Uncensored id, with scope stated in the system prompt Written permission, lab only
Scraping and anti-bot Fetch public pages, parse them, respect limits Base model; it rarely refuses polite scraping Read the Robots Exclusion Protocol, which says its rules are not access authorization
Security tooling Port scanners for your own hosts, log parsers, fuzzing harnesses for your own code Base model first; uncensored id on a refusal Stay inside systems you own

Two rows deserve a sentence more. For exploit work, this post gives no recipe and no working code. The assistants decline it because it is dual use, an uncensored model changes that, and what keeps it legitimate is your authorisation, not the model. If you do not have written permission to test the target, do not ask. For scraping, the honest advice is to fetch what you are allowed to fetch. Circumventing authentication, billing or rate limits is prohibited by our policy, and an uncensored model does not change what the site’s owner allows.

Triage order for a refused task

Base model firstbetter coder, fewer surprisesRefused? State scope plainlywho you are, what you own, what is offFree uncensored id100 requests, 3,000,000 tokens a dayPaid listed id, by emailprices on /uncensored-ai-apiSandbox, approve each commandapplies to every step above
The order is by risk and cost, not by quality. A base model that answers is almost always the better choice for code.

Which of our free uncensored ids fit coding?

Six ids on the free lane are marked uncensored, and two carry a coding tag in the catalogue. Everything below is read from the model catalogue, not measured: we publish no speeds or scores for these ids. All six end in :free, work at a $0 balance and share one allowance of 100 requests and 3,000,000 tokens a day, in the chat and the API alike, refilling at 00:00 UTC (05:30 IST). Past it the gateway answers HTTP 429 with the code daily_limit_free, which the 429 guide separates from a provider outage.

Id Catalogue use tags Context (tokens) Model page
dealignai-deepseek-v4.1-flash-uncensored-fp8:free Uncensored chat, reasoning, coding 1,048,576 DeepSeek V4.1 Flash Uncensored
laguna-xs-2.1-uncensored:free Uncensored chat, coding, roleplay not listed Laguna XS 2.1 Uncensored
dealignai-glm-5.3-uncensored-fp8:free Uncensored chat, roleplay, writing 1,048,576 GLM 5.3 Uncensored
dealignai-glm-5.3-flash-uncensored-fp8:free Uncensored chat, roleplay, drafting 1,048,576 GLM 5.3 Flash Uncensored
nemotron-3-ultra-550b-a55b-uncensored:free Uncensored chat, reasoning, roleplay not listed Nemotron 3 Ultra 550B Uncensored
k2-horizon-375b-a23b-uncensored:free Uncensored chat, reasoning, roleplay not listed K2 Horizon 375B Uncensored

Start with the DeepSeek id for an agent that reads a lot of code: a 1,048,576-token window holds a large repository, and the 1M context guide explains why a window that size still needs testing. Laguna is the second candidate. The other four are tagged for chat and writing, so use them when the task is more explanation than code. The DeepSeek uncensored API post and the GLM uncensored API post cover those families in depth.

Two gateway behaviours matter for an agent. If a free call fails, the gateway retries it, and fallback rules, presets or automatic routing may move the request to a similar model, so the model that answered can differ from the one you named. The routing documentation gives the rules, and the post on verifying that an API serves the model it names shows how to check. And the free lane is shared with the chat, so a long agent run uses up the allowance you would otherwise spend there. The free uncensored API guide works the allowance out.

Which paid ids suit a coding agent, and what do they cost?

Five listed rows are worth a look for code and security work. Prices are USD per 1M tokens as published on the uncensored AI API page, and we have not tested any of these for coding quality. The use text is the list’s own tag, not our verdict.

Id List use text Input / output per 1M
deepseek-v4.1-flash-1017-uncensored Abliterated DeepSeek, 1M context $0.28 in, $1.00 out
qwen3.8-27b-abliterated Abliterated Qwen 3.8 27B $0.51 in, $2.27 out
glm-5.3-flash-cybersecurity-uncensored Security and detection work $1.05 in, $3.50 out
kimi-k3.1-pro-uncensored The list tags it for cyber work, 1M context $4.00 in, $20.00 out
glm-5.3-flash-code-uncensored Uncensored coding model $12.00 in, $12.00 out

Paid models are set up by hand, offline. Pick a model and see the prices on the uncensored AI API page, then email somdutt777@gmail.com to buy access. We do that by hand to stop abuse and card fraud, so there is no checkout button for these rows. For the DeepSeek and Qwen families, the Qwen 3.8 uncensored API post puts our listed price next to seven public hosts, and the price comparison for uncensored APIs does the same across the whole list. The Kimi post covers the expensive end.

A rival for the same job exists, and a fair post says so. Nodecode’s Cyber v1 page, which we read on 27 November 2026, lists an abliterated DeepSeek V4.1 Flash 1017 at $0.33 per 1M input and $1.32 per 1M output with a 1,048,576-token window, and adds that the same key works with Codex CLI and Claude Code because it serves several API formats. It also names three open-source pentest agents (Strix, PentAGI and PentestGPT) that accept a custom endpoint. Those figures are theirs, we did not test the service, and ours is a different set of ids with different prices. The sibling post on the cybersecurity use compares more.

What does a 40-step agent session cost?

Take one session: 40 model calls, an average of 25,000 input tokens per call and 700 output tokens. Input is high because an agent resends the conversation and file contents on every step. That is 1,000,000 input tokens and 28,000 output tokens, 1,028,000 in all. The numbers are our assumptions for a medium task, and the real ones depend on your tool. Prompt caching, where a route offers it, would lower the input cost, and we leave it out so the rows stay comparable.

On the free lane the cost is $0 per token, but the allowance binds. Forty calls is 40 of 100 requests, and 1,028,000 tokens is 34.3% of 3,000,000, so 2 such sessions fit in a day before the cap ends it. For the listed rows the arithmetic is (input tokens x input price + output tokens x output price) / 1,000,000. For deepseek-v4.1-flash-1017-uncensored: 1,000,000 x $0.28 = $0.28, plus 28,000 x $1.00 = $0.03, so $0.31.

Cost of one 40-step agent session by listed id

  • deepseek-v4.1-flash-1017-uncensored$0.31
  • qwen3.8-27b-abliterated$0.57
  • glm-5.3-flash-cybersecurity-uncensored$1.15
  • kimi-k3.1-pro-uncensored$4.56
  • glm-5.3-flash-code-uncensored$12.34
List prices on the uncensored AI API page, 1,000,000 input and 28,000 output tokens, no caching. The free ids cost $0 per token and use 34.3% of the day's tokens per session. A cheaper row is not a better coder: we have not benchmarked any of them.

The spread is the point. The same session costs $0.31 on one row and $12.34 on another, a factor of about 40. A row tagged for code is not automatically a better coder, and an output price of $12.00 per 1M tokens is a reason to measure before you commit. Change the shape of your own work below.

Monthly agent cost on each listed row

deepseek-v4.1-flash-1017-uncensored
$20.33
qwen3.8-27b-abliterated
$37.85
glm-5.3-flash-cybersecurity-uncensored
$75.77
kimi-k3.1-pro-uncensored
$300.96
glm-5.3-flash-code-uncensored
$814.18
Free lane: tokens used per day
3,084,000
Free lane: share of the daily token cap
102.8%
Free lane: does a day fit
over the cap

List prices only, no caching, no discounts. The free rows use the daily request and token caps from the free lane. The calculator runs in your browser and sends nothing.

With the defaults, three sessions a day is 120 calls and about 3.1 million tokens, which is over both free caps. That is the honest answer for heavy agent use: the free lane suits one or two sessions a day, and anything more needs a paid row or a second route. The coding agent key guide and the estimate-your-bill tutorial have a longer cost method, and cutting LLM API costs lists the habits that shrink the input side.

How do you wire it into Cursor, Cline, Continue and Aider?

Any tool that takes an OpenAI base URL and a model id works, because the gateway speaks the OpenAI chat format and only the base URL, the key and the model id change. The base URL is https://api.oneaiapikey.com/v1, with /v1. Create a key under Keys in the console after a Google sign-in. The settings below come from our own setup guides, and the tools’ documentation (Aider, Cline, Continue, Cursor and OpenCode) is the source if a menu has moved.

Tool Where the setting lives What to enter Setup guide
Cline Provider settings, “OpenAI Compatible” Base URL, key, model id typed exactly Cline setup
Continue ~/.continue/config.yaml, provider: openai apiBase, apiKey, model Continue setup
Aider OPENAI_API_BASE, OPENAI_API_KEY, openai/ prefix --model openai/<id> Aider setup
Cursor Settings, Models, Override OpenAI Base URL Key, base URL, a custom model id Cursor setup
OpenCode Custom OpenAI-compatible provider Base URL, key, model OpenCode setup

Aider is the simplest to test because it is two environment variables and one flag.

Aider with a free uncensored id
export OPENAI_API_BASE=https://api.oneaiapikey.com/v1
export OPENAI_API_KEY=sk-your-key-here

aider --model openai/dealignai-deepseek-v4.1-flash-uncensored-fp8:free

Aider will warn that it does not know the model, which is expected for an id outside its list; its documentation has a section on those warnings. For Continue, add the model to the models: list.

Continue config.yaml entry
models:
  - name: DeepSeek V4.1 Flash Uncensored (One AI API Key)
    provider: openai
    model: dealignai-deepseek-v4.1-flash-uncensored-fp8:free
    apiBase: https://api.oneaiapikey.com/v1
    apiKey: ${{ secrets.ONEAIAPIKEY_API_KEY }}
    roles:
      - chat
      - edit

For Cline, choose the OpenAI Compatible provider and type the fields exactly, including the :free suffix.

Cline provider settings
API Provider:  OpenAI Compatible
Base URL:      https://api.oneaiapikey.com/v1
API Key:       sk-your-key-here
Model ID:      dealignai-deepseek-v4.1-flash-uncensored-fp8:free

Three caveats we know from our own guides. Cursor’s own-key mode covers local Chat and Agent requests only, while Tab completion and its cloud agents stay on Cursor’s servers, and the base URL override is a single global switch. Cline and similar agents depend on tool calls, so a model that formats them badly fails long tasks in odd ways. And Claude Code is a poor fit for these six ids, as the next paragraph explains.

Claude Code speaks the Anthropic Messages format. The catalogue lists only the OpenAI protocol for the six free uncensored ids, and we have not tested them through Claude Code, so use one of the OpenAI-format tools above. If you want Claude Code on the gateway for ordinary work, the custom base URL guide and the Anthropic format tutorial cover it, and the OpenAI against Anthropic compatibility guide explains the difference. The general pattern for any OpenAI SDK app is in switching an OpenAI SDK app to a different base URL.

How do you test it before trusting an agent run?

With one request outside the editor. The call below uses the DeepSeek id and a defensive reverse-engineering question: how to recognise a byte-wise XOR decoding loop in a decompiler listing, how an analyst recovers the strings safely in a lab, and what to record for a detection rule. It is the kind of question a cautious model sometimes declines because the word “malware” appears near “decode”. Note the generous max_tokens: a reasoning model spends part of the limit on thinking. Nodecode’s page says that of its own DeepSeek build, and we have not measured it for ours, but a limit of 1,500 costs nothing to set.

curl: a defensive reverse-engineering question
export ONEAIAPIKEY_API_KEY="paste-your-key-here"

curl https://api.oneaiapikey.com/v1/chat/completions \
  -H "Authorization: Bearer $ONEAIAPIKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dealignai-deepseek-v4.1-flash-uncensored-fp8:free",
    "max_tokens": 1500,
    "messages": [
      {"role": "system", "content": "You are a reverse engineer helping a malware analyst on a defensive team."},
      {"role": "user", "content": "A decompiler listing shows a loop that XORs a byte array with a one-byte key before a string is used. Explain how to recognise this pattern, how an analyst recovers the strings safely in a lab, and what to record for a detection rule."}
    ]
  }'

If it answers, run the second test: a system prompt that states your scope, because that is what you will put in the agent’s rules file. We use this one.

System prompt for a defender's coding agent
You are a coding assistant working for a defender on systems we own or have written permission to test. Explain what code does, read decompiler output, write parsers, scanners for our own hosts, detection logic and unit tests. Be direct and specific. Do not write tooling aimed at systems we do not control, and do not run or fetch anything on your own: propose each shell command and wait for approval.

The last clause matters more than the rest. An agent that proposes each shell command and waits is slower, and it is the only setup in which a confused model cannot hurt your machine. A system prompt sets tone and scope and does not remove a model’s habits or our policy. If the model still declines, take that as information, rephrase honestly or switch id, and do not loop a prompt to wear it down: the acceptable use policy forbids circumventing safety filters, including by jailbreaking at scale.

What are the honest limits of an uncensored coding model?

Five, and none of them is hidden.

  1. Code quality is unmeasured. Removing refusals edits the weights. The research behind the method, Arditi et al., reports that TruthfulQA fell by about one to 3.5 points on the models it tested, and says the direction-selection step is heuristic. The Heretic README says its models have been benchmarked with standard metrics such as MMLU and GSM8K. Neither is a coding benchmark, and two of the community cards we read for the Qwen comparison say they ran no downstream benchmark at all. So the size of the effect on code is the thing nobody here has measured.
  2. “Uncensored” is a label, not a promise. It can mean abliteration or fine-tuning, and the card tells you which. Our post on abliterated against uncensored models shows how to read one.
  3. Tool calling is untested. We have not run these ids through an agent loop, and the catalogue lists no capabilities for them.
  4. A shared free lane. 100 requests is two long agent sessions, as the arithmetic above shows, and ids can leave the lane: on 25 November we removed 11 whose logs showed no successful request. The update on the free lane records it, and the status page shows what we monitor.
  5. A third party reads your code. The model provider receives the request. See the privacy guide and the transparency page for what we keep and what we cannot see.

A test you can run yourself settles most of the first and third. Take twenty tasks from your own repository that have a test or a clear pass condition, run each on the base model and on the uncensored id, and count passes. That is a small sample, so a gap of one or two tasks is noise, and the comparison post shows how wide the uncertainty on 20 trials really is.

Before an uncensored coding agent touches real work

0 of 8 done

Not yet

Start with the base model and the smoke test.

How do you keep an agent from doing damage?

By treating the model as an untrusted collaborator, whichever model it is. OWASP’s 2025 list names excessive agency (LLM06) and improper output handling (LLM05) among the ten risks for LLM applications, and a coding agent is both: it can take actions, and it executes text a model produced. Three habits cover most of it.

First, isolation. Reverse engineering and malware work belong in a virtual machine or container you can throw away, with no route to your real network and no credentials mounted in. Ghidra analyses a binary without running it; keep it that way, and let the agent read output, not launch samples. Second, approval. Turn auto-approve off for shell commands and file deletes, and read each command before it runs. Third, keys. Give the agent a key made for that project with a spend limit, so a runaway loop costs a known amount. The guide to one key per project with spend limits shows the console steps and API key security for AI apps covers rotation. Our Chat docs and cost-control documentation describe the account side.

None of this is special to uncensored models, and the reason to say it here is that a model without refusals will not stop you at the point where a mainstream one might. The agent will do what the prompt says. Your sandbox is the only brake left.

Which route fits what you are doing?

Use the picker; each answer is built from the tables above.

What does your coding task look like?

Ordinary coding that got one odd refusal

Do not switch yet. Rephrase with the scope stated, then try a second base model. If it still declines on work you are allowed to do, try the free DeepSeek V4.1 Flash Uncensored id. The guide to choosing a model for coding agents covers the base-model side.

Reading decompiled code or malware behaviour for defence

Use the free DeepSeek id first for a 1,048,576-token window. Work in a VM, never run the sample, and keep the output to indicators and detection logic. The cybersecurity API post goes through the defensive workflow.

Two or more long agent sessions a day

The free lane fits about 2 sessions of 40 calls before the cap ends the day. Beyond that, pick a listed row on the uncensored AI API page and email somdutt777@gmail.com to buy access. The calculator above gives the monthly figure.

A whole repository in one prompt

Three free ids list 1,048,576 tokens, and one full prompt that size is about a third of the day's tokens. Read the 1M context guide before you rely on it, and test recall on your own files.

I need a coder I can bet a product on

Use a paid route with a second model behind it, and measure your own tasks first. A free lane is not a production base. The uptime and fallbacks guide and the uncensored AI API guide cover the design.

What do the sibling posts cover that this one does not?

This one stays on code and agents. For the free ids in depth, read the free uncensored AI API and free uncensored AI chat guides. The uncensored AI API hub post is the overview, and the guide to getting an API key covers sign-in and keys. If your question is about unfiltered answers, writers or SillyTavern roleplay, those have their own posts. Readers arriving from other apps may want the Janitor AI alternatives or Character.AI alternatives posts, and the Qwen 3.8 uncensored API and Inkling 2 Mini uncensored posts cover two model families. Reseller distrust is fair, so the reseller risk research, the rankings page and our review of what the service gives and does not give are worth reading before you pay anyone.

Try one refused task on a free uncensored id

Sign in with Google, no card: the free ids share 100 requests and 3,000,000 tokens a day. Paid coding rows are set up by hand by email.

Frequently asked questions

Do I need an uncensored model to use a coding agent?
Almost never. Ordinary coding, refactors, tests and debugging run on any base model, and a base model is usually the better coder. An uncensored id is worth trying only after a model declines a task you are allowed to do, such as reading a decompiled sample or writing a parser for a hostile file format. The triage diagram in this post shows the order we would use.
Which free uncensored id fits code?
We cannot rank them, because we have not benchmarked any. The catalogue tags DeepSeek V4.1 Flash Uncensored and Laguna XS 2.1 Uncensored with a coding use. Start with the DeepSeek id because it lists a 1,048,576-token context, run your own twenty tasks, and keep whichever one passes more of your tests.
Can I use it in Claude Code?
Not by our recommendation today. Claude Code speaks the Anthropic Messages format, and the catalogue lists only the OpenAI protocol for the six free uncensored ids. We have not tested them through Claude Code. Cline, Continue, Aider, Cursor and OpenCode all take an OpenAI base URL, so use one of those. The Claude Code custom base URL guide covers models served in the Anthropic format.
Do these ids support tool calling?
We do not know, and we will not guess. The catalogue lists no capabilities for the six free ids. Agents such as Cline lean on tool calls, so run one file edit and one shell command proposal before you trust a long task. The tool calling reference shows what the gateway passes through.
How do I buy a paid uncensored coding model?
Paid models are set up by hand, offline. Pick a model and see the prices on the uncensored AI API page, then email somdutt777@gmail.com to buy access. If you ask about a monthly option, ask by email too. The free ids need only a Google sign-in.
Is the code from an uncensored model worse?
Possibly, by a small or a large amount depending on the build, and nobody here has measured it for code. The research behind the method, Arditi et al., reports small drops on one knowledge benchmark for the models it tested, and the cards we read run no coding benchmark. Treat the quality as unknown, test it on your repository and keep the base model as a control.
Is it legal to write security tools with an uncensored model?
Writing defensive tooling and testing systems you own or have written permission to test is ordinary work. Malware aimed at other people's systems, and bypassing authentication or limits, is not, and the acceptable use policy prohibits it on every request. Our sibling post on whether uncensored AI is legal goes through the questions.
What happens to my code?
The company that runs the model receives it. We do not store prompts or answers by default, we keep usage counts, and we do not train on your data, but the provider processes the text under its own terms. Do not paste secrets or customer code you may not share. The privacy guide has the full wording.

More in this series

The other guides on uncensored and unfiltered AI APIs that we have not linked above:

More in Blog

Try it

One API key for GPT, Grok, DeepSeek, Kimi, GLM, MiniMax, Qwen, Step, Beam, Nemotron, ERNIE, Hunyuan, Gemma, Laguna, LFM, LongCat, Llama, Solar, Jais, Mistral, K2 and Roleplay.

One AI API Key speaks the OpenAI and Anthropic formats, so you change the base URL and the key, not your code. Credit packs start at $10, and every model has a published per-token rate.

New accounts$10 credit on sign-up
  • 100requests
    per day
  • 3Mtokens
    per day
  • 47free
    models
  • $0per
    token
  • No card
  • No end date
Claim $10 credit →