Every model on this catalog answers the OpenAI wire format, so the official OpenAI SDKs reach them with two environment variables and no other change. This page has the Python, TypeScript, curl and Vercel AI SDK calls, the error codes, and what a request costs at the live price.
Two environment variables
Every SDK that speaks the OpenAI API reads the same two variables. Set them once; the code that follows needs no key or URL in it. The base URL ends in /v1; the key comes from the console, starts with sk-ullm-, is shown once and spends a prepaid balance that starts at $10.
export OPENAI_BASE_URL="https://api.uncensoredllm.ai/v1"export OPENAI_API_KEY="sk-ullm-live-…"- OPENAI_BASE_URL
- https://api.uncensoredllm.ai/v1ends in /v1; nothing after it
- OPENAI_API_KEY
- sk-ullm-live-…created in the console
- model
- glm-5.3-uncensoredany id from the models page
Python
The official openai package, unchanged. The response has the OpenAI shape, so code written for OpenAI reads it the same way.
from openai import OpenAI client = OpenAI() # reads OPENAI_BASE_URL and OPENAI_API_KEY response = client.chat.completions.create( model="glm-5.3-uncensored", messages=[{"role": "user", "content": "Explain how a lock pick works, step by step."}], max_tokens=600,)print(response.choices[0].message.content)Streaming is the same flag as on OpenAI; the chunks arrive as the model writes them.
with client.chat.completions.create( model="glm-5.3-uncensored", messages=[{"role": "user", "content": "Write a villain's monologue."}], stream=True,) as events: for chunk in events: piece = chunk.choices[0].delta.content if piece: print(piece, end="", flush=True)TypeScript
The openai npm package takes baseURL and apiKey in its constructor; the environment variables above fill them.
import OpenAI from 'openai'; const client = new OpenAI({ baseURL: process.env.OPENAI_BASE_URL, apiKey: process.env.OPENAI_API_KEY,}); const response = await client.chat.completions.create({ model: 'glm-5.3-uncensored', messages: [{ role: 'user', content: 'Explain how a lock pick works, step by step.' }], max_tokens: 600,});console.log(response.choices[0]?.message.content);Vercel AI SDK
@ai-sdk/openai with a custom base URL; provider.chat(id) uses the Chat Completions path, which every listed model answers. streamText, generateText and generateObject all work.
import { createOpenAI } from '@ai-sdk/openai';import { streamText } from 'ai'; const provider = createOpenAI({ baseURL: process.env.OPENAI_BASE_URL, apiKey: process.env.OPENAI_API_KEY,}); const result = streamText({ model: provider.chat('glm-5.3-uncensored'), prompt: 'Explain how a lock pick works, step by step.',});for await (const piece of result.textStream) process.stdout.write(piece);Check it with curl
The list call is free and tells you the key and base URL are right; the chat call is one billed request.
curl https://api.uncensoredllm.ai/v1/models -H "Authorization: Bearer sk-ullm-live-…"curl https://api.uncensoredllm.ai/v1/chat/completions \ -H "Authorization: Bearer sk-ullm-live-…" \ -H "Content-Type: application/json" \ -d '{"model": "glm-5.3-uncensored", "messages": [{"role": "user", "content": "Hello"}]}'Every answer carries x-uplink-request-id; a non-streamed answer carries x-uplink-charge, what it cost in USD. The console’s usage page lists both.
What a request costs
One request of 600 input and 250 output tokens, on four builds, at the catalog prices on 2026-11-07:
| Model | One request | 1,000 requests |
|---|---|---|
| GLM-5.3 Uncensored | $0.00038 | $0.38 |
| DeepSeek V4.1 Flash Abliterated | $0.00093 | $0.93 |
| GLM-5.3 Flash Uncensored | $0.00016 | $0.16 |
| Kimi K3 Uncensored | $0.01 | $10.62 |
| GLM-5.3 Uncensored | Uncensored | $0.282 | $0.846 |
| DeepSeek V4.1 Flash Abliterated | Abliterated | $0.8488 | $1.6975 |
| GLM-5.3 Flash Uncensored | Uncensored | $0.1053 | $0.3685 |
| Kimi K3 Uncensored | Uncensored | $5.745 | $28.68 |
JSON output, streaming and tools
response_format with json_object asks the model for a JSON body; an answer that is not the format asked for is refunded, as the receipt’s refund field records. stream: true works on every model. Tool calling works on the builds whose base model supports it; the model page says which.
response = client.chat.completions.create( model="glm-5.3-uncensored", messages=[{"role": "user", "content": "Give three plot hooks as JSON with keys title and premise."}], response_format={"type": "json_object"},)Errors
401 invalid_api_key: the key is wrong or revoked. Copy it again from the console.402 insufficient_balance: the balance does not cover the request.402 monthly_limit_reached: the key hit the spend limit set on it.404 model_not_found: the id is not on the models page. Check the spelling.429 rate_limited: the key hit its rate limit;retry-aftersays how long to wait.- A request that fails before the model answers is not charged.
Questions
Not with these models. Every listed build answers the OpenAI wire format only; the OpenAI SDK, the Vercel AI SDK with the OpenAI provider, LiteLLM and plain HTTP all reach it.
Yes. Construct a second client with baseURL https://api.uncensoredllm.ai/v1 and this key, and leave the default client alone.
Per key, set in the console; a 429 carries retry-after. There is no account-wide cap beyond the balance.
The models page, or GET /v1/models with your key, which lists exactly the ids the key can call. See the models page.
Every model above is on the uncensored model list with its live price per million tokens. Per-token pricing sets the whole catalog side by side, and the family directory groups the builds by base model.