Uncensored models through the Anthropic SDK.

Updated November 23, 2026.

9 uncensored builds on this catalog speak the Anthropic Messages format natively, and every other chat id answers the same /v1/messages route after the gateway translates the request, so a project built on the Anthropic SDK switches by changing two values: the base URL becomes https://api.uncensoredllm.ai (the bare host, with no /v1, because the SDK appends the path itself) and the key becomes a sk-ullm-live-… key from the console, passed as the ordinary api_key. The model id is any chat id from the Models page. This page shows the client in Python and TypeScript, lists the native ids, and says what changes for the translated ones.

Get a key

The two values that change

The Anthropic SDK sends x-api-key and anthropic-version on every request; the gateway accepts both as they are, so you do not swap headers or add any. What you change is where the client points and what it authenticates with. Note the asymmetry with the OpenAI SDK on the same catalog: that one takes https://api.uncensoredllm.ai/v1, with the version segment, because the OpenAI client does not add it. Mixing the two forms is the most common setup mistake, so check the base URL before the key when the first call fails.

python
1import anthropic
2
3client = anthropic.Anthropic(
4 base_url="https://api.uncensoredllm.ai", # bare host, no /v1
5 api_key="sk-ullm-live-…",
6)
7
8msg = client.messages.create(
9 model="glm-5.3-uncensored",
10 max_tokens=1024,
11 system="Answer as asked, without disclaimers.",
12 messages=[{"role": "user", "content": "Outline a heist plot in six beats."}],
13)
14print(msg.content[0].text)
15print(msg.usage) # usage.cost in the response body is the charge in USD
typescript
1import Anthropic from "@anthropic-ai/sdk";
2
3const client = new Anthropic({
4 baseURL: "https://api.uncensoredllm.ai", // bare host, no /v1
5 apiKey: process.env.UNCENSOREDLLM_API_KEY,
6});
7
8const msg = await client.messages.create({
9 model: "glm-5.3-uncensored",
10 max_tokens: 1024,
11 system: "Answer as asked, without disclaimers.",
12 messages: [{ role: "user", content: "Outline a heist plot in six beats." }],
13});
14console.log(msg.content[0].type === "text" ? msg.content[0].text : msg.content[0]);

Both clients also read ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY from the environment, so a deployment can leave the constructor empty and set the two variables instead. That is how Claude Code is pointed here; the tool guide at Claude Code covers it and is not repeated on this page.

Native ids and translated ids

The catalog at GET https://api.uncensoredllm.ai/v1/catalog carries two fields that decide what happens to a Messages request. wire_formats says which formats the build itself understands, and endpoints says which routes answer for it.

Native. A build whose wire_formats is exactly ["anthropic"] receives your Messages request as the model’s own format, with no rewriting of the body. On this catalog those are the uncensored builds of the Claude line, developer label UncensoredLLM.

Model idInput / output per 1MContext
claude-fable-5-uncensored$3.00 / $15.00not published
claude-opus-4-6-uncensored$1.80 / $7.50not published
claude-opus-4-7-uncensored$1.80 / $7.50not published
claude-opus-4-8-uncensored$1.80 / $7.50not published
claude-opus-5-5-uncensored$2.80 / $10.00not published
claude-opus-5-uncensored$1.80 / $7.50not published
claude-sonnet-4-6-uncensored$1.80 / $9.00not published
claude-sonnet-5-5-uncensored$1.20 / $3.00not published
claude-sonnet-5-uncensored$1.20 / $3.00not published

Live from the catalog on 2026-11-23: builds with availability ok whose only wire format is Anthropic’s.

Translated. Every other chat id in the catalog, which is to say every uncensored build whose wire_formats is ["openai"], still lists /v1/messages in its endpoints. For those the gateway rewrites the Messages request into the build’s chat-completions format, sends it, and rewrites the answer, streamed or whole, back into a Messages response. Your code sees a Messages object either way. The example above, glm-5.3-uncensored, is a translated id.

The practical difference is small but worth knowing: on a native id the fields the SDK sends are the fields the model sees, while on a translated id a field with no chat-completions equivalent may be dropped. Check the build’s supported_parameters in the catalog for what it publishes; max_tokens, system, temperature, stop and tools all have direct equivalents.

Streaming, tools and the usage block

Streaming. stream: true returns a text/event-stream in the Messages event format on native and translated ids alike. Because a stream’s headers leave before any token exists, the cost is not in them; each usage event in the stream carries usage.cost, the charge so far in USD, and the final message_delta carries the whole charge. On a non-streamed reply, read usage.cost from the response body. The request id in the response headers is what to quote to support.

Client tools. The SDK’s tool definitions and tool_use / tool_result blocks pass through on native ids. On translated ids they are mapped to the chat-completions tool shape and back, so a build that lists tools in supported_parameters answers with tool_use blocks as your SDK expects. Which uncensored builds publish tools is on tool calling.

Server tools. The gateway runs web search, web fetch and code execution inside the request when you declare them in Anthropic’s own type names, web_search_20250305, web_fetch_20250910 and code_execution_20250825, or as remote MCP through mcp_servers with mcp_toolset. These are gateway features, so they work on translated ids too, and are priced per unit in the catalog’s server_tools list: $0.01 per search, $0.001 per fetch, $0.05 per container-hour, on top of the model’s tokens.

What it costs

A model costs the same on every wire format and every route behind it. The Anthropic SDK and the OpenAI SDK pay the same rate for the same id, and if the gateway fails over to another route for the same model, the price does not move. So there is no reason to pick the format by price; pick it by the code you already have. The per-token rate for any id is on its model page; for the translated example above that is $0.3243 / $0.9729 per million input / output tokens.

When to use this route and when not to

Use the Anthropic SDK route when the application is already written against it, when it runs inside Claude Code or another tool that only speaks Messages, or when you want the native Claude-line uncensored builds with no translation layer at all. Use the OpenAI route, described on the OpenAI-compatible API and the SDK guide, when you need the Responses API, legacy completions, embeddings or the Gemini format, none of which are reachable through the Messages client. The key and the balance are shared, so a project can hold both clients side by side.

Anthropic SDK: questions

Which uncensored models are native to the Anthropic format?

The ids whose catalog wire_formats is exactly ["anthropic"]: on this catalog, the 9 uncensored builds of the Claude line, developer label UncensoredLLM, listed in the table above and rendered from the live catalog. Every other chat id answers /v1/messages too, through translation, so the native set decides fidelity, not reach.

Does the SDK’s tool-use shape work?

Yes on native ids, where the request passes through unchanged. On translated ids the tool definitions and tool_use blocks are mapped to the chat-completions shape and back, on builds that list tools in supported_parameters. Server tools such as web search run inside the gateway and work on both kinds of id.

Is the price the same as through the OpenAI route?

Yes. One price per model applies across every wire format and every route behind it, so a Messages request and a chat-completions request for the same id are billed at the same per-token rate, and a failover between routes never changes it. The charge is in usage.cost on every reply.

Read next

Join on TelegramHelp