How to Run Ergo Uncensored Locally or via API
Hardware specs and SGLang commands for self-hosting the 1.1T-parameter Ergo Uncensored model, plus the hosted API alternative.

What is Ergo Uncensored?
Ergo Uncensored is a modified version of Amazon’s Ergo model (1.1 trillion total parameters, 55 billion active per token, 1M context window) with its refusal behavior removed through a technique called directional ablation. It’s distributed by a group called OpenUncensored, who publish the weights on Hugging Face and also offer the model through a hosted API for people who don’t want to provision the hardware themselves.
The point of the release isn’t a new base model. It’s the same Ergo, same MXFP4 weight format, same 626 GB footprint, with a narrow set of internal weights edited so the model stops refusing requests it would otherwise decline.
TL;DR
- Ergo Uncensored starts from Amazon’s Ergo (1.1T total parameters, 55B active, 1M context) and edits only the attention output projection in blocks 14 through 52, leaving all 256 routed MoE experts per layer byte-identical to the original MXFP4 files.
- Refusal rates drop sharply: on 100 held-out harmful prompts, stock Ergo refused 99 to 100 times depending on thinking mode, while the uncensored version refused 2 times with thinking off and 0 times with thinking on.
- Capability looks largely preserved: MMLU dropped from 83.0% to 79.3%, and the rate of inventing answers to unanswerable SQuAD 2.0 questions stayed statistically unchanged (24/100 vs 25/100).
- Self-hosting requires serious hardware: the model was served on 4x B300 GPUs using SGLang with tensor parallelism and expert parallelism settings tuned for the MXFP4 format.
- An API alternative exists for anyone without a multi-GPU cluster, via OpenUncensored’s hosted endpoint, with Kimi K3.1 Pro Uncensored (a similarly sized model) already live there.
- The edit is small and reversible: only 39 BF16 tensors change out of the entire model, and the edit itself is saved separately so it can be reapplied or studied independently.
How was the uncensoring edit actually made?
The method is directional ablation applied to a specific part of the network. The creators fed the model 128 harmful and 128 harmless prompts, with thinking mode both on and off, and recorded the residual stream activations after each of the 64 transformer blocks. By taking the difference of means between harmful and harmless prompts (projecting out the harmless component), they found a “refusal direction” in the model’s internal representations. From block 16 onward, this single direction separated harmful from harmless prompts with at least 95% accuracy, often above 99%.
Because thinking-on and thinking-off modes refuse along different directions (cosine similarity below 0.6 in every block), each block needed a rank-2 basis covering both modes rather than a single vector.
The edit itself targets only the attention output projection (wo) in blocks 14 through 52, and only the BF16 tensors there. Ergo routes every branch through an RMSNorm and a learned per-channel blend before it hits the residual stream, so the refusal basis had to be mapped through those diagonal scales first. The actual math flips the sign of the refusal component each edited projection writes and triples its magnitude, computed in float64 and rounded once to BF16. Every other byte in every weight file, including all MoE expert weights, is untouched and was checked file by file against the original release.
What do the benchmark numbers actually show?
The model card reports results from identical prompts and settings run against both stock Ergo and Ergo Uncensored, graded by two separate judge models (one from the DeepSeek family, one from Qwen) to reduce single-judge bias.
On 100 held-out harmful prompts never used to design the edit:
- Stock Ergo refused 100/100 with thinking off and 99/100 with thinking on.
- Ergo Uncensored refused 2/100 with thinking off and 0/100 with thinking on.
- Full, complete answers (both judges agreeing it was a full answer) went from 0/100 and 1/100 for stock Ergo to 73/100 and 83/100 for the uncensored version.
Every one of these compliance differences is statistically significant (exact McNemar test, p < 0.001 across both judges and both modes).
On general capability, MMLU (300 questions, greedy decoding) dropped from 83.0% to 79.3%, a real but modest decline given how aggressively refusals dropped. More tellingly, the SQuAD 2.0 “unanswerable questions answered anyway” rate stayed essentially flat (24/100 for stock Ergo vs 25/100 for the uncensored model, p = 1.0), which the creators use as evidence the edit didn’t just make the model hallucinate confident answers instead of declining. It still declines to answer when it genuinely doesn’t know; it just stopped refusing on safety grounds.
What hardware do you need to self-host it?
Ergo Uncensored keeps the exact same MXFP4 quantization and 626 GB size as the original Ergo release, so hardware requirements track the base model closely. The reference deployment uses 4x B300 GPUs, served through SGLang with a specific configuration:
sglang serve --model-path OpenUncensored/Ergo-Uncensored \
--tp-size 4 --ep-size 4 --moe-a2a-backend none --moe-runner-backend flashinfer_mxfp4 \
--enable-shared-experts-attn-tp --enable-fp32-lm-head \
--mem-fraction-static 0.82 --swa-full-tokens-ratio 0.03
Key details worth noting if you’re planning a deployment:
tp-size 4andep-size 4split the model across 4 GPUs using tensor parallelism and expert parallelism.moe-a2a-backend nonecombined withep-size 4means the setup uses all-reduce expert parallelism rather than the all-to-all communication pattern, which is what lets this configuration run on machines without RDMA networking. That matters for anyone without InfiniBand-class interconnects between GPUs.moe-runner-backend flashinfer_mxfp4is the kernel backend that handles the MXFP4-quantized MoE experts.enable-fp32-lm-headkeeps the final output layer in higher precision, presumably to avoid quantization-related accuracy loss at the output stage.
The custom SGLang image referenced is lmsysorg/sglang:ergo. Outside of SGLang, the model card notes that vLLM and the transformers library work the same way they do for the original Ergo model, so existing Ergo deployment pipelines should carry over without modification. By default, Ergo (and this uncensored variant) reasons with thinking mode on; to disable it per request, pass "chat_template_kwargs": {"thinking": false} in the API call.
Given the 626 GB model size and multi-GPU, data-center-grade hardware requirement, this isn’t a model for a single consumer GPU or even a typical workstation. It’s squarely in the territory of organizations already running large MoE models in production.
Is the hosted API a better option than self-hosting?
For anyone without access to multiple B300s or equivalent GPUs, the OpenUncensored API is the practical alternative. It exposes an OpenAI-compatible chat completions endpoint:
curl https://api.openuncensored.com/v1/chat/completions \
-H "Authorization: Bearer $OU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ergo-uncensored",
"messages": [{"role": "user", "content": "Explain SQL injection with an example."}]
}'
At the time of the model card’s publication, Ergo Uncensored itself was listed as “coming to” the API, while a comparably sized model, Kimi K3.1 Pro Uncensored (also carrying a 1M-token context window), was already live. Anyone evaluating this space should check current availability directly, since API model rosters change quickly.
The tradeoff is straightforward: self-hosting gives full control over weights, no per-token costs tied to a third party, and the ability to inspect or modify the edit yourself (the edit.pt file ships separately with the Q matrix and per-tensor strengths used, specifically so the modification can be reapplied or studied independently of the full weight set). The API trades that control for zero hardware requirements and no need to manage a 626 GB model across multiple GPUs.
Frequently Asked Questions
What’s the difference between Ergo and Ergo Uncensored?
Ergo Uncensored is Amazon’s Ergo model with 39 specific BF16 tensors modified (the attention output projection in blocks 14 to 52) to remove refusal behavior. All 256 routed MoE experts per layer and every other weight file remain byte-identical to the original.
Does removing refusals hurt the model’s general capability?
There’s a measurable but modest drop: MMLU accuracy fell from 83.0% to 79.3%. The rate at which the model fabricates answers to unanswerable questions (SQuAD 2.0) stayed statistically unchanged, suggesting the edit targeted refusal behavior specifically rather than degrading reasoning broadly.
Can I run Ergo Uncensored without owning multiple GPUs?
Build a credit limit review app for 800 relationship managers
Role-based access, audit trail and SSO built in.
Yes, through the OpenUncensored API, which offers an OpenAI-compatible endpoint. Ergo Uncensored was listed as coming to that API, with a similarly sized model (Kimi K3.1 Pro Uncensored) already available there.
What GPU setup is needed to self-host it?
The reference setup uses 4x B300 GPUs with SGLang, using tensor parallelism (tp-size 4) and expert parallelism (ep-size 4) with all-reduce rather than all-to-all communication, which allows it to run without RDMA networking between GPUs.
Is the uncensoring edit reversible or inspectable?
Yes. The edit is stored separately in a file (edit.pt) containing the orthogonal matrix and per-tensor strength values used, so it can be reapplied to the original Ergo weights or studied independently of the modified model.