Skip to content
Veil

Quickstart

Get a key, add balance and send a first request.

Veil serves uncensored and abliterated open-weight models through two API formats: the OpenAI chat completions format and the Anthropic messages format. Existing SDKs work once you change the base URL and the key.

1. Get a key

Open /signup. There is no form. The page shows a key once, asks you to paste it back to prove you saved it, and the account is active. A key looks like ak_ followed by 40 hex characters. It is the only credential. If you lose it, the account and its balance cannot be recovered.

2. Add balance

The service is prepaid. Create a top-up invoice in the dashboard and pay it in Monero. The balance is credited after the confirmations shown on the invoice. Prices are on the pricing page.

3. Send a request

ClientBase URL
OpenAI SDKs and compatible toolshttps://veil.st/v1
Anthropic SDKshttps://veil.st

The Anthropic SDK adds /v1/messages to its base URL by itself, so give it the bare site URL.

curl

curl https://veil.st/v1/chat/completions \
  -H "Authorization: Bearer ak_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4.1-flash-1017-abliterated",
    "messages": [{"role": "user", "content": "Say hello in five words."}],
    "max_tokens": 200
  }'

Python, openai SDK

from openai import OpenAI

client = OpenAI(
    base_url="https://veil.st/v1",
    api_key="ak_...",
)

reply = client.chat.completions.create(
    model="deepseek-v4.1-flash-1017-abliterated",
    messages=[{"role": "user", "content": "Say hello in five words."}],
    max_tokens=200,
)
print(reply.choices[0].message.content)

Python, anthropic SDK

import anthropic

client = anthropic.Anthropic(
    base_url="https://veil.st",
    api_key="ak_...",
)

message = client.messages.create(
    model="deepseek-v4.1-flash-1017-abliterated",
    max_tokens=200,
    messages=[{"role": "user", "content": "Say hello in five words."}],
)
print(message.content[0].text)

Node, openai SDK

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://veil.st/v1",
  apiKey: "ak_...",
});

const reply = await client.chat.completions.create({
  model: "deepseek-v4.1-flash-1017-abliterated",
  messages: [{ role: "user", content: "Say hello in five words." }],
  max_tokens: 200,
});
console.log(reply.choices[0].message.content);

Node, no SDK

const res = await fetch("https://veil.st/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: "Bearer ak_...",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "deepseek-v4.1-flash-1017-abliterated",
    messages: [{ role: "user", content: "Say hello in five words." }],
    max_tokens: 200,
  }),
});
const data = await res.json();
console.log(data.choices[0].message.content);

4. Check the balance

The same key reads the account: balance, open holds, limits and recent usage. Amounts are in millionths of a dollar.

curl https://veil.st/api/account \
  -H "Authorization: Bearer ak_..."

Setting up a coding agent

Point the agent at /llms-full.txt. It is one plain-text file with everything on these pages. A short index is at /llms.txt.