The API is OpenAI-compatible: any SDK, framework, or agent harness works unchanged. Three steps from zero to first token.
Sign in with an email code in the console, create an API key, and top up a prepaid balance (from $10). You pay per token — nothing else.
Change base_url and pass your key. Everything else stays the same.
from openai import OpenAI client = OpenAI( base_url="https://api.unboundmodels.com/v1", api_key=os.environ["UNBOUND_API_KEY"], )
Use the model id from the catalog. Streaming is recommended: if the model is asleep, the stream opens immediately and keeps your client connected while it wakes (~40 s). Warm-up is never billed — the meter starts with the first generated token.
stream = client.chat.completions.create(
model="unbound/qwen3.8-27b",
messages=[{"role": "user", "content": "Hello"}],
stream=True,
)
for chunk in stream:
...Tool calls, reasoning traces, structured output, and stream_options with include_usage all work exactly as in the OpenAI API. Prompts and completions are not stored.