Skip to main content

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.

To use any OpenAI SDK with abliteration.ai, set the base URL to https://api.abliteration.ai/v1 and your API key to an ak_... key from the console. abliteration.ai implements the OpenAI /v1/chat/completions, /v1/responses, and /v1/models endpoints — no other code changes needed.

Configuration

Base URLhttps://api.abliteration.ai/v1
AuthAuthorization: Bearer $ABLIT_KEY
Endpoints/chat/completions, /responses, /models

Python

from openai import OpenAI

client = OpenAI(
    base_url="https://api.abliteration.ai/v1",
    api_key=os.environ["ABLIT_KEY"],
)

resp = client.chat.completions.create(
    model="abliterated-model",
    messages=[{"role": "user", "content": "Hello"}],
)

Node

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.abliteration.ai/v1",
  apiKey: process.env.ABLIT_KEY,
});

Streaming

Set stream: true. See streaming.

Tool calling

Pass tools and tool_choice exactly as with OpenAI. See tool calling.

Thinking

abliterated-model is a reasoning model. Set "thinking": false at the top level of the request body to skip reasoning and return only the final answer. Works on /v1/chat/completions; not yet on /v1/responses. See thinking toggle. See the compatibility matrix for a full feature-by-feature list.
Last modified on May 13, 2026