Copy the exact model id from GET /v1/models into the model field. Uncensored and Abliterated IDs differ, including Fast variants. Do not add or remove suffixes yourself.
Do not use your dashboard password, purchase code, or recovery code in the authorization header.
LIMITS / AGENT WORKFLOWS
Service limits
Up to 4,096 messages per request, including tool calls and tool results. History is never silently truncated. Without an explicit output limit, paid models use an automatic budget constrained by the model output/context limits and available account/key funds. Free Qwen keeps its 4,096-token default. An explicit max_tokens or max_completion_tokens is respected subject to model capacity and affordability; do not provide both.
GET /v1/models publishes each model's context window, maximum output, default output budget and service input caps. Input, server instructions, images/tool schemas and generated output share the context window. Preflight uses a conservative JSON-byte input estimate, not the model's exact tokenizer: it may reject or reduce output earlier than the native token ceiling. The effective output limit also depends on balance and is returned in X-Effective-Max-Tokens. Billing uses actual token usage, not this estimate.
For automatic paid output, the reservable budget is shared across the account’s remaining paid-request slots. The effective output ceiling is calculated for each request after its input reserve and key limits; it can be lower than the model maximum and changes with available funds and active requests. This does not promise full maximum output on every request. Read X-Effective-Max-Tokens for the actual admitted ceiling. Billing still uses actual token usage, with unused reserve returned.
Up to 8 active paid requests per account and 32 across the gateway; per-key request-per-minute limits apply.
Request body: 16 MiB. Function definitions: up to 512 on supported paid routes; 64 on other/fallback routes. This is a definition inventory, not a count of simultaneous tool calls. Image limits and free-model quotas are unchanged.
Use streaming for long reasoning or answers. A network failure with unconfirmed usage can retain that request's reserve for reconciliation; it does not consume an active-request slot.
Errors before generation: too_many_messages, context_length_exceeded, invalid_max_tokens or input_too_large_for_model. These validation errors do not reserve or charge funds. An invalid/empty messages array returns invalid_messages.
SDK / OPENCODE
Clients & OpenCode
Create or copy a key in API keys. Select the model in your client and use Chat Completions.
Add your API key through the client's connection settings. store: false is accepted without enabling response storage; store: true returns store_not_supported. Optional null sampling, token-limit, tool and streaming-option fields are treated as omitted. A null or empty-list stop is omitted; a nonempty string or list of up to four sequences (1–1024 UTF-8 bytes each) is passed to the model, not silently discarded. Sampling and stop availability may differ by model. For Kimi K3, omit temperature or set it to 1.0; other values are rejected before reserving funds with kimi_temperature_must_be_1_or_omitted.
QUICK START / API SPACE
First request
1Create an API key in your cabinet and set your client’s Base URL to https://api.abusegpt.net/v1.
2Use Authorization: Bearer YOUR_API_KEY. Choose the exact model ID from GET /v1/models.
3Send a short message such as “Hello” and check that the model responds.
Conversation history
The API is stateless. On the next call, send your greeting, the model’s actual reply, and your new question in messages. A fresh request containing only a new question starts a separate conversation. Your chat app usually handles history for you.
{
"model": "qwen3.8-27b-free-uncensored",
"messages": [
{"role": "user", "content": "Hello"},
{"role": "assistant", "content": "<actual first reply>"},
{"role": "user", "content": "Help me write a Python CLI"}
],
"max_tokens": 1024,
"stream": true
}
Replace the assistant placeholder with the actual first reply. Send a new unique Idempotency-Key per new request. Streaming uses SSE; read chunks until [DONE]. For tool calls, your application executes the tool and sends its result back — see the examples below.
Pick a workflow and your language. Examples use a server-side environment variable and never send your key from this page.
First request
A standard response and final usage.
↳ basic.shcURL
#!/usr/bin/env bash
set -euo pipefail
: "${ABUSEGPT_API_KEY:?Set ABUSEGPT_API_KEY}"
request_id=$(python3 -c 'import uuid; print(uuid.uuid4())')
curl --fail-with-body --silent --show-error --max-time 120 \
https://api.abusegpt.net/v1/chat/completions \
-H "Authorization: Bearer $ABUSEGPT_API_KEY" \
-H 'Content-Type: application/json' \
-H "Idempotency-Key: $request_id" \
--data-binary '{"model":"glm-5.3-uncensored","messages":[{"role":"user","content":"Explain APIs in one sentence."}],"max_tokens":1024}'
printf '\n'
# Requires curl and Python 3 (UUID only). No automatic retries.
# Set ABUSEGPT_API_KEY, then: bash basic.sh
↳ basic.pyPython
import os
from uuid import uuid4
from openai import OpenAI
client = OpenAI(
base_url="https://api.abusegpt.net/v1",
api_key=os.environ["ABUSEGPT_API_KEY"],
max_retries=0, # A duplicate logical request returns HTTP 409.
timeout=120.0,
)
reply = client.chat.completions.create(
model="glm-5.3-uncensored",
messages=[{"role": "user", "content": "Explain APIs in one sentence."}],
max_tokens=1024,
extra_headers={"Idempotency-Key": str(uuid4())},
)
print(reply.choices[0].message.content or "")
print("Usage:", reply.usage)
# python3 -m pip install openai
# Set ABUSEGPT_API_KEY in your environment, then: python3 basic.py
↳ basic.mjsJavaScript
import OpenAI from "openai";
import { randomUUID } from "node:crypto";
if (!process.env.ABUSEGPT_API_KEY) throw new Error("Set ABUSEGPT_API_KEY");
const client = new OpenAI({
baseURL: "https://api.abusegpt.net/v1",
apiKey: process.env.ABUSEGPT_API_KEY,
maxRetries: 0,
timeout: 120_000,
});
const reply = await client.chat.completions.create({
model: "glm-5.3-uncensored",
messages: [{ role: "user", content: "Explain APIs in one sentence." }],
max_tokens: 1024,
}, { headers: { "Idempotency-Key": randomUUID() } });
console.log(reply.choices[0].message.content ?? "");
console.log("Usage:", reply.usage);
// Node.js 20+; npm install openai
// Set ABUSEGPT_API_KEY, then: node basic.mjs
Streaming
Text arrives incrementally; final usage is a separate chunk. cURL prints raw SSE.
↳ stream.shcURL
#!/usr/bin/env bash
set -euo pipefail
: "${ABUSEGPT_API_KEY:?Set ABUSEGPT_API_KEY}"
request_id=$(python3 -c 'import uuid; print(uuid.uuid4())')
curl --fail-with-body --silent --show-error --no-buffer --max-time 3600 \
https://api.abusegpt.net/v1/chat/completions \
-H "Authorization: Bearer $ABUSEGPT_API_KEY" \
-H 'Content-Type: application/json' \
-H "Idempotency-Key: $request_id" \
--data-binary '{"model":"glm-5.3-uncensored","messages":[{"role":"user","content":"Explain APIs in three sentences."}],"max_tokens":1024,"stream":true,"stream_options":{"include_usage":true}}'
# Prints raw SSE: data chunks, final usage, then data: [DONE].
# An SSE error can arrive after HTTP 200; inspect the full stream.
# Missing confirmed usage: check status; do not automatically send a new request.
# Requires curl and Python 3. Set ABUSEGPT_API_KEY, then: bash stream.sh
↳ stream.pyPython
import os
from uuid import uuid4
from openai import OpenAI
client = OpenAI(
base_url="https://api.abusegpt.net/v1",
api_key=os.environ["ABUSEGPT_API_KEY"],
max_retries=0,
timeout=120.0,
)
usage = None
with client.chat.completions.create(
model="glm-5.3-uncensored",
messages=[{"role": "user", "content": "Explain APIs in three sentences."}],
max_tokens=1024,
stream=True,
stream_options={"include_usage": True},
extra_headers={"Idempotency-Key": str(uuid4())},
) as stream:
for chunk in stream:
if chunk.usage is not None:
usage = chunk.usage
# The final usage chunk has choices: [].
for choice in chunk.choices:
print(choice.delta.content or "", end="", flush=True)
print()
if usage is None:
raise RuntimeError("No confirmed usage. Check request status; do not retry automatically.")
print("Usage:", usage)
# python3 -m pip install openai
# Set ABUSEGPT_API_KEY, then: python3 stream.py
↳ stream.mjsJavaScript
import OpenAI from "openai";
import { randomUUID } from "node:crypto";
if (!process.env.ABUSEGPT_API_KEY) throw new Error("Set ABUSEGPT_API_KEY");
const client = new OpenAI({
baseURL: "https://api.abusegpt.net/v1",
apiKey: process.env.ABUSEGPT_API_KEY,
maxRetries: 0, timeout: 120_000,
});
const stream = await client.chat.completions.create({
model: "glm-5.3-uncensored",
messages: [{ role: "user", content: "Explain APIs in three sentences." }],
max_tokens: 1024, stream: true,
stream_options: { include_usage: true },
}, { headers: { "Idempotency-Key": randomUUID() } });
let usage;
try {
for await (const chunk of stream) {
if (chunk.usage) usage = chunk.usage;
for (const choice of chunk.choices) {
process.stdout.write(choice.delta.content ?? "");
}
}
} finally {
stream.controller.abort();
}
console.log();
if (!usage) throw new Error("No confirmed usage. Check status; do not auto-retry.");
console.log("Usage:", usage);
// Node.js 20+; npm install openai
// Set ABUSEGPT_API_KEY, then: node stream.mjs
Function calling
Full cycle: model → local function → answer. Both requests are billed separately; auto may return text without a call.
↳ tools.shcURL
#!/usr/bin/env bash
set -euo pipefail
: "${ABUSEGPT_API_KEY:?Set ABUSEGPT_API_KEY}"
request() {
local request_id
request_id=$(python3 -c 'import uuid; print(uuid.uuid4())')
curl --fail-with-body --silent --show-error --max-time 120 \
https://api.abusegpt.net/v1/chat/completions \
-H "Authorization: Bearer $ABUSEGPT_API_KEY" \
-H 'Content-Type: application/json' \
-H "Idempotency-Key: $request_id" --data-binary @-
}
first=$(request <<'JSON'
{"model":"glm-5.3-uncensored","messages":[{"role":"user","content":"Use add to calculate 7 + 5."}],"max_tokens":1024,"tool_choice":"auto","tools":[{"type":"function","function":{"name":"add","description":"Add two integers.","parameters":{"type":"object","properties":{"a":{"type":"integer"},"b":{"type":"integer"}},"required":["a","b"],"additionalProperties":false}}}]}
JSON
)
if [ "$(jq '.choices[0].message.tool_calls // [] | length' <<<"$first")" -eq 0 ]; then
jq -r '.choices[0].message.content // "No function call returned."' <<<"$first"
exit 0
fi
# Only execute our fixed local add function; never run arbitrary model code.
payload=$(jq -ce '
def tool_result:
. as $call | (.function.arguments | fromjson) as $args |
if .function.name == "add" and ($args | type) == "object"
and ($args | keys) == ["a","b"]
and ([$args.a,$args.b] | all(.[]; type == "number" and floor == . and fabs <= 1000000))
then {role:"tool",tool_call_id:$call.id,
content:({result:($args.a + $args.b)} | tojson)}
else error("Unsupported function or arguments") end;
.choices[0].message as $m |
{model:"glm-5.3-uncensored",max_tokens:1024,messages:(
[{role:"user",content:"Use add to calculate 7 + 5."},
({role:"assistant",content:$m.content,tool_calls:$m.tool_calls}
+ (if ($m.reasoning_content | type) == "string"
then {reasoning_content:$m.reasoning_content} else {} end))]
+ [$m.tool_calls[] | tool_result])}
' <<<"$first")
# Second billable request: return tool results to the model.
request <<<"$payload"
printf '\n'
# Requires bash, curl, jq 1.6+ and Python 3. No automatic retries.
# Set ABUSEGPT_API_KEY, then: bash tools.sh
↳ tools.pyPython
import json
import os
from uuid import uuid4
from openai import OpenAI
client = OpenAI(
base_url="https://api.abusegpt.net/v1",
api_key=os.environ["ABUSEGPT_API_KEY"], max_retries=0, timeout=120.0,
)
messages = [{"role": "user", "content": "Use add to calculate 7 + 5."}]
tools = [{"type": "function", "function": {
"name": "add", "description": "Add two integers.",
"parameters": {"type": "object", "properties": {
"a": {"type": "integer"}, "b": {"type": "integer"}},
"required": ["a", "b"], "additionalProperties": False},
}}]
first = client.chat.completions.create(
model="glm-5.3-uncensored", messages=messages, tools=tools,
tool_choice="auto", max_tokens=1024,
extra_headers={"Idempotency-Key": str(uuid4())},
)
message = first.choices[0].message
if not message.tool_calls:
print(message.content or "No function call returned (auto is not a guarantee).")
else:
# Preserve only fields accepted by this gateway, including GLM reasoning.
assistant = {"role": "assistant", "content": message.content,
"tool_calls": [c.model_dump(exclude_none=True) for c in message.tool_calls]}
reasoning = getattr(message, "reasoning_content", None)
if isinstance(reasoning, str):
assistant["reasoning_content"] = reasoning
messages.append(assistant)
for call in message.tool_calls:
args = json.loads(call.function.arguments)
if (call.function.name != "add" or not isinstance(args, dict)
or set(args) != {"a", "b"}
or any(type(v) is not int or abs(v) > 1000000 for v in args.values())):
raise ValueError("Unsupported function or arguments")
# Fixed local allowlist: never eval/exec model-generated code.
messages.append({"role": "tool", "tool_call_id": call.id,
"content": json.dumps({"result": args["a"] + args["b"]})})
final = client.chat.completions.create(
model="glm-5.3-uncensored", messages=messages, max_tokens=1024,
extra_headers={"Idempotency-Key": str(uuid4())},
)
print(final.choices[0].message.content or "")
print("Usage (both billable requests):", first.usage, final.usage)
# python3 -m pip install openai
# Set ABUSEGPT_API_KEY, then: python3 tools.py
Text + function calls via POST /v1/chat/completions. Your application executes tools. SDK retries are disabled in these examples; a repeated idempotency key returns HTTP 409, not a saved response.
VISION / IMAGE INPUT
Image inputs
For example, deepseek-v4.1-flash-1017-uncensored and qwen3.8-27b-abliterated support images. This is not an exhaustive list: check capabilities.vision and image_input limits for the exact ID in GET /v1/models.
The limits below describe the original image-input routes, not every model. Send user content as an array of text and image_url parts. Version 1 accepts inline base64 data URLs only: PNG, JPEG or static WebP; up to 4 images per request, 2 MiB each, maximum source side 8192 pixels and 16,777,216 pixels total. Oversized images are automatically resized proportionally to fit 1024 × 1024 before forwarding. Remote URLs, animated images, audio and video are not supported. Keep each encoded file within 2 MiB; detail may be omitted or set to auto.
Images are included in prompt_tokens and charged once at the selected model’s input-token rate. Base64 characters are not counted as text tokens. Before generation, the gateway reserves a conservative image budget plus text and the requested output: 16,386 input tokens/image for Qwen Max/Flash/Plus; a 65,536-token/image service safety budget for Kimi, GLM Flash and DeepSeek Flash. These are reservation estimates, not actual image token counts or model limits; actual usage determines the final charge, and unused reserves are returned. A small account balance may not cover that reservation.
import base64
import mimetypes
import os
import sys
import uuid
from pathlib import Path
from openai import OpenAI
path = Path(sys.argv[1])
mime = mimetypes.guess_type(path.name)[0]
if mime not in {"image/png", "image/jpeg", "image/webp"}:
raise SystemExit("Use PNG, JPEG or static WebP")
image = base64.b64encode(path.read_bytes()).decode("ascii")
client = OpenAI(
api_key=os.environ["ABUSEGPT_API_KEY"],
base_url="https://api.abusegpt.net/v1",
max_retries=0,
)
reply = client.chat.completions.create(
model="qwen3.8-flash-uncensored",
messages=[{"role": "user", "content": [
{"type": "text", "text": "Describe this image."},
{"type": "image_url", "image_url": {
"url": f"data:{mime};base64,{image}"
}},
]}],
max_tokens=1024,
extra_headers={"Idempotency-Key": str(uuid.uuid4())},
)
print(reply.choices[0].message.content)
print(reply.usage)
# pip install openai
# Set ABUSEGPT_API_KEY, then: python vision.py image.png
For streaming, add stream=True and consume SSE chunks using the streaming example above. Invalid images and unsupported models are rejected before a balance hold or generation. Images and response text are not stored in our generation records.
5 requests per ABUSEGPT account per UTC day, shared across all your API keys. Up to 4,096 output tokens, including reasoning. No balance charge. No paid fallback. Shared capacity: availability is not guaranteed.
Use the same Base URL and API key. Set model to qwen3.8-27b-free-uncensored; the previous ID qwen3.8-27b-free remains supported as an alias. Keep requests short: shared model limits and cooldowns apply. A new API key does not reset the daily account quota.
Your balance and transactions are displayed in USD. Generation access depends on available funds, key status, key limits, and model availability.
RPM is the maximum number of requests per minute for a key. A spending limit caps expenses for a specific key; it does not add funds to your shared balance.
Check your transaction history in the dashboard. Check the selected model parameters before sending requests.
If your balance or API-key budget cannot cover the requested maximum output, the gateway lowers only the output ceiling to the largest affordable value. Your input context is not shortened. The effective ceiling is returned in X-Effective-Max-Tokens; generation may finish with finish_reason: length. A request is rejected only when funds cannot cover the estimated input and at least one output token. Charges use actual token usage, and unused reserves are returned.
04 / ACCESS
Keys & access
Activation code
Creates an account and credits your purchase balance once.
Recovery code
Used with your username to reset your password. Store it separately in your password manager.
API key
Gives your application access to the API. Create and revoke it in your dashboard. Do not publish it or embed it in client-side website code.
If your API key is exposed, revoke it in your dashboard and issue a new one. Use a separate key for each application.
Final charge: confirmed execution cost × 3. Existing START10 discounts apply once; X2 remains a top-up credit offer. The token rates below are preliminary reservation estimates, not fixed final charges. Unused reserves are returned. If final cost cannot be verified, the request remains reserved for reconciliation rather than being charged from an estimate. Amounts are rounded up to one micro-dollar. Requests already in progress keep their original billing snapshot.
Binary bytes in tool output
A literal NUL character in a text tool result is represented as visible \x00 before validation and routing. On successful responses, X-AbuseGPT-Normalized-Parameters includes tool_content_nul alongside any other normalization notices. Tool-call IDs, ordinary text, newlines and tabs are preserved; history is not deleted. Other roles and tool arguments are not rewritten, and invalid tool structure remains an error. For raw binary output, use a textual hex or base64 representation in your client.
Optional reasoning usage
On some routes, if an integer reasoning-token breakdown exceeds an otherwise valid completion total, the unreliable optional reasoning_tokens field is omitted, not reported as zero. Prompt, completion and cached-token billing counters are never increased or reduced by this adaptation. Missing or invalid primary usage still requires reconciliation; requests are not automatically replayed.
Model context and output
GLM 5.3 — up to 1,048,576 context tokens.
GLM 5.3: context up to 1,048,576 tokens; Prime: up to 1,000,000 tokens; output up to 131,072 tokens. Context includes the input history and generated output. Set the answer length with max_tokens or max_completion_tokens. Other models use their own limits; prompt-size pricing bands are listed in the pricing table.
For some paid routes, actual context fit is validated using the model’s tokenizer. JSON bytes are used only as a conservative financial reservation estimate, not as an exact token count. History is not automatically truncated. Input, system instructions, tools, images and the output budget share one context window. A confirmed context-limit error returns the reserve; an unknown transport outcome keeps it for reconciliation. Large requests can require a larger temporary reserve than their final charge.
Limits and pricing tiers
Qwen Coder uses the configured route’s context window; 32,000 and 128,000 prompt-token thresholds are pricing bands, not context ceilings. Final billing is confirmed execution cost × 3 before applicable discounts. Available endpoints can have different context and output ceilings.
DeepSeek Flash: prices are lower outside 08:00–22:00 Beijing time; the rate is fixed when funds are reserved for the request. Final charges are rounded up to $0.000001.
Reservation and actual charge
Each request has its own cost reservation. Actual token usage determines the charge; the remainder is returned. Reasoning tokens are included in output, not charged twice. Up to eight simultaneous requests per account for paid models. Free models have a separate two-request account limit and a shared free-capacity limit. A disputed request does not occupy an active slot. When capacity is busy, supported connections may wait briefly (up to 1.5 seconds) before admission; no funds are reserved while waiting. Local HTTP 429 concurrency errors (account_concurrency_limit / gateway_busy) include Request ID, limit_scope and Retry-After; respect that delay instead of immediately repeating the request. This does not authorize replay after an interrupted or ambiguous generation. If final usage is not confirmed after an interruption, only that request’s reservation remains pending reconciliation.
Archived catalog, not a live quote. Check your model’s current rate via GET /v1/models.
22 / MODELS
Compare model limits, current API prices and integration details. Use the full model ID in your requests.
DeepSeekNEW
DeepSeek V4.1 Flash · 1017
01
deepseek-v4.1-flash-1017-uncensored
Model context window
1,048,576 tokens
Max output
393,216 tokens
Image inputSSE streamingFunction calling
USD / 1M TOKENS
Input
$0.900000
Cache
$0.018000
Output
$3.600000
October 17 snapshot: text, tools, images and streaming. Thinking: none / default or enable_thinking.
MiniMaxNEW
MiniMax M3.1 Flash
02
minimax-m3.1-flash-uncensored
Model context window
1,048,576 tokens
Max output
524,288 tokens
Image inputSSE streamingFunction calling
USD / 1M TOKENS
Input
$0.450000
Cache
$0.045000
Output
$1.800000
New model for coding and agent workflows. Reasoning is mandatory: low / medium / high / xhigh / max. Text, tools and inline images; video is not enabled.
MiMoNEW
MiMo V2.6 Pro
03
mimo-v2.6-pro-uncensored
Model context window
1,050,000 tokens
Max output
131,072 tokens
Image inputSSE streamingFunction calling
USD / 1M TOKENS
Input
$1.305000
Cache
$0.010800
Output
$2.610000
Designed for long tasks. Reasoning: none / default. Text, tools and inline images; audio and video are not enabled.
NEW
Muse Wonder
04
muse-wonder-uncensored
Model context window
1,048,576 tokens
Max output
943,718 tokens
Image inputSSE streamingFunction calling
USD / 1M TOKENS
Input
$12.000000
Cache
$0.600000
Output
$60.000000
Reasoning is mandatory: minimal / low / medium / high / xhigh / max. Text, tools and inline images; audio, files and video are not enabled. Preserve opaque reasoning_details in assistant history after tool calls. Final billing uses confirmed execution cost ×3; token rates are reservation quotes.
NEW
HY4
05
hy4-uncensored
Model context window
1,048,576 tokens
Max output
65,536 tokens
Image inputSSE streamingFunction calling
USD / 1M TOKENS
Input
$1.251000
Cache
$0.063000
Output
$3.751500
Text, tools and inline images. Reasoning: none / low / high. Final billing uses confirmed execution cost ×3; token rates are reservation quotes.
GLM
GLM 5.3
06
glm-5.3-uncensored
Model context window
1,048,576 tokens
Max output
131,072 tokens
SSE streamingFunction calling
USD / 1M TOKENS
Input
$0.450000
Cache
$0.206700
Output
$13.200000
GLM flagship. Use streaming for long answers.
GLM
GLM 5.3 Prime
07
glm-5.3-prime-uncensored
Model context window
1,000,000 tokens
Max output
131,072 tokens
SSE streamingFunction calling
USD / 1M TOKENS
Input
$8.400000
Cache
$1.680000
Output
$26.400000
Accelerated GLM variant, not a separate intelligence tier.
Qwen
Qwen 3.8 Max
08
qwen3.8-max-uncensored
Model context window
1,000,000 tokens
Max output
131,072 tokens
Image inputSSE streamingFunction calling
USD / 1M TOKENS
Input
$6.000000
Cache
$0.750000
Output
$18.000000
Text, functions and inline PNG/JPEG/WebP images. Use tool_choice: auto for functions.
DeepSeek
DeepSeek V4 Pro
09
deepseek-v4-pro-uncensored
Model context window
1,048,576 tokens
Max output
393,216 tokens
SSE streamingFunction calling
USD / 1M TOKENS
Input
$3.960000
Cache
$0.132000
Output
$11.880000
History, server instructions and generated output must fit the context together.
Kimi
Kimi K3
10
kimi-k3-uncensored
Model context window
1,048,576 tokens
Max output
943,718 tokens
Image inputSSE streamingFunction calling
USD / 1M TOKENS
Input
$0.717000
Cache
$0.630000
Output
$35.808000
Text, functions and inline images. A full 1M-token output has not been independently tested.
Qwen
Qwen 3.7 Plus
11
qwen3.7-plus-uncensored
Model context window
1,000,000 tokens
Max output
131,072 tokens
Image inputSSE streamingFunction calling
FROM · USD / 1M TOKENS
Input
$0.960000
Cache
$0.192000
Output
$3.840000
The pricing band depends on the number of input tokens.
Qwen
Qwen3 Coder Flash
12
qwen3-coder-flash-uncensored
Model context window
1,000,000 tokens
Max output
65,536 tokens
SSE streamingFunction calling
FROM · USD / 1M TOKENS
Input
$0.585000
Cache
$0.117000
Output
$2.925000
The pricing band depends on the number of input tokens.
DeepSeek
DeepSeek V4.1 Flash
13
deepseek-v4.1-flash-uncensored
Model context window
1,048,576 tokens
Max output
393,216 tokens
Image inputSSE streamingFunction calling
USD / 1M TOKENS
Input
$0.900000
Cache
$0.018000
Output
$3.600000
Text, functions and inline images. Lower prices outside 08:00–22:00 Beijing time; the current rate is shown here.
Qwen
Qwen 3.8 Flash
14
qwen3.8-flash-uncensored
Model context window
1,000,000 tokens
Max output
131,072 tokens
Image inputSSE streamingFunction calling
USD / 1M TOKENS
Input
$0.450000
Cache
$0.048000
Output
$1.410000
Text, functions and inline PNG/JPEG/WebP images. Up to 4 images, at most 1024×1024 pixels each; no video input.
GLM
GLM 5.3 Flash
15
ZHIPU/GLM-5.3-Flash-uncensored
Model context window
1,048,576 tokens
Max output
131,072 tokens
Image inputSSE streamingFunction calling
USD / 1M TOKENS
Input
$0.240000
Cache
$0.240000
Output
$0.750000
Text, functions and inline PNG/JPEG/WebP images. Up to 4 images, 2 MiB and 1024×1024 pixels each.
Qwen
Qwen 3.8 27B Free
16
qwen3.8-27b-free-uncensored
Model context window
131,072 tokens
Max output
4,096 tokens
SSE streamingFunction calling
USD / 1M TOKENS
Input
$0.000000
Cache
$0.000000
Output
$0.000000
Service input bound: 28,500 tokens. Conservative estimate, not a tokenizer count.
Free preview: text only; 5 requests per UTC day per account. Up to 4,096 output tokens; short input, shared availability. Free-tier capacity is not the native model context window.
Abliterated
GLM 5.3 Abliterated
17
glm-5.3-abliterated
Model context window
1,048,576 tokens
Max output
131,072 tokens
Weight format
NVFP4
SSE streamingFunction calling
USD / 1M TOKENS
Input
$3.000000
Cache
$0.450000
Output
$6.000000
Abliterated
GLM 5.3 Flash Abliterated
18
glm-5.3-flash-abliterated
Model context window
1,048,576 tokens
Max output
131,072 tokens
Weight format
NVFP4
Image inputSSE streamingFunction calling
USD / 1M TOKENS
Input
$0.360000
Cache
$0.075000
Output
$1.500000
Abliterated
DeepSeek V4.1 Flash Abliterated
19
deepseek-v4.1-flash-abliterated
Model context window
1,048,576 tokens
Max output
131,072 tokens
Weight format
FP8
SSE streamingFunction calling
USD / 1M TOKENS
Input
$0.360000
Cache
$0.057000
Output
$1.350000
Abliterated
DeepSeek V4.1 Flash Fast Abliterated
20
deepseek-v4.1-flash-abliterated-fast
Model context window
1,048,576 tokens
Max output
131,072 tokens
Weight format
FP8
SSE streamingFunction calling
USD / 1M TOKENS
Input
$0.360000
Cache
$0.075000
Output
$1.350000
Abliterated
Kimi K3.1 Pro Abliterated
21
kimi-k3.1-pro-abliterated
Model context window
1,048,576 tokens
Max output
131,072 tokens
Weight format
MXFP4
SSE streamingFunction calling
USD / 1M TOKENS
Input
$7.500000
Cache
$0.750000
Output
$15.000000
Abliterated
Qwen 3.8 27B Abliterated
22
qwen3.8-27b-abliterated
Model context window
262,144 tokens
Max output
65,536 tokens
Weight format
FP8
Image inputSSE streamingFunction calling
USD / 1M TOKENS
Input
$0.120000
Cache
$0.054000
Output
$4.050000
07 / REQUEST FORMAT
Request format
Chat Completions supports SSE streaming (stream: true), Function Calling (tools, tool_choice, parallel_tool_calls), assistant tool_calls and tool results with role: tool. Tools are executed by your application; the API returns structured calls. Use tool_choice: auto for the widest model compatibility. Model-specific restrictions still apply to forced tool choices.
The output limit follows the selected model. GLM 5.3 / Prime supports up to 131,072 output tokens and a 1M context window. Leave the limit unset for Auto. To cap an answer, specify max_tokens or max_completion_tokens, not both. Model and tariff limits still apply. Request body: up to 16 MiB. For long answers use streaming: up to 60 minutes per stream, with a 90-second timeout while waiting for new data.
For stream token accounting, set stream_options: {"include_usage": true}. The final usage chunk is returned before [DONE]. Streaming charges appear in balance history after settlement; X-Charged-USD is used only for non-streaming responses.
During an open stream the gateway sends : processing SSE comments about every 10 seconds while waiting; clients must ignore comment lines. Heartbeats keep the client connection active, but do not extend the deadline for receiving new data. A mid-stream error includes choices[0].finish_reason: "error", error.code, a safe failure_reason, billing_status and request_id. HTTP 200 alone does not mean generation succeeded. If retryable: false, do not automatically repeat a paid generation.
Identical cumulative usage events are counted once. A clean EOF after a valid finish reason and final usage is finalized normally. If the stream ends without reliable final usage, save request_id for support; its reserve remains held until reconciliation. Do not automatically repeat an interrupted paid request.
Visible assistant text begins with the server label @ABUSEGPT. The same label is added once during streaming; tool arguments, reasoning fields, errors and token usage are not changed. The locally added label is not billed as model output.
Reasoning modes
Set reasoning_effort per request. Omit it to keep the model default. Controls differ by model; see reasoning in GET /v1/models.
Model
reasoning_effort
GLM 5.3 · Prime · Flash / Kimi K3
low / high / max — always thinking
Qwen 3.8 Max / Flash
none / low / medium / xhigh
DeepSeek V4 Pro
none / high / max
DeepSeek V4.1 Flash
none / low / high / max
Qwen 3.7 Plus
none / default — off / on; native enable_thinking
Qwen 3.8 27B Free
none / default / low / medium / high
none disables thinking only on supported models. For Qwen Max/Flash, minimal maps to low and high/max map to xhigh. Qwen Plus and DeepSeek translate the off switch to the native enable_thinking: false. Hybrid paid models also accept a boolean enable_thinking directly; do not combine it with reasoning_effort. Qwen Coder has no configurable thinking mode. Free-model quotas and the common output budget still apply.
Thinking tokens are included in completion_tokens and the same total output ceiling, not billed a second time. More thinking can leave fewer tokens for the final answer. Use a sufficient output budget; the adaptive balance ceiling still applies. OpenCode custom variants set reasoningEffort; cycle configured variants with Ctrl+T.
Retries and network errors
Send a unique Idempotency-Key for each logical request. Retries receive HTTP 409 without another generation or charge; the server does not retain the response text. On a network error, do not automatically retry with a new key. Save X-Request-ID for support. The actual charge is returned in X-Charged-USD.
System prompt
Client system instructions can be sent in messages. Server-side instructions, when configured, are counted in context and in the cost reservation.
We do not record API request text, model responses or the contents of tool calls in application logs. Your API conversation history is not stored in the request accounting system.
2. Technical accounting, not a conversation archive
To calculate costs, keep the API running and investigate errors, we store the necessary technical metadata: model, request time, token count, cost, processing status, Request ID and technical identifiers, including request hashes.
This information allows us to track service usage without storing the content of your conversations. Account and payment data are processed separately and are necessary to provide access and handle billing.
3. Support using your Request ID
A request identifier is enough for an initial error check — you do not need to send your conversation history.
If we need an example to reproduce the issue, we will request it separately. Descriptions and screenshots you voluntarily send to support are stored as part of your support request. Before sending them, remove personal data, API keys, passwords and other secrets.
4. External processing
The service uses external infrastructure and model providers to fulfil API requests. Request content is shared with the parties needed to process it.
External providers’ data retention and usage terms depend on the selected model and processing route. The absence of content in application logs does not mean it is absent throughout the entire processing chain.
5. How data is protected
Requests are transmitted over a secure connection. Their content is processed by the service and external model providers to generate a response. Not recording content in application logs does not rule out this processing and is not a promise of complete anonymity.
6. Scope of this section
This section describes the processing of API requests. It does not replace the full privacy policy, which separately defines how account, payment and support data are handled, as well as retention periods and data deletion procedures.
09 / Terms of use
API terms of use
Clear rules for access, billing and responsibility.
1. Using the service
AbuseGPT provides technical access to artificial intelligence models through an API. Users independently determine how they use the service and are responsible for their requests, the data they submit and how they use the results.
Access to models does not authorise actions that violate applicable law or third-party rights. A lower rate of model refusals does not mean there are no rules for using the service.
2. Account and API keys
Users are responsible for keeping their passwords and API keys secure, and for the access they grant to their applications and other people. Use separate keys and individual spending limits.
If you suspect a compromise, revoke the key and contact support. Do not publish API keys or enter your account password in third-party application settings.
3. Model responses and tools
Responses are generated automatically and may contain factual errors, unsafe code or inappropriate recommendations. Review results before publishing or executing them, or using them to make decisions.
A tool call in a model response is not, by itself, permission to execute a command. Users determine their client’s permissions, action confirmations and access to files, networks and other resources.
4. Billing, balance and reserves
Paid model usage is accounted for using tokens and the service’s rates. Before generation, part of the available balance may be temporarily reserved. Once reliable final usage data is available, the final charge is calculated and the unused portion of the reserve is returned to the available balance.
If the request outcome or final usage is unknown, the reserve may remain in place until reconciliation. Save the Request ID and do not automatically retry a paid generation with a new operation identifier.
While an X2 promotion is active, confirmed top-ups are credited at twice the amount. Balance credits are used to pay for API services and are not a promise of unlimited usage. Current rates and promotional terms are listed on the website.
Support reviews disputed charges, uncredited payments and refund questions using the transaction details.
5. Service limits and protection
Model availability, maximum request size, rate limits and concurrency limits depend on the model, pricing plan and current service configuration. A paid balance does not, by itself, mean there are no technical limits or that every model is guaranteed to be available.
Bypassing authentication or limits, deliberately overloading infrastructure, interfering with other users’ accounts and exploiting errors in crediting or accounting for funds are prohibited. Access may be restricted during an investigation if there is a security threat or a violation of the rules. Fund accounting questions are reviewed separately.
6. Responsibility and support requests
Users are responsible for their actions and how they use generated results. The service is responsible for fulfilling its obligations under the applicable terms and law. These rules do not constitute a statement that the service is completely exempt from liability.
For a technical error, provide support with the Request ID, model and approximate time of the event. Do not send your password or API key. Technical metadata is usually sufficient to investigate an issue; request content is requested separately if needed to reproduce it.
7. Data processing
The rules for processing request content, technical metadata and support materials are described in the “API privacy” section. These terms of use do not change those principles or introduce undisclosed storage of conversations.
Troubleshooting
Choose the symptom. For an initial check, keep the HTTP status, error code and request ID. You do not need to share your API key or conversation.
Authentication fails
Check the base URL and Authorization header. Use your dashboard API key, not your password or activation code. Keep the key private.
Compare the input history and requested output with the model’s context window. For finish_reason: length, check the output limit, available balance and X-Effective-Max-Tokens.
Project snapshot: 26 November 2026 documentation and 19–25 November catalog data. Rates are archived, not live quotes. Check the model and rates via GET /v1/models before integration.