Quickstart
Create an API key from the dashboard and then make your
first call. The examples use sable, the flagship model id: one stable name
kept pointed at a strong frontier engine (see Models).
Step 0: credit
New accounts receive a one-time signup credit, so your first calls work with
no deposit. Beyond that, usage is prepaid with USDT. See
Paying with USDT and Cost & metering.
Once billing enforcement is on, an exhausted balance returns 402 with x402
payment terms an agent can settle and retry.
from openai import OpenAI
client = OpenAI(
base_url="https://api.buildsable.com/v1",
api_key="sk-sable_...",
)
resp = client.chat.completions.create(
model="sable",
messages=[{"role": "user", "content": "What is confidential inference?"}],
)
print(resp.choices[0].message.content)Use the SDK (optional)
If you'd rather skip the base-URL boilerplate, install
@sable-network/sdk (TypeScript) or sable-network (Python) and call
new Sable({ apiKey }) / Sable(api_key=...) instead. Same interface as the
OpenAI client, pre-pointed at Sable, plus helpers for the Sable-specific
surface. See SDKs.