Pre-launch preview. Payments run in test mode, so nothing is really charged, and models aren't kept running.

abliterate

API reference

The base URL is https://api.abliterate.tech/v1. Send your key as Authorization: Bearer sk-abl-... or x-api-key.

Inference

RouteWhat it doesKey
POST /v1/chat/completionsChat completion, OpenAI formatInference
POST /v1/completionsText completion, OpenAI formatInference
POST /v1/messagesMessage, Anthropic formatInference
POST /v1/messages/count_tokensEstimate a request's input tokens, freeInference
POST /v1/responsesResponse, OpenAI Responses formatInference

Models

RouteWhat it doesKey
GET /v1/modelsList models and pricesNone
GET /v1/models/{model_id}One model, with whether a worker looks to be runningNone

Account

RouteWhat it doesKey
GET /v1/accountCredit, usage this month and limitsEither
GET /v1/creditsTotal credit bought and usedEither
POST /v1/previewFree preview credit, when openNone

Usage

RouteWhat it doesKey
GET /v1/usageUsage by model, key and project, and recent requestsEither
GET /v1/usage/{request_id}What one request cost, and its policy checksEither

Keys

RouteWhat it doesKey
GET /v1/keysList keysAdmin
POST /v1/keysCreate a key, shown onceAdmin
DELETE /v1/keys/{key_id}Revoke a keyAdmin

Projects

RouteWhat it doesKey
GET /v1/projectsList projectsEither
POST /v1/projectsCreate a projectAdmin
GET /v1/projects/{project_id}One project, with its usage this monthEither
PATCH /v1/projects/{project_id}Rename a project or change its limitAdmin
DELETE /v1/projects/{project_id}Archive a project, which stops its keysAdmin

Policies

RouteWhat it doesKey
GET /v1/policiesList your policies and the platform ruleEither
POST /v1/policiesCreate a policyAdmin
GET /v1/policies/decisionsWhat checks decided, with no text, as JSON or JSONLEither
POST /v1/policies/evaluateTry a rule on sample text, paid like any checkInference
GET /v1/policies/{policy_id}One policy, with its published versionsEither
PATCH /v1/policies/{policy_id}Change a policy, publishing a new versionAdmin
DELETE /v1/policies/{policy_id}Delete a policyAdmin

Alerts

RouteWhat it doesKey
GET /v1/alertsAlert settings and recent alertsEither
POST /v1/alerts/settingsSet thresholds, a low-credit alert and a webhookAdmin

Billing

RouteWhat it doesKey
GET /v1/plansList monthly plansNone
GET /v1/billing/planThis account's planEither
POST /v1/billing/planStart a plan, or change plan from the next renewalAdmin
DELETE /v1/billing/planCancel at the end of the month paid forAdmin
POST /v1/billing/spend-limitCap monthly usageAdmin
DELETE /v1/billing/spend-limitRemove the capAdmin
GET /v1/billing/settingsAuto-reload settings, with adviceEither
POST /v1/billing/settingsChange auto-reloadAdmin
POST /v1/billing/top-upA Checkout page to add creditAdmin
GET /v1/billing/transactionsMoney in and out of creditEither
POST /v1/billing/portalA page to manage your card and receiptsAdmin

Training data

RouteWhat it doesKey
POST /v1/datasetsCreate a dataset and write a paid three-record previewInference
GET /v1/datasetsList datasetsInference
GET /v1/datasets/{dataset_id}One dataset's progress and costInference
POST /v1/datasets/{dataset_id}/promoteWrite records in the backgroundInference
POST /v1/datasets/{dataset_id}/cancelStop writing recordsInference
GET /v1/datasets/{dataset_id}/recordsDownload records as JSONL, CSV or JSONInference
DELETE /v1/datasets/{dataset_id}Delete a dataset and its recordsInference

Service

RouteWhat it doesKey
GET /v1/statusAvailability measured from real requestsNone
GET /v1/benchmarksPublished benchmark numbersNone