Chat with an AbliteratedLLM model
chatSends a text prompt or short conversation to an AbliteratedLLM model and returns the reply with token usage and estimated cost.
Instructions
Send a prompt, or a short text conversation, to an AbliteratedLLM model and return its reply with token usage and an estimated cost. This spends the user's prepaid AbliteratedLLM credit: call it only when the user asks for an AbliteratedLLM model's answer. Text only, one non-streamed reply. Defaults: model glm-5.3-flash-abliterated, max_tokens 2048 (reasoning tokens count toward it), reasoning_effort low. This server stops waiting after 55 s, so keep max_tokens and reasoning_effort modest. Trial accounts allow 1 request at a time and at most 4096 output tokens. Needs ABLITERATEDLLM_API_KEY.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model id from list_models. Default glm-5.3-flash-abliterated. | glm-5.3-flash-abliterated |
| prompt | No | The user message. Pass either prompt or messages. | |
| system | No | System prompt, sent as a system message before the others. | |
| messages | No | A conversation, oldest message first. Pass either prompt or messages. | |
| max_tokens | No | Output budget, reasoning tokens included. Default 2048. The API lowers it to the model's max output (and to 4096 on trial accounts). The whole budget is held against the balance and the key's spend caps while the request runs. | |
| temperature | No | Sampling temperature, 0 to 2. Omit for the model's default. | |
| reasoning_effort | No | How much the model reasons before answering. Default low; higher takes longer and uses more output tokens. | low |