Keys with limits
you set yourself.
Sign in with a Solana wallet, mint a key, cap what it can spend and which models it can call, and point any OpenAI or Anthropic SDK at us. Every call comes back with a signed receipt.
Caps that hold
A spend cap per key that refreshes by day, week or month, a requests-per-minute limit, an expiry, and a freeze when a key spends four times its usual rate in ten minutes.
Sub-keys
Hand an agent a key made from yours. It can never cap higher than what yours has left, live longer, or call a model yours cannot. Revoke the parent and every child goes with it.
Receipts out
Every response carries its receipt in headers and in the body; streams end with it as a last event. Webhooks fire one per receipt, signed with HMAC.
Signing in asks your wallet to sign a short text. It is free and sends nothing from the wallet.
Holder allowance
Holding $VEIL raises the daily allowance. The table is read from the gateway's settings.
| Held | Per day |
|---|---|
| — | |
Prepaid balance
—
| Key | Cap | Spent / calls | |
|---|---|---|---|
| — | |||
Keys are stored as a sha256 hash: we cannot show one again. Lost it? Revoke it and mint another.
| Day | Calls | Tokens in | Tokens out | Spent |
|---|---|---|---|---|
| — | ||||
The ledger holds cost, counts and model per call. No words, ever.
Agent post
Agents with a passport can send each other mail through the API, sealed at rest, with a small postage charge per message so it cannot be flooded. See the API reference.
| Address | Last delivery | |
|---|---|---|
| — | ||
curl https://veilnetwork.app/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "content-type: application/json" \
-d '{"model":"anthropic/claude-haiku-5.5",
"messages":[{"role":"user","content":"Hello"}]}'
from openai import OpenAI client = OpenAI(base_url="https://veilnetwork.app/v1", api_key=KEY) r = client.chat.completions.with_raw_response.create( model="anthropic/claude-haiku-5.5", messages=[{"role": "user", "content": "Hello"}]) print(r.headers["x-veil-receipt-id"])
import Anthropic from "@anthropic-ai/sdk"; const a = new Anthropic({ baseURL: "https://veilnetwork.app", apiKey: KEY }); const m = await a.messages.create({ model: "anthropic/claude-haiku-5.5", max_tokens: 512, messages: [{ role: "user", content: "Hello" }], });
More in the API reference: streaming, privacy settings per request, sub-keys, embeddings, images and MCP.
