Getting started
Quickstart
From sign-in to first streamed reply in under two minutes.
Quickstart
Under two minutes from zero to a working setup.
1. Sign in
Head to tokenharbor.ai and sign in. From the dashboard, open the gift box and claim your $5 welcome grant — that's your trial balance to try things out before topping up.
2. Copy your Universal Key
On the dashboard, the Universal Key card shows your key once. Copy it now — we store a salted hash, not the plaintext, so re-reveal isn't possible. Format is thk_live_….
3. Point any OpenAI-compatible client at the gateway
Three values:
| Field | Value |
|---|---|
| Base URL | https://tokenharbor.ai/v1 |
| API key | The thk_live_… you just copied |
| Model | Any id from /models. E.g. tokenharbor/qwen3-max, alibaba/qwen-flash, tokenharbor-smart-fast |
Walkthroughs for the four most-asked clients:
Or hit it directly — see Chat APIs for Python, TypeScript, and shell.
4. How you save
There's no per-call cashback — you pay passthrough per-token cost plus an optional markup (0% by default). Savings come from the platform caches: repeated identical prompts within 5 minutes are billed $0 thanks to the exact cache, and long repeated prefixes get up to 90% off via the vendor's prompt cache. New accounts also get a first top-up match and other rewards. Hit a friction → Report bug from any page footer.