EN ▾

Quickstart for Gemini users

Integrate our uncensored LLM API in under five minutes using standard OpenAI SDKs. This guide covers setup, basic requests, and streaming with zero configuration overhead.

Prerequisites & SDK Setup

To begin, you need an API key from the Get API key page. You can sign up with Google or an email and password. The key is displayed immediately. No phone number is required. You will use the standard OpenAI SDKs for your preferred language. The base URL for all requests is https://api.uncensoredgemini.com/v1. The model identifier is uncensored. This is a dedicated, single-model API. It is not an aggregator or a chat interface. You send text in and receive text out. The model is tuned for lawfully adult use and does not refuse controversial topics. It is not GPT, Claude, or Gemini. It is an open-weight model running on our infrastructure.

Basic Completion Request

The simplest way to test the API is a standard chat completion request. Use the POST /v1/chat/completions endpoint. Set the model to uncensored. Include your system and user messages. The API returns a text response. This is a drop-in replacement for other OpenAI-compatible endpoints. You only need to change the base URL and the API key. No other routing or app interfaces are involved. The response includes token usage statistics. Errors are free, so you only pay for actual tokens consumed.

Python SDK Integration

Using the official OpenAI Python library is the most common approach. Initialize the client with your API key and the custom base URL. This ensures all requests go to our uncensored infrastructure. The code structure is identical to standard OpenAI usage. You can pass parameters like temperature and top-p. The SDK handles the HTTP details for you. This method works for both synchronous and asynchronous applications. It is the recommended way for most Python developers to integrate the API. Ensure you are using a recent version of the SDK to support all features.

Node SDK Integration

For JavaScript and TypeScript developers, the Node SDK follows the same pattern. Configure the client with your API key and the base URL. This allows you to use familiar methods like chat.completions.create. The response structure matches the OpenAI standard. You can handle the response data directly in your application logic. This approach is ideal for web servers, CLI tools, or serverless functions. The SDK manages the connection pool and retries automatically. You can implement error handling to catch specific HTTP status codes.

Limits, Errors & Context

The context window is 100,000 tokens for the entire request. There is no separate output cap per request. If you do not set max_tokens, the response can run to the end of the window. You are allowed 300 requests per minute per key. You can have 8 concurrent requests at the same time. The request body limit is 8 MB. Use a 401 status code to indicate an invalid key. A 402 status means you have no credit. A 429 status indicates a rate limit. Errors and refusals are free. Credit never expires. You can top up with USDT or USDC.

cURL

curl https://api.uncensoredgemini.com/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."}]
  }'

Python

from openai import OpenAI

client = OpenAI(base_url="https://api.uncensoredgemini.com/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)

Node.js

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.uncensoredgemini.com/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);

Streaming

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)

What the API supports

The numbers below are the real limits of this API, not marketing. Compare them with what your app needs.

FeatureSupport
CompatibilityOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
Modeluncensored
API keyAuthorization: Bearer YOUR_KEY
Base URLhttps://api.uncensoredgemini.com/v1
EndpointsPOST /v1/chat/completions · GET /v1/models
Context window100,000 tokens (prompt + completion together)
Tools / tool callsSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
SSE streamingYes — server-sent events; the last chunk carries token usage
Sampling parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
Completion lengthup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
JSON moderesponse_format: {"type": "json_object"}
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Max bodyup to 8 MB per request
Rate limit300 requests per minute per key
Concurrency8 requests at the same time per key
How you payprepaid credit, charged by real token usage; errors and refusals are free
Credit expirypaid credit never expires, no subscription
Bonus credit+5% on $50+, +10% on $100+, +15% on $200+
PaymentUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
Free trial$0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Priceinput $0.15 / 1M tokens, output $0.50 / 1M tokens
Sign-insign in with Google or with e-mail + password
Keysone key per account, regenerate any time (the old one stops working)
Contentadult content allowed; sexual content involving minors is refused

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_blockedsexual content involving minors — refused, not billed
404not_foundonly /v1/chat/completions and /v1/models exist
413request_too_largebody over 8 MB
429rate_limited · concurrencyover 300/min or 8 parallel — back off and retry
503upstream_busytemporary overload, retry shortly

Questions and answers

Does this API support embeddings or image generation?

No. We offer a text-only chat-completions API. There are no embeddings, images, audio, or video generation endpoints. It is a dedicated single-model service for text input and output.

How do I pay for the API?

We accept crypto only. You can top up with USDT (TRC20) or USDC (Base). Any whole amount from $20 to $500 is accepted. No credit cards or PayPal are used for payments.

Is the model the same as Gemini or GPT?

No. This is an open-weight model run on our own servers. It is tuned for uncensored responses and is not GPT, Claude, Gemini, Grok, or any other vendor's model.

Your key is one form away

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

Get API key