https://api.abliteration.ai and pass your ak_... key as api_key= (sent as x-api-key) — no other code changes. abliteration.ai implements the Anthropic Messages API, including streaming, tool use, web search, and web fetch.
Configuration
| Base URL | https://api.abliteration.ai |
| Auth | Authorization: Bearer ak_... or x-api-key: ak_... — both work |
| Endpoint | /v1/messages |
Python
curl
Request safety filtering
Passflagged_categories in the request body to reject calls whose content matches moderation categories you choose (harassment, hate, illicit, sexual). Works on /v1/messages 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. See thinking toggle.