Skip to main content
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

Python

Node

Streaming

Set stream: true. See streaming.

Tool calling

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

Request safety filtering

Pass flagged_categories in the request body to reject calls whose content matches moderation categories you choose (harassment, hate, illicit, sexual). Works on /v1/chat/completions with no policy setup. See request safety filtering.

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 July 15, 2026