Abliterator is an OpenAI- and Anthropic-compatible API for two abliterated language models at abliterator.ai.
Abliterator is not affiliated with abliteration.ai or the open-source abliterator library.
Abliterated models have the refusal direction removed from their weights, so they answer security, research, safety-data and fiction prompts that the original models decline. The weights of both models are not released. They are available only through the API.
| Model | ID | Price per 1M tokens (input / cached / output) | Context | Max output |
|---|---|---|---|---|
| Kimi K3.1 Pro Abliterated | kimi-k3.1-pro-abliterated |
$4.00 / $0.40 / $15.00 | 1,048,576 | 262,144 |
| DeepSeek V4.1 Flash Abliterated | deepseek-v4.1-flash-abliterated |
$1.00 / $0.10 / $2.00 | 1,048,576 | 393,216 |
Both take text and images. On JailbreakBench harmful prompts, refusals fell from 94% to 1% for DeepSeek V4.1 Flash and from 94% to 3% for Kimi K3.1 Pro. Method and full results are on the benchmarks page and the model cards on Hugging Face: DeepSeek-V4.1-Flash-Abliterated and Kimi-K3.1-Pro-Abliterated.
Create a key at abliterator.ai/keys and export it:
export ABL_API_KEY="sk-abl-v1-..."import os
from openai import OpenAI
client = OpenAI(base_url="https://abliterator.ai/v1", api_key=os.environ["ABL_API_KEY"])
response = client.chat.completions.create(
model="deepseek-v4.1-flash-abliterated",
max_tokens=4096,
messages=[{"role": "user", "content": "Explain how parameterized queries prevent SQL injection."}],
)
print(response.choices[0].message.content)The Anthropic SDK takes the site origin as its base URL and appends /v1/messages.
import os
import anthropic
client = anthropic.Anthropic(base_url="https://abliterator.ai", api_key=os.environ["ABL_API_KEY"])
message = client.messages.create(
model="deepseek-v4.1-flash-abliterated",
max_tokens=4096,
messages=[{"role": "user", "content": "List three common causes of SSRF in web applications."}],
)
print(message.content[-1].text)export ANTHROPIC_BASE_URL="https://abliterator.ai"
export ANTHROPIC_AUTH_TOKEN="$ABL_API_KEY"
unset ANTHROPIC_API_KEY
export ANTHROPIC_MODEL="kimi-k3.1-pro-abliterated"
export ANTHROPIC_DEFAULT_OPUS_MODEL="kimi-k3.1-pro-abliterated"
export ANTHROPIC_DEFAULT_SONNET_MODEL="kimi-k3.1-pro-abliterated"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="deepseek-v4.1-flash-abliterated"
export CLAUDE_CODE_SUBAGENT_MODEL="kimi-k3.1-pro-abliterated"
claudeAnthropic does not support Claude Code with non-Claude models, so it will not help with this setup. Test Kimi K3.1 Pro Abliterated on your own coding tasks first: its Terminal-Bench 4.0 score fell from 68.8 to 56.3 after abliteration, a drop that is plausible but not statistically shown. See the Claude Code guide.