> ## 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.

# Introduction

> Overview of abliteration.ai's HTTP APIs — base URL, authentication, and how the OpenAI-compatible and Anthropic-compatible surfaces are exposed.

abliteration.ai exposes HTTP APIs compatible with both the OpenAI and Anthropic SDKs. Point any client library at our base URL and you're done.

## Base URL

```text theme={"system"}
https://api.abliteration.ai/v1
```

The same base URL serves both API surfaces:

| Path                        | Surface   | Reference                                     |
| --------------------------- | --------- | --------------------------------------------- |
| `/v1/chat/completions`      | OpenAI    | [Chat Completions](/api/openai-compatibility) |
| `/v1/responses`             | OpenAI    | [Responses](/api/openai-compatibility)        |
| `/v1/messages`              | Anthropic | [Messages](/api/anthropic-compatibility)      |
| `/v1/messages/count_tokens` | Anthropic | [Count tokens](/capabilities/count-tokens)    |
| `/v1/models`                | OpenAI    | [Models](/api/openai-compatibility)           |

## Authentication

All requests require a bearer token:

```http theme={"system"}
Authorization: Bearer $ABLIT_KEY
```

See [Authentication](/authentication).

## Example

```sh theme={"system"}
curl https://api.abliteration.ai/v1/chat/completions \
  -H "Authorization: Bearer $ABLIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "abliterated-model",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
```

## Versioning

The API is stable and backwards-compatible. Deprecations are announced in release notes with at least 30 days of notice.
