Coding agents
Aider
Run the Aider coding assistant on Abliterator's abliterated models: OPENAI_API_BASE, the openai/ model prefix, model metadata for context limits, and fixes.
Export OPENAI_API_BASE=https://abliterator.ai/v1 and OPENAI_API_KEY set to your Abliterator key, then run aider --model openai/kimi-k3.1-pro-abliterated. Add a .aider.model.metadata.json file so Aider knows the context window and prices.
Connect Aider to Abliterator
Aider connects to OpenAI-compatible APIs with two environment variables and an openai/ prefix on the model name, as its OpenAI-compatible guide describes:
python -m pip install aider-install
aider-install
export OPENAI_API_BASE="https://abliterator.ai/v1"
export OPENAI_API_KEY="$ABL_API_KEY"
cd /path/to/your/project
aider --model openai/kimi-k3.1-pro-abliterated --weak-model openai/deepseek-v4.1-flash-abliterated
openai/tells Aider (through LiteLLM) to use the OpenAI format; it is stripped before the request, so Abliterator receiveskimi-k3.1-pro-abliterated.--weak-modelis the model Aider uses for commit messages and chat-history summaries. deepseek-v4.1-flash-abliterated keeps those cheap.- Kimi's sampling is fixed (temperature 0.6, top_p 0.95); Abliterator ignores temperature, top_p and penalty settings for it, so Aider's defaults are safe.
Before you make kimi-k3.1-pro-abliterated your main coding model, test it on your own tasks: its Terminal-Bench 4.0 score fell from 68.8 to 56.3 after abliteration, a drop that is plausible but not statistically shown (benchmarks).
OPENAI_API_KEY here holds your Abliterator key. If you also use OpenAI directly, put these settings in the project's config file instead of your shell profile.
Save the settings in .aider.conf.yml
Aider reads .aider.conf.yml from your home directory or the repository root. Its keys mirror the command-line flags (reference):
openai-api-base: https://abliterator.ai/v1
model: openai/kimi-k3.1-pro-abliterated
weak-model: openai/deepseek-v4.1-flash-abliterated
editor-model: openai/deepseek-v4.1-flash-abliterated
Keep the key out of files you commit: export OPENAI_API_KEY in your shell, or put OPENAI_API_KEY=... in a gitignored .env file in the repository root.
Tell Aider the context window and prices
Aider does not know Abliterator's model names, so it warns Unknown context window size and costs, using sane defaults and assumes an unlimited, free model. To remove the warning and get correct token and cost reports, create .aider.model.metadata.json in your home directory or the repository root, as described in advanced model settings:
{
"openai/kimi-k3.1-pro-abliterated": {
"max_tokens": 262144,
"max_input_tokens": 1048576,
"max_output_tokens": 262144,
"litellm_provider": "openai",
"mode": "chat"
},
"openai/deepseek-v4.1-flash-abliterated": {
"max_tokens": 393216,
"max_input_tokens": 1048576,
"max_output_tokens": 393216,
"litellm_provider": "openai",
"mode": "chat"
}
}
You can add input_cost_per_token and output_cost_per_token (USD per token: the per-1M prices on /pricing divided by 1,000,000) if you want Aider's cost display. Abliterator's exact cost for each request is in GET /api/v1/activity.
Reasoning effort
Aider's --reasoning-effort flag sets the reasoning_effort parameter. For a model it does not know, declare that the model accepts it in .aider.model.settings.yml:
- name: openai/kimi-k3.1-pro-abliterated
edit_format: diff
use_repo_map: true
weak_model_name: openai/deepseek-v4.1-flash-abliterated
accepts_settings:
- reasoning_effort
- name: openai/deepseek-v4.1-flash-abliterated
edit_format: diff
use_repo_map: true
accepts_settings:
- reasoning_effort
Then run, for example, aider --model openai/kimi-k3.1-pro-abliterated --reasoning-effort medium. Values Abliterator's models accept are in reasoning.
Verify
Start Aider in a repository and ask it to explain one file with /ask. The model name in Aider's startup banner should read openai/kimi-k3.1-pro-abliterated. Confirm requests reached Abliterator:
curl -s https://abliterator.ai/api/v1/activity -H "Authorization: Bearer $ABL_API_KEY" | head -c 600
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
Unknown context window size and costs |
No metadata for the model | Add .aider.model.metadata.json as above |
404 Model "..." is not available on abliterator |
Model name missing the openai/ prefix, so LiteLLM picked another provider, or a typo after the prefix |
Use openai/kimi-k3.1-pro-abliterated |
401 from Abliterator |
OPENAI_API_KEY still holds an OpenAI key |
Set it to your Abliterator key |
| Requests go to api.openai.com | OPENAI_API_BASE not set in this shell |
Export it, or set openai-api-base in .aider.conf.yml |
Warning that the model does not support reasoning_effort |
Aider has no settings entry for the model | Add accepts_settings as above |
| Edits fail to apply | The model produced a malformed diff | Try --edit-format whole for small files, or use kimi-k3.1-pro-abliterated for complex edits |