EN ▾
Get API key

Grok API Key: the options compared

A grok api key grants programmatic access to the Grok model, but if you need an uncensored alternative that runs standard OpenAI client code without content refusals, our hosted API is a direct drop-in replacement. This guide explains how API keys work for Grok and how to configure your own uncensored key for immediate use.

Grok API Key: the options compared

Updated

No card needed. After sign-up, claim $0.50 of free test credit with one click (once per person).

Key points

  • API keys authenticate your requests and track usage for billing.
  • Our API supports standard OpenAI SDKs with a simple base URL change.
  • Pricing is transparent, prepaid, and charged strictly by token volume.
  • The model refuses only one specific hard limit: sexual content involving minors.

Why Use an Uncensored Grok API Key?

When developers switch from a chat interface to a programmatic interface, the primary goal is usually control. A grok api key allows you to automate content generation, run batch jobs, or integrate the model into a larger application. However, standard models often include layers of safety filtering that may reject lawful adult content, controversial topics, or creative writing that pushes boundaries.

An uncensored LLM API removes these artificial refusals. Instead of the model saying 'I can't answer that' for a valid request, it generates the text based on its training data. This is critical for developers who want predictable outputs without wrestling with prompt engineering to bypass filters.

We provide a pure, code-first REST API. You do not get a chat website or a subscription; you get a key that works with your existing client code. This approach reduces overhead and gives you direct access to the model's raw capabilities.

Understanding the API Key Format

API keys are the credential that identifies your account to the server. In the context of an openai compatible api, the key is a string that you pass in the HTTP header of your requests.

Our keys follow a standard format, typically starting with a prefix like 'sk-'. When you generate a key, it is shown to you exactly once. If you lose it, you can generate a new one, which will invalidate the previous key.

FeatureDescription
IdentificationUnique string tied to your account
SecurityTreated like a password; keep it private
ReplacementOne active key per account; new key replaces old
UsageTracked for billing and rate limits

Never share your key in public repositories. If you suspect it has been compromised, generate a new one immediately from the dashboard.

Step 1: Create Your Account

Getting started requires minimal friction. We do not require a phone number or a credit card for the initial setup. You can sign up using 'Continue with Google' or by providing an email and password.

  • Privacy: An account needs only an email address. We do not use your prompts for training data.
  • Verification: Email verification is standard to prevent abuse.
  • Trial Credit: New users get $0.50 of trial credit, one per person. This is valid for 7 days and requires no card on file. Claim this credit with one click on your API key page.

This trial allows you to test the API without financial commitment. It is enough to run several hundred requests, which is sufficient to verify that the model meets your needs before you top up.

Step 2: Retrieve Your Key

Once your account is created, you navigate to the 'Get API key' page. The system generates a key instantly. You will see it on the screen; copy it to your clipboard immediately.

The interface is designed for developers. There are no enterprise sales calls or complex onboarding forms. You have the key, and you can start coding. If you need a new key later, generating one will revoke the previous one, ensuring that only one active key exists per account at any time.

This simplicity extends to billing as well. There are no monthly fees or subscription tiers. You pay for what you use, and any unused prepaid credit never expires.

Step 3: Configure Your Client

To use our uncensored grok API, you need to point your existing OpenAI SDK to our base URL. This is the core of the 'drop-in' experience. You do not need to rewrite your application logic.

The base URL is: https://api.uncensoredgrok.cc/v1. You also need to set the model ID to uncensored. This tells the server which model to run.

Most SDKs allow you to override the base URL and the API key. For example, in Python, you would initialize the client with these parameters. The model ID is critical; if you send the wrong model, you may get an error or a different model if the server supports multiple.

This configuration works with any client that supports the OpenAI chat-completions format. It is not limited to Python; it works with Node.js, Go, and other languages that support HTTP requests.

Step 4: Test with Standard SDKs

Verification is the best way to ensure your integration is correct. You can send a simple request to the /v1/chat/completions endpoint.

The request should include the model ID, the user message, and any optional parameters like temperature or top_p. The response will be in JSON format, containing the generated text.

We support streaming via Server-Sent Events (SSE). This is useful for real-time applications where you want to display tokens as they are generated. The last chunk of the stream includes the token usage for the request.

If you encounter errors, check the status code. A 401 error usually means the key is invalid or missing. A 429 error means you have hit the rate limit.

Pricing Your API Key Usage

Our pricing is straightforward and transparent. We charge based on real token usage. Errors and refusals are free, so you do not pay for failed requests.

  • Input Tokens: $0.15 per 1M tokens
  • Output Tokens: $0.50 per 1M tokens

You top up your account with prepaid credit. The minimum top-up is $20, and the maximum is $500. We accept crypto only: USDT on the TRC20 network or USDC on the Base network.

There are no hidden fees. If you top up $100, you get 10% bonus credit. This bonus is added to your balance and used for requests just like real credit. There is no expiration date on your prepaid balance.

Troubleshooting Common Errors

Even with a reliable API, errors can occur. Understanding them helps you debug faster.

401 Unauthorized

Your API key is missing, incorrect, or has been revoked. Check your configuration and ensure you are using the latest key.

429 Too Many Requests

You have exceeded the rate limit. We allow 300 requests per minute per key and 8 concurrent requests. If you hit this limit, wait a few seconds before retrying.

400 Bad Request

The request body is malformed. Check the JSON structure and ensure all required fields are present. The request body must not exceed 8 MB.

500 Internal Server Error

A temporary issue on our side. Retrying the request usually resolves it.

Questions and answers

Is the model the same as Grok?

No. Our model is an open-weight model run on our own servers. It is tuned for uncensored responses but is not GPT, Claude, Gemini, Grok, DeepSeek, Qwen, or Llama. It is a distinct model designed to answer without content refusals for lawful adult use.

Can I use a credit card to pay?

No. We accept crypto only. You can top up with USDT on the TRC20 network or USDC on the Base network. The minimum top-up is $20, and the maximum is $500.

What is the context window size?

The model supports a context window of 100,000 tokens, which includes both the prompt and the completion. There is no separate output cap per request, and if max_tokens is not set, the response can run to the end of the window.

Do you store my prompts?

We do not use your prompts for training data. Your privacy is protected, and we do not sell your data. An account only requires an email address.

Your key is one form away

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