An OpenAI-compatible uncensored API.

Point any OpenAI SDK at https://api.uncensoredllm.ai/v1, swap in a key and a model id such as glm-5.3-uncensored, and your existing Chat Completions code runs on uncensored and abliterated models. The same key also answers the Responses API, legacy Completions, the Anthropic Messages format at https://api.uncensoredllm.ai, and Gemini’s generateContent.

Get a key

Endpoints, and how many chat models serve each

EndpointFormatChat models serving it
/v1/chat/completionsOpenAI Chat Completions302
/v1/responsesOpenAI Responses293
/v1/completionsOpenAI legacy Completions293
/v1/messagesAnthropic Messages302
/v1beta/models/{model}:generateContentGoogle Gemini293

Counts cover the models available now, as of 2026-11-23. The catalog also lists 8 embedding models, 1 rerank model and 1 transcription model on the same key.

Request options, by how many models publish them

OptionModels listing it
tools108
tool_choice29
response_format54
structured_outputs21
reasoning113
seed1
logprobs1

Each model’s own list is in GET https://api.uncensoredllm.ai/v1/catalog under supported_parameters; an empty list means the option isn’t published for that model.

The whole migration diff

diff
1- client = OpenAI(api_key=os.environ["OPENAI_API_KEY"])
2+ client = OpenAI(base_url="https://api.uncensoredllm.ai/v1",
3+ api_key=os.environ["UNCENSOREDLLM_API_KEY"])
4- model="gpt-4o-mini"
5+ model="glm-5.3-uncensored"

What behaves differently from OpenAI

  • Model ids come from this catalog. Pick one from the models page rather than reusing an OpenAI model name.
  • A failed request is free. A request that errors before the model answers isn’t billed.
  • Running out of balance returns HTTP 402 with code insufficient_balance, and nothing is charged.
  • Capabilities vary by model, as the tables show. Check the catalog instead of assuming every option works everywhere.

Compatibility: questions

Do I need a different SDK?

No. The official OpenAI SDKs for Python and Node work with only the base URL and key changed, and so do LangChain, LiteLLM and the Vercel AI SDK’s OpenAI-compatible provider.

Can I keep using the Anthropic SDK?

Yes. Set its base URL to https://api.uncensoredllm.ai (no /v1) and use the same key. Every chat model in the catalog answers the Messages format.

Does streaming work the same way?

Yes: set stream: true and read server-sent events as you would from OpenAI. The SDK guide has full streaming examples in Python, TypeScript and curl. See the SDK guide.

Read next

Join on TelegramHelp