EN ▾
Get API key

Uncensored API, transparent billing.

https://api.grokunrestricted.cc/v1

Grok Unrestricted: Grok API Key: setup, costs and alternatives

This guide explains how to manage your Grok Unrestricted API key, resolve common errors, and understand the prepaid crypto billing model. You will learn why your key might trigger rate limits, how to handle token overflow, and what to do when your prepaid credit runs out or gets double-charged.

Grok Unrestricted: Grok API Key: setup, costs and alternatives

Updated

Understanding Your API Key

Your API key is a unique identifier that authenticates your requests to our hosted service. Unlike traditional subscriptions that tie you to a specific vendor's ecosystem, this key grants you access to our uncensored large language model via an OpenAI-compatible interface. The key is generated immediately after you sign up using either Google authentication or an email and password combination. No phone number verification is required, and no credit card is needed to obtain the initial trial credit.

Each account is strictly limited to one active API key. If you generate a new key, the previous one is immediately invalidated. This design simplifies security and billing tracking. Your key does not grant access to other models or services; it is a dedicated utility credential for text generation only. Keep your key secure, as anyone with the key can consume your prepaid credit. You can view your current key on the dashboard, but it is shown only once during creation.

Rate Limit Errors (429)

A 429 error indicates that you have exceeded the allowed request volume for your API key. Our infrastructure enforces two distinct limits to ensure fair usage: 300 requests per minute and 8 concurrent requests at any given time. If you are sending a burst of requests, you may hit the per-minute cap. If you are processing long streams or multiple parallel jobs, you may hit the concurrency cap.

To resolve this, implement exponential backoff in your client code. Check the X-RateLimit-Remaining header in the response to see how many requests you have left in the current window. If you are using a single key for multiple services, consider that all traffic counts against the same limits. Since we do not offer tiered plans, the only way to increase throughput is to manage your request volume more carefully or split your workload across different accounts if you have multiple registered emails.

Token Limit Exceeded (413)

The 413 error occurs when your request body exceeds the maximum allowed size or when the total token count surpasses our context window. Our model supports a total context window of 100,000 tokens, which includes both the input prompt and the generated completion. If your prompt alone is close to this limit, you may not have enough room for a meaningful response.

Additionally, the maximum request body size is 8 MB. If you are sending large base64-encoded data or very long text strings, you may hit this byte limit before the token limit. To avoid this, truncate your input history or use a more efficient tokenization strategy. Note that if you do not specify max_tokens, the response can run to the end of the window. However, if you request a very long output that pushes the total over 100,000 tokens, the request will be rejected.

Streaming vs Non-Streaming Errors

When using streaming mode, the API returns a series of Server-Sent Events (SSE). Errors can manifest differently here than in non-streaming requests. If the connection drops prematurely, you may receive a partial response. The API does not support partial retries for streams; if a stream fails, you must restart the request from the beginning. This is a standard behavior for SSE connections over unstable networks.

Ensure your client library handles the done event correctly. If you are manually parsing the SSE stream, look for the final chunk, which contains the token usage statistics. If the stream ends abruptly without a usage summary, check your network stability. Our API does not guarantee order for concurrent streams, but each stream is independent. Do not assume that a partial stream contains valid final data; always wait for the completion event or the error event to determine the outcome.

Authentication Header Mistakes

The most common cause of 401 errors is a malformed or missing authentication header. You must include the Authorization: Bearer YOUR_API_KEY header in every request. Ensure there are no leading or trailing spaces in the key. If you copied the key from your dashboard, verify that it matches exactly.

Another common mistake is using the wrong base URL. The correct endpoint is https://api.grokunrestricted.cc/v1. If you are using the official OpenAI SDK, you must explicitly set the base_url parameter. Sending requests to the default OpenAI endpoint will result in a 404 or 401 error because our key is not valid there. Also, ensure you are using the correct model ID, which is uncensored, not gpt-4 or grok-1.

Billing & Credit Exhaustion

Our billing model is purely prepaid. You top up your account with crypto, and credit is deducted based on actual token usage. Errors and refusals are free, so you are not charged for failed requests. However, if your credit reaches zero, your API key becomes inactive, and all subsequent requests will return a 402 error. There is no grace period; the key stops working immediately.

Credit never expires, so you can top up whenever you need. The minimum top-up amount is $20, and the maximum is $500. You can receive bonus credit for larger top-ups: +5% from $50, +10% from $100, +15% from $200. This makes bulk top-ups more cost-effective. You can monitor your balance in real-time on the dashboard. If you are using a client library that caches credentials, ensure it refreshes the API status when it receives a 402 error.

Double Charge Fixes

Double charges can occur if a payment transaction is processed twice by the crypto network or if your client retries a payment request without idempotency. Since credit is prepaid and does not expire, having extra credit is not a financial loss. However, if you believe you were charged incorrectly, you can resolve this through the Support page.

Provide your account email and the transaction hash from your crypto wallet. Our team will review the transaction and adjust your balance if necessary. Note that we do not refund credit to external wallets; adjustments are made internally. Keep your transaction records handy. If you used a different wallet address for the second charge, make sure to mention that in your support ticket to help us identify the duplicate payment.

Key Rotation & Regeneration

Since each account has only one active API key, rotating your key means generating a new one. When you click 'Generate New Key' on the dashboard, the old key is immediately invalidated. Any requests sent with the old key will fail with a 401 error. This is a security feature to prevent unauthorized use if a key is leaked.

To minimize downtime during rotation, update your client configuration before generating the new key if possible. If you are using environment variables, update them after generating the new key. Remember that the new key is shown only once, so save it securely. There is no limit to how many times you can rotate your key, but each rotation invalidates the previous one. This is useful if you suspect a key has been compromised.

Support & Contact

For technical issues, billing discrepancies, or general questions, use the Support page linked in the dashboard. This is the primary channel for assistance. We do not offer live chat or phone support, so responses may take some time depending on volume. Please include your account email and a detailed description of the issue.

For billing issues, include transaction hashes. For API errors, include the request ID if available. For general inquiries, you can also email us directly. We aim to resolve critical issues quickly, but please be patient with complex billing disputes that require manual verification. Our support team is available to help you work through the prepaid model and troubleshoot your integration.

Questions and answers

Is my API key tied to a specific model?

Yes, your API key is tied to our specific uncensored model. It will not work with other providers' APIs. The model ID is 'uncensored', and it is an open-weight model run on our servers, not a Grok or GPT model.

What happens if I run out of credit?

Your API key becomes inactive, and all requests will return a 402 error. You can top up again at any time, and the credit will be available immediately. There is no penalty for running out of credit.

Can I use multiple API keys for one account?

No, each account is limited to one active API key. If you generate a new key, the old one is immediately invalidated. You cannot have multiple active keys for the same account simultaneously.

How do I get a refund if I was double-charged?

Credit is not refunded to external wallets. If you were double-charged, contact Support via the Support page with your transaction details. We will adjust your internal balance to correct the error.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API key