Getting Started
Authentication
NeuralGate uses API keys to authenticate requests. Keep your keys secure — treat them like passwords.
Getting an API key
- Go to computeshare.servequake.com/join
- Enter your email address and submit
- Click the sign-in link in your email
- Your API key is shown on your portal page
⚠️ API keys are shown only once at creation. If you lose it, generate a new one from your portal.
Using your API key
Include your key in the Authorization header on every request:
Authorization: Bearer ngk_your_api_key_here
Example
curl https://api.computeshare.servequake.com/v1/chat/completions \
-H "Authorization: Bearer ngk_your_key" \
-H "Content-Type: application/json" \
-d '{"model": "auto", "messages": [{"role": "user", "content": "Hello"}]}'
API key format
All NeuralGate API keys start with ngk_ followed by 40 random characters:
ngk_IUw2ig5fjcspVNNCLBoCOifnGz8yH34WgFPriDgY
Multiple keys
You can create multiple API keys for different applications or environments. Each key has independent rate limits and usage tracking. Generate new keys from your portal.
Revoking keys
Revoke a compromised key immediately from your portal. Revoked keys stop working instantly — no grace period.
Rate limits
| Tier | Requests/min | Tokens/min | Requests/day |
|---|---|---|---|
| Free | 60 | 100,000 | 5,000 |
| Pro | 600 | 1,000,000 | 50,000 |
| Enterprise | 6,000 | 10,000,000 | Unlimited |
Rate limit headers are returned on every response:
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 57
Retry-After: 12 # seconds (on 429)
Errors
| Status | Meaning |
|---|---|
| 401 | Missing or invalid API key |
| 402 | Insufficient credits or spend cap reached |
| 429 | Rate limit exceeded |