EN ▾
gemmaabliterated.ccUncensored API. Prepaid crypto. No fluff.
Get API key

Gemma Abliterated: First request in five minutes

Connect to the uncensored Gemma API in under five minutes using standard OpenAI SDKs. This guide covers the base URL, authentication, and core parameters for your first request.

Base URL & Authentication

Start by pointing your OpenAI-compatible client to our base URL: https://api.gemmaabliterated.cc/v1. You will need a valid API key from the Get API key page. The model identifier to use is uncensored. This is an open-weight model hosted on our servers, distinct from GPT, Claude, or other vendor offerings. Authentication is handled via the standard Authorization: Bearer <key> header. If the key is missing or invalid, the API returns a 401 error. Ensure your client library is configured to use the correct base URL to avoid connection failures.

First Request

Send a standard chat completion request to test connectivity. The following example uses the curl command-line tool. Replace <YOUR_API_KEY> with your actual key. The request specifies the model, the message content, and the system prompt. The API returns a text response based on the input. This confirms your integration is working correctly before you proceed to more complex parameters.

curl https://api.gemmaabliterated.cc/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Write a blunt product review of a cheap VPN."}]
  }'

Verify the response contains the generated text in the choices array. If you receive a 402 error, your prepaid credit has been exhausted. If you get a 429, you have exceeded the 300 requests per minute limit.

Python SDK Integration

Use the official openai Python library to integrate quickly. Initialize the client with your API key and the custom base URL. Set the model to uncensored. The following snippet demonstrates a simple text generation request. You can adjust the temperature and top_p parameters to control creativity. This approach works with any OpenAI-compatible SDK, making migration from other providers straightforward.

from openai import OpenAI

client = OpenAI(base_url="https://api.gemmaabliterated.cc/v1", api_key="YOUR_KEY")

resp = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Summarise this thread without softening it."}],
)
print(resp.choices[0].message.content)

Check the usage object in the response to track token consumption. Input tokens cost $0.15 per 1M, and output tokens cost $0.50 per 1M. Errors do not consume credit.

Node.js SDK Configuration

For JavaScript environments, use the openai Node.js package. Configure the base URL and API key in the client initialization. The model ID remains uncensored. This setup allows you to use standard Node.js async/await patterns for API calls. Ensure you handle potential errors gracefully, such as rate limits or insufficient funds.

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.gemmaabliterated.cc/v1", apiKey: process.env.API_KEY });

const resp = await client.chat.completions.create({
  model: "uncensored",
  messages: [{ role: "user", content: "Draft a villain monologue for my game." }],
});
console.log(resp.choices[0].message.content);

The response structure mirrors the standard OpenAI format. You can access the generated text via response.choices[0].message.content. This consistency allows you to reuse existing codebases with minimal changes.

Streaming Responses

Enable streaming by setting stream: true in your request. The API returns chunks of text as they are generated, allowing for lower latency perception. The final chunk includes the token usage statistics. This is ideal for real-time applications where you want to display text as it is produced. Streaming works with both the Python and Node.js SDKs.

stream = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Tell the story in second person."}],
    stream=True,
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)

Iterate over the stream to collect or display tokens. Remember that streaming does not reduce the token cost; you are still charged for the total tokens used in the prompt and completion.

Limits, Errors & Context Window

The context window supports up to 100,000 tokens for the combined prompt and completion. There is no separate output cap, and if max_tokens is unset the response can run to the end of the window. Rate limits are 300 requests per minute and 8 concurrent requests per key. Requests are limited to an 8 MB body. Errors include 401 for invalid keys, 402 for insufficient credit, and 429 for rate limits. Token usage is charged only for successful completions; refusals due to content policy (e.g., minor sexual content) are free.

Capabilities and limits

Everything the endpoint can and cannot do, in one place — check it before you top up.

FeatureSupport
CompatibilityOpenAI Chat Completions schema; official openai SDKs work unchanged
Base URLhttps://api.gemmaabliterated.cc/v1
EndpointsPOST /v1/chat/completions · GET /v1/models
API keyAuthorization: Bearer YOUR_KEY
Modeluncensored
Tools / tool callsYes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool
Completion lengthprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
SSE streamingYes — server-sent events; the last chunk carries token usage
Sampling parameterstemperature, top_p, stop, seed and the two penalties are passed through
Context window100,000 tokens, input and output combined
Structured outputresponse_format: {"type": "json_object"}
Requests per minute300 requests per minute per key
Max bodyup to 8 MB per request
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Parallel requestsup to 8 in parallel per key
Credit expiryno monthly fee; paid credit does not expire
Token prices$0.15 per 1M input tokens · $0.50 per 1M output tokens
Trial credit$0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Volume bonus+5% on $50+, +10% on $100+, +15% on $200+
PaymentUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
Billingprepaid credit, charged by real token usage; errors and refusals are free
Key managementone active key per account; a new key replaces the old one
Content policyadult content allowed; sexual content involving minors is refused
Sign-insign in with Google or with e-mail + password

Errors and what to do

Errors come back as JSON with a stable type; failed and refused requests are not billed.

HTTPTypeWhat to do
400bad_requestmalformed request or too long for the context window
401missing_key · invalid_key · key_revokedno key, wrong key, or a key replaced by a newer one
402no_creditout of credit; add credit and retry
403content_blockedrefused by the content policy
404not_foundonly /v1/chat/completions and /v1/models exist
413request_too_largerequest body larger than 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busymodel busy — retry in a few seconds

Questions and answers

Does the API support image or audio generation?

No. This is a text-only API. It serves one uncensored large language model for text in and text out. There are no embeddings, image, audio, or video generation endpoints.

How do I top up my credit?

Top-ups are by crypto (USDT on TRC20, USDC on Base). Minimum top-up is $20, maximum is $500. You receive a 5% bonus for top-ups of $50 or more, and 10% for $100 or more.

Is my data used for training?

No. Prompts sent to the API are not used for training. You only need an email address to create an account, and no phone number is required.

Your key is one form away

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

Start with trial credit

Email and password, key on screen right away.