> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abliteration.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Use OpenCode with abliteration.ai

> Use the OpenCode terminal agent with abliteration.ai — abliteration.ai is a built-in provider, so authenticate, pick Abliterated Model Large, and choose a reasoning level.

**abliteration.ai is a built-in provider in OpenCode** (via [models.dev](https://models.dev)), so there's no config to write — authenticate, pick the model, and choose a reasoning level. [OpenCode](https://opencode.ai) is a terminal-based AI coding agent.

## Install

```sh theme={"system"}
curl -fsSL https://opencode.ai/install | bash
```

Or with npm: `npm install -g opencode-ai`.

## Authenticate

Get an `ak_...` key from the [console](https://abliteration.ai/console), then:

```sh theme={"system"}
opencode auth login
```

Select **abliteration.ai** from the provider list and paste your key. (You can also do this inside OpenCode with the `/connect` command, or by setting the `ABLIT_KEY` environment variable.)

The base URL is filled in automatically from the provider entry — you don't need to set it.

## Choose the model

In OpenCode:

1. Run `/models`.
2. Open the provider list (**`Ctrl+A`** by default — the current keybind is shown in the dialog footer) and choose **abliteration.ai**.
3. Choose **Abliterated Model Large** (or **Abliterated Model** for the multimodal base model).

## Set the reasoning level

Reasoning depth is a model *variant*. Cycle it with **`Ctrl+T`**, or run **`/variants`** to pick from a list:

* **Abliterated Model Large** — `none`, `high`, `max`
* **Abliterated Model** (base) — `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, `max`

The selection maps to the `reasoning_effort` request field. See [thinking & reasoning effort](/capabilities/thinking) for what each level does.

<Note>
  `abliterated-model-large` is text-only. Use `abliterated-model` if you need image inputs. If abliteration.ai doesn't appear in the provider list yet, refresh the models cache with `opencode models --refresh`.
</Note>
