Coding agents

Cursor

Use Abliterator's abliterated models in Cursor chat with your own key and the Override OpenAI Base URL setting, plus the limits of custom models in Cursor.

Reviewed CursorCoding agents

Quick answer

In Cursor Settings > Models, turn on your OpenAI API key with your Abliterator key, turn on Override OpenAI Base URL with https://abliterator.ai/v1, and add kimi-k3.1-pro-abliterated as a custom model. Custom keys work for chat models only; Tab completion stays on Cursor's own models.

What works and what does not

Cursor lets you bring your own API key for chat models. Its API keys documentation states:

  • Custom API keys only work with chat models. Tab completion keeps using Cursor's built-in models.
  • Requests are routed through Cursor's servers for final prompt building, with your key sent along on each request. Your base URL must be reachable from the public internet; https://abliterator.ai/v1 is.

The base URL override is not described on that documentation page. It is a setting in Cursor Settings > Models, and Cursor staff describe it on the Cursor forum. Treat this integration as less stable than the other tools in these docs: Cursor can change which features use your key.

If you need a coding agent with full support for custom endpoints, Cline, Continue or Claude Code are more predictable choices.

Set it up

  1. Open Cursor Settings > Models.
  2. In the API keys section, turn on OpenAI API Key and paste your Abliterator key (sk-abl-v1-...).
  3. Turn on Override OpenAI Base URL and enter https://abliterator.ai/v1. Include /v1; do not add /chat/completions.
  4. Add a custom model named exactly kimi-k3.1-pro-abliterated. Add deepseek-v4.1-flash-abliterated too if you want both.
  5. Click Verify if your version shows it, then save.
  6. Restart Cursor, open a new chat, turn off Auto model selection, and pick your Abliterator model.

Verify

Ask the chat something about an open file. Then check that the request reached Abliterator:

curl -s https://abliterator.ai/api/v1/activity -H "Authorization: Bearer $ABL_API_KEY" | head -c 600

If nothing appears, Cursor sent the request to its own models instead.

Things to know

  • The override applies to every OpenAI-key request. While it is on, Cursor may also send requests for other OpenAI-family model names to https://abliterator.ai/v1, where they fail with 404 Model "..." is not available on abliterator. Turn off the built-in models you do not use, or turn the override off when you want Cursor's own models back.
  • Model name prefixes matter. Per Cursor staff, Cursor picks which saved key to send from the start of the model name; names starting with claude- use the Anthropic key slot. Abliterator's model IDs do not start with claude-, so they use the OpenAI slot as intended.
  • Your plan. Whether custom keys are available can depend on your Cursor plan and, for business accounts, on an admin setting that enables personal OpenAI keys.
  • Kimi for coding. 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).
  • Data path. Cursor's servers see your prompts before they reach Abliterator. Abliterator itself stores request metadata only, not text; see /privacy.

Troubleshooting

Symptom Cause Fix
Verification fails Base URL missing /v1, or the key has a typo Base URL exactly https://abliterator.ai/v1; paste the key again
"Model name is not valid" The custom model name does not match an Abliterator model ID, or starts with claude- Re-add it as kimi-k3.1-pro-abliterated
404 Model "gpt-..." is not available on abliterator in some features A Cursor feature used a built-in OpenAI model name through your override Use those features with Cursor's models, or disable the override while you use them
A feature fails with an endpoint error It needs an OpenAI API Abliterator does not serve, such as the Responses API Use that feature with Cursor's built-in models
The API keys section is missing Your organization's admin disabled personal OpenAI keys Ask the admin to enable them, then restart Cursor
429 errors Cursor sends several requests per chat turn Check your plan's rate limits