Is there an OpenAI-compatible API for abliterated models? Yes, and here is how to call them
Yes. OpenUncensored is an OpenAI-compatible API at https://api.openuncensored.com/v1 for 50+ uncensored models, about 20 of them abliterated (plain abliteration, heretic, derestricted or orthogonalized). Point the OpenAI
Yes. OpenUncensored is an OpenAI-compatible API at https://api.openuncensored.com/v1 for 50+ uncensored models, about 20 of them abliterated (plain abliteration, heretic, derestricted or orthogonalized). Point the OpenAI SDK's base URL at it, use a prepaid key, and keep the rest of your code. The same key also speaks the OpenAI Responses API and the Anthropic Messages API, so Codex and Claude Code work too.
The best abliterated model on our tests right now is Inkling 2 Small Uncensored (inkling-2-small-uncensored), #3 of 34 on the uncensored LLM leaderboard with a 79.0 score.
What the API speaks
| API | Path | Used by |
|---|---|---|
| OpenAI Chat Completions | /v1/chat/completions |
OpenAI SDKs, LangChain, LiteLLM, Vercel AI SDK, Cline, Cursor, OpenCode |
| OpenAI Responses | /v1/responses |
Codex, OpenAI Agents SDK |
| Anthropic Messages | /v1/messages |
Claude Code, Anthropic SDKs |
| Images | /v1/images/generations |
20 uncensored image models |
| Models | /v1/models |
every model id, free, no key |
Change the base URL
Buy a prepaid key on the credits page. There is no account: the key is the account, and it cannot spend more than you loaded.
from openai import OpenAI
client = OpenAI(base_url="https://api.openuncensored.com/v1", api_key="ou-...")
r = client.chat.completions.create(
model="inkling-2-small-uncensored",
messages=[{"role": "user", "content": "Hello"}],
)
print(r.choices[0].message.content)
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.openuncensored.com/v1", apiKey: process.env.OU_API_KEY });
const r = await client.chat.completions.create({
model: "inkling-2-small-uncensored",
messages: [{ role: "user", content: "Hello" }],
});
console.log(r.choices[0].message.content);
curl https://api.openuncensored.com/v1/chat/completions \
-H "Authorization: Bearer $OU_API_KEY" -H "Content-Type: application/json" \
-d '{"model": "inkling-2-small-uncensored", "messages": [{"role": "user", "content": "Hello"}]}'
The best abliterated models on the API
| Model id | Method | Rank (score) | Answers | Speed | $ / 1M in · out |
|---|---|---|---|---|---|
inkling-2-small-uncensored |
Orthogonalized | #3 (79.0) | 94% | 488 tok/s | $0.60 · $2.40 |
inkling-2-mini-uncensored |
Orthogonalized | #5 (75.7) | 92% | 99 tok/s | $0.15 · $0.60 |
abliterated-large-flash |
Abliterated | #6 (74.5) | 92% | 465 tok/s | $1.00 · $2.00 |
kimi-k3.1-pro-uncensored |
Abliterated | #8 (74.1) | 94% | 42 tok/s | $1.50 · $3.00 |
abliterated-large-v2 |
Abliterated | #9 (73.1) | 94% | 153 tok/s | $3.00 · $5.00 |
deepseek-v4.1-flash-1017-heretic |
Heretic | #10 (73.1) | 94% | 65 tok/s | $0.20 · $0.79 |
mimo-v2.6-flash-abliterated |
Abliterated | #14 (69.5) | 83% | 87 tok/s | $0.50 · $1.50 |
gemma-4-26b-a4b-it-chimeraxheretic |
Heretic | #22 (56.1) | 100% | 40 tok/s | $0.12 · $0.38 |
"Answers" is the share of 36 requests that censored models refuse which the model answered. The full list, with uncensored fine-tunes too, is on the models page.
What carries over from OpenAI
- Streaming in the OpenAI server-sent events format, with a usage chunk at the end.
-
Tool calls through the standard
toolsfield, so agent frameworks work unchanged. -
Fallback across hosts: a request that fails on one host moves to the next host serving the model. Pick cheapest, fastest or default routing with
"routing": {"strategy": ...}. - Cached prompt pricing: tokens a host serves from its cache are billed at its cached rate.
-
Prepaid keys: when the credit runs out, requests stop with
402instead of running up a bill.
FAQ
Does it work with LangChain, LiteLLM and the Vercel AI SDK? Yes. Anything that takes an OpenAI base URL works: set it to https://api.openuncensored.com/v1 and use your OpenUncensored key.
Can I list the models without a key? Yes: curl https://api.openuncensored.com/v1/models.
Do I need an account? No. A prepaid key is the account.
More: OpenAI-compatible uncensored API, leaderboard, cheapest uncensored LLM API.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.