Knowledge Base Sections ▾
For Beginners
For Investors
- Where does GNK token value come from
- Gonka vs Competitors: Render, Akash, io.net
- The Libermans: from biophysics to decentralized AI
- GNK Tokenomics
- Risks and Prospects of Gonka: Objective Analysis
- Gonka vs Render Network: Detailed Comparison
- Gonka vs Akash: AI Inference vs Containers
- Gonka vs io.net: Inference vs GPU Marketplace
- Gonka vs Bittensor: A Detailed Comparison of Two Approaches to AI
- Gonka vs Flux: Two Approaches to Useful Mining
- Governance in Gonka: How a Decentralized Network is Managed
Technical
Analytics
Tools
- Cursor + Gonka AI - cheap LLM for coding
- Claude Code + Gonka AI - LLM for the terminal
- OpenClaw + Gonka AI - affordable AI agents
- OpenCode + Gonka AI - free AI for code
- Continue.dev + Gonka AI - AI for VS Code/JetBrains
- Cline + Gonka AI - AI agent in VS Code
- Aider + Gonka AI - pair programming with AI
- LangChain + Gonka AI - AI applications for pennies
- n8n + Gonka AI - automation with cheap AI
- Open WebUI + Gonka AI - your own ChatGPT
- LibreChat + Gonka AI — open-source ChatGPT
- API quick start — curl, Python, TypeScript
- JoinGonka Gateway — a full overview
- Management Keys — SaaS on Gonka
Tools
Management Keys — SaaS on Gonka
What are Management Keys
Management Keys are a system of hierarchical API keys for building SaaS products on top of Gonka AI Gateway.
The architecture is two-tiered:
- Management key (gm-) — your master key. Not used for direct inference — only for creating and managing child keys.
- Child key (gc-) — a key for your client. Used for inference requests. Billing is deducted from the management key owner's balance.
This is a white-label model: your clients work through their gc- keys and don't know about Gonka — for them, it's your service.
Why is this needed
Without Management Keys, you would give one API key to all clients — without cost control, without isolation, without analytics. Management Keys solve 4 problems:
| Problem | How it solves |
|---|---|
| Cost control | Daily and monthly limit in GNK for each child key |
| Temporary access | TTL (expires_at) — key is automatically deactivated |
| Client isolation | Each client with their own gc- key and rate limit |
| Unified billing | All child keys deduct from your balance — one account |
How to create a Management Key
Step 1: Register at gate.joingonka.ai and top up your GNK or USDT balance.
Step 2: Create a management key via API:
curl -X POST https://gate.joingonka.ai/api/management/keys \
-H "Authorization: Bearer YOUR_JWT" \
-H "Content-Type: application/json" \
-d '{"name": "My SaaS"}'The response contains a plain key (prefix gm-) — save it, it is only shown once.
Step 3: Create a child key for a client:
curl -X POST https://gate.joingonka.ai/api/management/keys/{gm_key_id}/children \
-H "Authorization: Bearer YOUR_JWT" \
-H "Content-Type: application/json" \
-d '{"name": "Client A", "limit_daily_ngonka": "1000000000", "rate_limit_rpm": 30}'Client A receives a gc- key with a limit of 1 GNK/day and 30 requests/minute.
Limits and TTL
Each child key supports three types of restrictions:
- Daily limit (limit_daily_ngonka) — maximum spending per UTC day. Resets automatically at UTC midnight.
- Monthly limit (limit_monthly_ngonka) — maximum for a calendar month.
- TTL (expires_at) — key expiration date/time. After this moment, the key stops authenticating.
If the daily or monthly limit is exceeded, the client receives an HTTP 402 with details:
{"error": {"type": "child_key_limit", "daily_remaining": "0", "monthly_remaining": "500000000"}}All limits are optional — if not specified, the key is limited only by the owner's balance.
Managing child keys
Full CRUD via API:
| Operation | Endpoint | Description |
|---|---|---|
| Create | POST /api/management/keys/:id/children | New gc- key with limits |
| List | GET /api/management/keys/:id/children | All child keys with usage |
| Update | PATCH /api/management/keys/:id/children/:childId | Change limits, RPM, status |
| Delete | DELETE /api/management/keys/:id/children/:childId | Soft deactivation |
Management is also available through the Dashboard: API Keys → Management Keys section.
Comparison with competitors
| Feature | JoinGonka | GonkaGate | OpenRouter |
|---|---|---|---|
| Management keys | gm- / gc- | gpm- (March 2026) | No |
| Daily/monthly limits | GNK (nGNK) | USD | — |
| TTL (expiration time) | expires_at | No | — |
| Dashboard UI | Yes (Keys section) | No | — |
| Referrals | 10% L1 + 3% L2 | No | No |
| Inference price | $0.001/1M | ~$0.0035/1M | $0.08+/1M |
JoinGonka is the only Gonka gateway with GNK limits, TTL, and Dashboard UI for management keys.