| Time | OK | HTTP | DB | Response | Error |
|---|
Connect your Kaixu Key
Paste your Kaixu Virtual Key. It stays in your browser (localStorage) and is only sent to the gateway over HTTPS.
This dashboard shows: your key usage, your customer plan cap, and request logs. If you hit a cap, your apps will stop until the cap resets or you add more.
Caps + usage
| Provider | Calls | Cost | Input tokens | Output tokens |
|---|
Recent requests (this key)
| Time | Provider | Model | Input | Output | Install | Cost (cents) |
|---|
Tip: if your apps are routing through the gateway, every call lands here.
Devices for this key
If you enable device binding (recommended), each install must send x-kaixu-install-id. You can revoke a lost device here.
| Install ID | First seen | Last seen | Revoked | User-Agent | Action |
|---|
Tip: Keep your install id stable per device (store it once in localStorage). If you change it every page load, you'll burn through seats.
Exports & invoices
Invoice snapshot (preview)
If you (or your admin) created a monthly snapshot, you'll see it here. Otherwise you'll get a live preview.
—
Add more cap (Stripe top-up)
Optional. If Stripe is configured, you can buy extra cap for the selected month.
After payment, the webhook credits extra_cents for that month and your apps can keep running.
GitHub Push
Push a ZIP into a GitHub repository as a single commit using your tenant’s connected GitHub token. This runs through the Kaixu GitHub Push Gateway pipeline (chunk upload → background commit).
Connection
Token is stored encrypted per customer. Connecting or changing a token requires an admin Kaixu Key for your tenant.
OAuth requires: GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET, and GITHUB_OAUTH_REDIRECT_URL set on your gateway deployment.
Push a ZIP (one commit)
Recent GitHub Push Jobs
| Time | Repo | Branch | Status | Commit | Attempts | Next |
|---|---|---|---|---|---|---|
| Loading… | ||||||
Live Monitor
Heartbeat recorded every 5 minutes, 24/7. Data persists whether you are logged in or not.
| Time | OK | HTTP | DB | Response (ms) | Error |
|---|
Use this key in your apps
Your apps should call the gateway functions, not OpenAI/Anthropic/Gemini directly.
Non-stream
POST /.netlify/functions/gateway-chat
Streaming (SSE)
POST /.netlify/functions/gateway-stream
Header: Authorization: Bearer <KAIXU_VIRTUAL_KEY>
Normalized request
{
"provider": "openai" | "anthropic" | "gemini",
"model": "...",
"messages": [{"role":"user","content":"Hello"}],
"max_tokens": 256,
"temperature": 0.7
}