API documentation
An OpenAI-compatible and an Anthropic-compatible API for GLM-5.3 Flash Uncensored. Русская версия
Quick start
- Open the Telegram bot, pass the captcha and choose API key.
- Top up your balance in the bot (Top up): choose a token, a network, an amount, and send the crypto to the address shown.
- Send requests to the API.
| OpenAI-compatible base URL | https://api.abuse-it.com/v1 |
|---|---|
| Anthropic-compatible base URL | https://api.abuse-it.com (the SDK appends /v1/messages) |
| Model | glm-5.3-flash-uncensored |
| Authentication | Authorization: Bearer sk-abuse-… or x-api-key: sk-abuse-… |
OpenAI-compatible API
curl https://api.abuse-it.com/v1/chat/completions \
-H "Authorization: Bearer $ABUSEIT_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3-flash-uncensored",
"messages": [{"role": "user", "content": "Hello!"}],
"stream": true
}'
Python:
from openai import OpenAI
client = OpenAI(base_url="https://api.abuse-it.com/v1", api_key="sk-abuse-...")
resp = client.chat.completions.create(
model="glm-5.3-flash-uncensored",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)
Node.js:
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.abuse-it.com/v1", apiKey: process.env.ABUSEIT_KEY });
const resp = await client.chat.completions.create({
model: "glm-5.3-flash-uncensored",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(resp.choices[0].message.content);
Supported: POST /v1/chat/completions (messages, streaming, tools / function calling, temperature, top_p, max_tokens, stop, …) and GET /v1/models. Embeddings, images, audio and the Responses API are not available.
Anthropic-compatible API
curl https://api.abuse-it.com/v1/messages \
-H "x-api-key: $ABUSEIT_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3-flash-uncensored",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello!"}]
}'
import anthropic
client = anthropic.Anthropic(base_url="https://api.abuse-it.com", api_key="sk-abuse-...")
msg = client.messages.create(
model="glm-5.3-flash-uncensored",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello!"}],
)
print(msg.content[0].text)
max_tokens is required, as in the Anthropic API. Streaming and tool use are supported. POST /v1/messages/count_tokens returns a free estimate.
Claude Code
export ANTHROPIC_BASE_URL=https://api.abuse-it.com
export ANTHROPIC_AUTH_TOKEN=sk-abuse-...
export ANTHROPIC_MODEL=glm-5.3-flash-uncensored
export ANTHROPIC_SMALL_FAST_MODEL=glm-5.3-flash-uncensored
claude
Pricing
| Model | Input / 1M tokens | Output / 1M tokens | Cached input / 1M tokens | Context |
|---|---|---|---|---|
glm-5.3-flash-uncensored | $0.252 | $0.99 | $0.099 | 65,536 tokens |
- Billing is per token, from the real token counts of each request. The cost is rounded up to a whole micro-dollar.
- Cached input is the part of your prompt the server already had from a previous request (same prefix). It is billed at the cached price.
- Reasoning tokens (the model's hidden thinking) count as output tokens and are billed. They also count toward
max_tokens. - Minimum charge: $0.005 per successful request. A request that fails before generating anything is free.
- Your balance is prepaid. When it runs out, requests return
402.
Top-up
In the bot choose Top up, then a token and a network. The bot shows the address, the exact amount to send and, for networks that need it, a memo / tag. Each network has its own minimum amount, shown before you pay. The balance is credited automatically after the network confirms the payment (usually 5–30 minutes). Send only the token and the network you chose: funds sent to the wrong network cannot be recovered.
Limits
| Context window | 65,536 tokens per request (prompt plus output) |
|---|---|
| Max output | 32,768 tokens per request (default 8,192 if max_tokens is omitted in the OpenAI API) |
| Parallel requests | 3 per API key; more get 429 |
| Request size | 8 MiB |
"stream": true for long answers. A non-streaming request that produces no data for about 100 seconds is cut by the network edge.Reasoning effort
The model reasons before it answers. Set reasoning_effort to "low" (fast, little reasoning) or "high" (default, deeper reasoning). Reasoning tokens are billed as output tokens.
Waking up
To save cost the GPU sleeps when idle. The first request after a pause waits for it to wake. If that takes too long you get 503 (OpenAI API) or 529 overloaded_error (Anthropic API) with Retry-After. Retry after 20–30 seconds; the official SDKs do this automatically. Opening the bot menu also wakes the model for users with a balance.
Errors
| Status | Meaning |
|---|---|
| 400 | Invalid request (for example, the prompt does not fit the context window, or max_tokens is missing in the Anthropic API). |
| 401 | Missing or invalid API key. |
| 402 | Insufficient balance. Top up in the bot. |
| 413 | Request body larger than 8 MiB. |
| 429 | Too many parallel requests for this key. |
| 502 / 503 / 529 | The model is waking up or temporarily unavailable. Retry with backoff. |
OpenAI-style errors look like {"error": {"message": "...", "type": "...", "code": 402}}; Anthropic-style errors look like {"type": "error", "error": {"type": "...", "message": "..."}}.
Keeping your key safe
- Anyone with your key spends your balance. Never put it in client-side code or a public repository.
- If it leaks, use API key → Regenerate in the bot. The old key stops working immediately.
Rules
Use of the API is governed by the Terms of Use and the Privacy Policy. Some content is prohibited regardless of the model's settings.