OpenAI-compatible API for uncensored models
The Uncensored Inference API exposes an abliterated model through the OpenAI chat completions format. Any client, SDK or agent framework that accepts a custom base URL can use it without code changes beyond the URL, the key and the model id.
| Base URL | Sent with your API key (shown as API_HOST in the examples) |
|---|---|
| Authentication | Bearer API key, issued after admission |
| Endpoints | POST /chat/completions, GET /models |
| Model | Qwen 3.8 Flash-Next (abliterated) |
| Context window | 245,760 tokens (input and output together) |
| Streaming | Yes, server-sent events ("stream": true) |
| Tool calls | Yes, OpenAI tools format |
| Reasoning mode | Available |
| Transport | HTTPS only |
| Processing location | France |
| Fallback | If the abliterated model is unavailable, requests are served automatically by the standard version of the same model |
First request with curl
curl https://API_HOST/v1/chat/completions \
-H "Authorization: Bearer $UI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "MODEL_ID",
"messages": [{"role": "user", "content": "Summarise the scope document below."}]
}'
First request with Python
import os
from openai import OpenAI
client = OpenAI(
base_url="https://API_HOST/v1",
api_key=os.environ["UI_API_KEY"],
)
reply = client.chat.completions.create(
model="MODEL_ID", # listed by client.models.list()
messages=[{"role": "user", "content": "Summarise the scope document below."}],
)
print(reply.choices[0].message.content)
Replace API_HOST with the host sent with your key and MODEL_ID with the id
returned by GET /models. Step by step:
quickstart.
What is supported
- Chat completions with system, user, assistant and tool messages. Reference.
- Streaming of tokens as they are generated. How to stream.
- Tool calls (function calling) for agents and automated pipelines.
- Long context: 245,760 tokens, enough for a large code base extract, a full report or long logs.
What is not offered
We prefer a short, accurate list. There is no embeddings endpoint, no image or audio generation, no fine-tuning service and no public self-service sign-up. Per-key limits are agreed at admission; see rate limits.
Compatible clients
The official OpenAI SDKs for Python and Node.js work with a custom base URL. So does any tool that lets you set an OpenAI-compatible endpoint: agent frameworks, IDE assistants, proxy gateways and evaluation harnesses. The migration guide lists what to change.
Data handling
Requests are processed in France by the operator itself. Prompt and response content is not stored; usage metadata is kept 30 days for billing and abuse handling. Details: EU hosting and retention.
Frequently asked questions
What is an uncensored LLM API?
It is an HTTP API that serves a language model without refusal behaviour. You send messages and receive completions as with any LLM API; the difference is the model, which has been abliterated so that it answers sensitive professional requests instead of declining them.
Can I use the OpenAI SDK?
Yes. Set the base URL to the Uncensored Inference endpoint and use your API key. The chat completions request and response formats are the same.
Does the API support function calling?
Yes. Tool calls use the OpenAI tools format and work with streaming.
Is there a free tier or a trial key?
No public free tier. Access starts after admission; evaluation terms can be discussed in your request.
Last updated: 2 December 2026