EN ▾
gemma4api.comGet API key

Uncensored OpenAI-compatible API alternative

uncensored LLM API for lawful adult use

A single, uncensored model endpoint that works with existing OpenAI SDKs. Replace your base URL and continue using the same client code.

  • 100k context window
  • $0.15 input / $0.50 output per 1M tokens
  • No card required for trial

Get API keyRead the docs

Try it in one request

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

What you get

Drop-in SDK Support

Use the official OpenAI Python or Node SDKs. Change one base URL variable and start sending requests immediately.

True Uncensored Behavior

The model answers without refusals for lawful adult, fictional, or controversial topics. Only minor sexual content is blocked.

Streaming & Tools

Supports Server-Sent Events for streaming responses and standard function calling for tool integration.

Transparent Pricing

Pay only for tokens used. No monthly fees or subscriptions. Prepaid credit never expires.

Privacy First

Prompts are not used for training. Sign up with just an email and password.

Simple Limits

300 requests per minute per key. 8 MB request body limit. One key per account.

How it works

  1. Create Account

    Sign up with email and password to receive your API key instantly.

  2. Update Base URL

    Point your existing OpenAI SDK client to https://api.gemma4api.com/v1.

  3. Send Request

    Send a chat completion request using the model ID 'uncensored'.

What people build with it

Creative Writing

Generate stories and scripts without content filters blocking mature themes or complex narratives. Perfect for adult-oriented fiction.

Data Extraction

Parse large documents within the 100k context window. Get direct answers without refusals on sensitive but lawful data.

Roleplay Agents

Build chatbot personas that stay in character without breaking for minor policy violations. Ideal for immersive experiences.

Security Research

Test model outputs for jailbreaks or biases without standard refusals interfering with your analysis.

What is the Gemma API?

We provide a hosted API that serves one uncensored large language model. It is not Google's Gemma model, nor is it GPT, Claude, or any other vendor's model. It is an open-weight model tuned to answer without content refusals for lawful adult use. The API follows the OpenAI chat-completions format, making it a direct drop-in alternative for developers who want uncensored output without changing their client code.

Unlike aggregators that route requests across multiple models, we offer a single, dedicated endpoint. This ensures consistent behavior and transparent pricing. You send text in, and get text out. There are no embeddings, images, or video generation. This is a pure text API designed for developers who value direct control and uncensored responses.

Why Choose an Uncensored Model?

Standard models often refuse lawful content due to broad safety filters. Our model is tuned to answer controversial, adult, or niche topics without unnecessary refusals. This is critical for creative writing, roleplay, and research where context matters more than generic safety.

The only hard limit is sexual content involving minors. Everything else is fair game. This includes political topics, mature themes, and technical explanations that might trigger a standard model's filters. If you need raw, unfiltered output for lawful purposes, this API is built for that.

OpenAI SDK Compatibility

Our API is fully compatible with the official OpenAI SDKs. You only need to change two things: the base URL and the model ID. The base URL is https://api.gemma4api.com/v1. The model ID is 'uncensored'. All other parameters like messages, temperature, and tools work exactly as they do with OpenAI.

from openai import OpenAI

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

This means you can use your existing codebase with zero architectural changes. Streaming, function calling, and token counting all work as expected. If your code works with OpenAI, it will work here with a one-line change.

Who This Is NOT For

This is not for you if you need image generation, audio processing, or embeddings. We do not offer those capabilities. We also do not offer SLAs, certifications, or enterprise support contracts. If you need a specific vendor's model like GPT-4 or Claude, we are not that vendor. We are an independent service providing a single uncensored model. If you need model routing or fine-tuning, look elsewhere. We focus on simplicity: one model, one price, one endpoint.

Questions and answers

Is this Google's Gemma model?

No. We do not serve Google's Gemma model. We serve our own open-weight model that is uncensored and compatible with the OpenAI API format. The name 'gemma4api' is our service name, not a reference to Google's model.

How much does it cost?

Input tokens are $0.15 per 1M tokens. Output tokens are $0.50 per 1M tokens. There are no monthly fees or subscriptions. You pay for what you use with prepaid credit. Credit never expires.

Do I need a credit card?

No. You can sign up with just an email and password. New accounts get $0.50 in trial credit valid for 7 days. Claim this credit with one click on your API key page. No card is needed to start. You can add more credit later via crypto (USDT or USDC).

What is the context window size?

The context window is 100,000 tokens for both prompt and completion. This allows for long documents and extensive conversations in a single request.

Is my data used for training?

No. Your prompts and responses are not used for training. We only require an email and password for your account. Your data privacy is respected.

Your key is one form away

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

Get API key

Guides

Practical articles on setup, pricing and integration.

All guides →