Hush AI: API Quickstart

Hush AI speaks the OpenAI-compatible API. Any client, SDK, or tool that takes a base_url and an API key works out of the box, and every request is processed on privately owned UK hardware, then gone. Nothing stored, nothing trained on.

1. Get your API key

Sign in at hush-ai.uk/login, then open hush-ai.uk/api/app/session in the same browser. Copy the api_key value from the response. That's your key. Treat it like a password.

Every signed-in account has a key. If you've never had one, opening that link creates yours on the spot. A friendlier key page is on the way; this works today.

2. Say hello

curl https://hush-ai.uk/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sovereign-prism",
    "messages": [{"role": "user", "content": "Hello from the sovereign side."}]
  }'

3. Or from Python

from openai import OpenAI

client = OpenAI(base_url="https://hush-ai.uk/v1", api_key="YOUR_API_KEY")
r = client.chat.completions.create(
    model="sovereign-prism",
    messages=[{"role": "user", "content": "Summarise this contract clause…"}],
)
print(r.choices[0].message.content)

Models

List them live: curl https://hush-ai.uk/v1/models

Usage & metering

Token packs and plan allowances are metered per request. While signed in, hush-ai.uk/api/usage shows your current numbers.

Questions

[email protected]. A human reads every message.