AbliteratedLLM MCP server
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ABLITERATEDLLM_API_KEY | No | Your AbliteratedLLM API key (starts with `sk-`). Needed for `chat` and `get_balance`; `list_models` and `estimate_cost` work without a key. | |
| ABLITERATEDLLM_TIMEOUT_SECONDS | No | How long `chat` waits for a reply, 1 to 600 seconds. | 55 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Tools for the AbliteratedLLM API (https://abliteratedllm.dev), an OpenAI-compatible, pay-per-token API for open-weight models.
list_models and estimate_cost read the public catalog and need no API key.
get_balance needs ABLITERATEDLLM_API_KEY and spends nothing.
chat sends the prompt to an AbliteratedLLM model and spends the user's prepaid credit. Call it only when the user asks for an AbliteratedLLM model's answer.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_modelsA | List the models in the AbliteratedLLM catalog with context length, max output tokens, input types (text, image, video) and prices in USD per 1M tokens (input, output, cached input, and priority tier where offered). variant "abliterated" means the refusal behavior was removed from the weights; "stock" models are the vendors' original weights. Every model reasons. Reads the public catalog; no API key needed. |
| get_balanceA | Show the balance of the account that owns ABLITERATEDLLM_API_KEY: credit available for new requests, credit held by running requests, whether it is a trial account, and what is left of the key's daily, monthly and lifetime spend caps (null: no cap). Amounts are USD decimal strings. Spends nothing, so it is also the way to check that the key works. |
| estimate_costA | Estimate the USD cost of a request from token counts and the live catalog prices, with the API's billing formula: (input - cached) × input price + cached × cached-input price + output × output price, per 1M tokens, rounded up to $0.000001. You supply the token counts: this server has no tokenizer, so the result is an estimate. Reasoning tokens are output tokens. To see the most a chat call can cost, pass its max_tokens as output_tokens. No API key needed. |
| chatA | 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. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool targets a distinct resource and action: catalog reading (list_models), account state (get_balance), offline cost math (estimate_cost), and paid inference (chat). The descriptions explicitly draw boundaries, e.g. noting get_balance spends nothing and estimate_cost needs no key, so an agent can pick without guessing.
Three tools follow a clean verb_noun pattern (list_models, get_balance, estimate_cost), but the fourth is a bare verb (chat) rather than something like send_chat or create_completion. The deviation is minor and still instantly readable.
Four tools map cleanly onto the server's narrow scope of catalog, balance, cost estimation, and one-shot inference, with no filler. It is on the thin side — there is no streaming or usage-history tool — but nothing feels redundant.
The core lifecycle (discover models, check credit, estimate cost, make a request) is fully covered with no dead ends. Gaps are acknowledged rather than hidden: there is no tokenizer/count_tokens tool, no model detail endpoint beyond the list, and no usage-history or cap-management operations.