# Lyber API documentation

> One OpenAI-compatible API for two uncensored checkpoints. Point the SDK you already use at Lyber, choose a model by its exact ID, and pay per token from prepaid credit.

Source: https://www.lyber.ai/docs/ · Markdown: https://www.lyber.ai/docs/md/index.md

- [Quickstart](https://www.lyber.ai/docs/quickstart/): Get a key and send your first request in a few minutes.
- [Models](https://www.lyber.ai/docs/models/): The two checkpoints, their IDs, limits and reasoning controls.
- [Agents](https://www.lyber.ai/docs/agents/): Run coding agents on Lyber, or build your own tool loop.
- [Tool calling](https://www.lyber.ai/docs/capabilities/tool-calling/): Let the model call your functions and continue with the results.
- [Security review](https://www.lyber.ai/docs/security-review/): Review supplied source in bounded stages, challenge candidate claims and trace the full flow.
- [Chat completions](https://www.lyber.ai/docs/api/chat-completions/): Every request field, response field and header.
- [Errors](https://www.lyber.ai/docs/api/errors/): Status codes, error codes and what to do about each.

## At a glance

|   |   |
| --- | --- |
| Base URL | `https://lyber-paid-acceptance-gateway-production.up.railway.app/v1` |
| Authentication | `Authorization: Bearer $LYBER_API_KEY` |
| Models | `minimax-m3.1-flash-abliterated` and `deepseek-v4.1-flash-1017-abliterated` |
| Compatibility | OpenAI Chat Completions, plus a stateless Responses adapter |
| Billing | Prepaid credit, charged per input and output token |

## How Lyber works

Lyber serves abliterated checkpoints: open-weight models whose refusal behavior has been removed. Both sit behind one endpoint that speaks the OpenAI Chat Completions format, so the official OpenAI SDKs, and the frameworks built on them, work by changing the base URL and the key.

Every request names its model explicitly. Lyber never substitutes another model for your choice, and every response carries the ID of the model that answered, in the `model` field and the `x-lyber-model` header.

> **Early access:** API keys work once your account is approved. [Request access](https://www.lyber.ai/access/) with a verified email, then create a key in the dashboard.

## Endpoints

| Method | Path | Purpose |
| --- | --- | --- |
| `POST` | [`/v1/chat/completions`](https://www.lyber.ai/docs/api/chat-completions/) | Generate a reply, streamed or whole |
| `POST` | [`/v1/responses`](https://www.lyber.ai/docs/api/responses/) | The same models through the Responses format (preview) |
| `POST` | [`/v1/workflows/security-review`](https://www.lyber.ai/docs/security-review/) | Prompt-based audit intake and separate review passes |
| `GET` | [`/v1/models`](https://www.lyber.ai/docs/api/models/) | Models your key can use, with limits and prices |
| `GET` | [`/v1/credits`](https://www.lyber.ai/docs/api/credits/) | Your prepaid balance, limits and request history |
