Install
Install with PiG
pig install npm:pi-abliteratedllmInstall with Pi
pi install npm:pi-abliteratedllmPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./src/index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.1.0 (README.md). PiG does not review it.
pi-abliteratedllm
Adds AbliteratedLLM to the Pi coding agent as a model provider. You enter your AbliteratedLLM API key in Pi's /login (or set ABLITERATEDLLM_API_KEY), and /model lists every model in the AbliteratedLLM catalog with its context length, output limit, image support and prices.
Requests go to https://api.abliteratedllm.dev/v1 through Pi's OpenAI chat-completions implementation and are billed to your prepaid AbliteratedLLM credit.
Requirements
- Pi (
@earendil-works/pi-coding-agent) and Node.js 22.19.0 or later. - An AbliteratedLLM API key from abliteratedllm.dev/dashboard/keys. Keys start with
sk-.
Install
pi install npm:pi-abliteratedllm
Then restart Pi, or run /reload in a running Pi. To try the package for one session without installing it, start Pi with pi -e npm:pi-abliteratedllm.
Connect your key
Either:
In Pi, run
/login, choose Sign in with an API key, then AbliteratedLLM, and paste your key. Pi stores it in itsauth.json(~/.pi/agent/auth.jsonby default) and keeps it across restarts. An empty entry saves nothing and keeps any key you saved before.Or set the environment variable before starting Pi:
export ABLITERATEDLLM_API_KEY="sk-..."On Windows:
setx ABLITERATEDLLM_API_KEY "sk-..."(applies to terminals you open afterwards).
A key saved with /login takes precedence over the environment variable. AbliteratedLLM models appear in /model only once Pi has a key for them.
Pick a model
pi --model abliteratedllm/glm-5.3-flash-abliterated
Inside Pi, /model switches models and Ctrl+S there saves your pick as the default for new sessions. pi --list-models abliteratedllm lists the AbliteratedLLM models Pi can use.
Models
Each time Pi starts, the package reads the public model list at https://api.abliteratedllm.dev/v1/models (no key is sent). If Pi runs offline (--offline or PI_OFFLINE=1), or the list does not arrive within 5 seconds, the package uses the copy of the catalog it ships with (15 models, as of 2026-11-14), so Pi still starts with every model.
glm-5.3-flash-abliteratedis listed first. It is abliterated: its refusal behavior was removed from the weights.- Models shown with
(Stock model)in their name are the vendors' original weights, not abliterated. - Context window and output limit are the catalog's
context_lengthandmax_output_tokens. - Image attachments are enabled for models whose catalog entry lists image input. Pi takes text and image input only, so video input is not offered.
- Costs are the catalog prices in USD per 1M tokens (input, output, cached input). There is no charge for cache writes. See pricing.
- Every model reasons. Pi's thinking levels
off,low,mediumandhighare available:low,mediumandhighare sent asreasoning_effort, andoffleavesreasoning_effortout, so the model uses its default effort.minimalis hidden because the API has no matching value.
Trial accounts
Trial accounts allow 1 concurrent request and cap output at 4096 tokens per request, which is tight for agent work. See Rate limits and trial.
If models.json also defines abliteratedllm
The manual Pi setup adds an abliteratedllm provider to ~/.pi/agent/models.json. Pi applies models.json on top of this package, so those entries replace the package's models with the same IDs. Remove the abliteratedllm entry from models.json when you use this package.
Logout, update and removal
/logout→ AbliteratedLLM removes the saved key.ABLITERATEDLLM_API_KEYstays set if you set it.- After updating the package, run
/reloador restart Pi. pi remove npm:pi-abliteratedllmuninstalls the package. Run/logoutfirst if you also want the saved key gone.
Links
- Pi integration docs
- API documentation
- Privacy: AbliteratedLLM does not store prompts or outputs.
- Support: support@abliteratedllm.dev
License
MIT