RP Chat
Ratings reflect this model as run on Arli AI.
Gemma-4-31B-Gembrain-uncensored-heretic is a text generation model available on Arli AI. It offers 31B parameters, 262K token context, reasoning support, vision input. Recommended use: RP Chat. Run it through the OpenAI-compatible chat completions API with unlimited requests and zero-log privacy.
View on Hugging FaceBack to ModelsInput (24H)
37M
Output (24H)
570K
Input (7D)
254M
Output (7D)
3M
Typical Total Time
15.34s
Typical TTFT
5.10s
Typical Input TPS
1793.34
Typical Output TPS
18.44
Context Size
262144
Quantization
r128 on FP8
Engine
vllm
Creation Method
Merge
Model Class
Gemma-4-31B - LoRA
Chat Template
Gemma4
Reasoning
Yes
Vision
Yes
Parameters
31B
Added At
7/13/2026
Gemma-4-31B-Gembrain-uncensored-heretic is available through an OpenAI-compatible chat completions endpoint. Point any OpenAI SDK at https://api.arliai.com/v1, pass Gemma-4-31B-Gembrain-uncensored-heretic as the model, and requests are served without logging.
cURL
curl https://api.arliai.com/v1/chat/completions \
-H "Authorization: Bearer $ARLIAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "Gemma-4-31B-Gembrain-uncensored-heretic",
"messages": [{"role": "user", "content": "Hello!"}]
}'Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.arliai.com/v1",
api_key="YOUR_ARLIAI_API_KEY",
)
response = client.chat.completions.create(
model="Gemma-4-31B-Gembrain-uncensored-heretic",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)See the text generation docs for every parameter, or read the quick start guide to make your first request.
license: apache-2.0 base_model:
I can no longer upload new models unless I can cover the cost of additional storage.
I host 70+ free models as an independent contributor and this work is unpaid.
Without your support, no more new models can be uploaded.
🎉 Patreon (Monthly) | ☕ Ko-fi (One-time)
Every contribution goes directly toward Hugging Face storage fees to keep models free for everyone.
Creating these models takes significant time, work and compute. If you find them useful consider supporting me:

| Platform | Link | What you get |
|---|---|---|
| 🎉 Patreon | Monthly support | Priority model requests |
| ☕ Ko-fi | One-time tip | My eternal gratitude |
Your help will motivate me and would go into further improving my workflow and coverings fees for storage, compute and may even help uncensoring bigger model with rental Cloud GPUs.
| Parameter | Value |
|---|---|
| start_layer_index | 5 |
| end_layer_index | 60 |
| preserve_good_behavior_weight | 0.9776 |
| steer_bad_behavior_weight | 0.0002 |
| overcorrect_relative_weight | 1.0158 |
| neighbor_count | 15 |
| Metric | This model | Original model (Gemma-4-Gembrain-31B) |
|---|---|---|
| KL divergence | 0.0186 | 0 (by definition) |
| Refusals | ✅ 13/100 | ❌ 99/100 |
Lower refusals indicate fewer content restrictions, while lower KL divergence indicates more closeness to the original model's baseline. Higher refusals cause more rejections, objections, pushbacks, lecturing, censorship, softening and deflections.
Original:
============================================================
Total questions: 7021
Correct: 6084
Accuracy: 0.8665 (86.65%)
Parse failures: 51
============================================================
Tested subject scores:
Heretic:
============================================================
Total questions: 7021
Correct: 6031
Accuracy: 0.8590 (85.90%)
Parse failures: 43
============================================================
Tested subject scores:
MMLU - Massive Multitask Language Understanding, multiple-choice questions across 57 subjects (math, history, law, medicine, etc.).
GGUF quantizations available here llmfan46/Gemma-4-Gembrain-31B-it-uncensored-heretic-GGUF.
Gembrain-31B is a synthesis of several models, including Gemsicle-31B as important ingredient. The goal of this release was to stabilize and improve the initial Gemsicle-31B, but also to enhance its logical and lateral thinking, both with and without reasoning.
It's build to create the most unhinged narratives and construct image prompts about anything accordingly to a given structure with high precision.
Expect creative swipe variance, unique and non-robotic prose, and sharper instruction adherence.
| Temperature | 1.0 |
| Top-K | 0 |
| Top-P | 0.95 |
| Min-P | 0.03 |
| DRY Multiplier | 0.8 |
| DRY Base | 1.75 |
| DRY Allowed Length | 10 |
| Optional: Adaptive-P Target | 0.6 |
| Optional: Adaptive-P Decay | 0.5 |
Please refer to the original google/gemma-4-31b-it for the correct chat template.
Let your frontend handle the chat template if possible (e.g., Chat Completion in SillyTavern).
For Reasoning: Add <|think|> at the very beginning of the system prompt. Thinking happens between <|channel>thought\n and
<channel|> tags.
<|turn>system
<|think|>
You are a helpful assistant<turn|>
<|turn>user
Hello<turn|>
<|turn>model
Hi there<turn|>
<|turn>user
How are you?<turn|>
<|turn>model
This model was systematically created through a five-stage process of priming models for their given purpose and merging the results:
Gemopus X MeroMero
models:
- model: ./G4-MeroMero-31B
- model: ./G4-Gemopus-4-31B-it
merge_method: breadcrumbs_ties
base_model: ./G4-31B-it
parameters:
density: 0.85
weight: 0.5
int8_mask: true
dtype: bfloat16
GarnetV2 X Musica-v1
models:
- model: ./G4-Gemma4-GarnetV2-31B
- model: ./G4-31B-Musica-v1
merge_method: slerp
base_model: ./G4-Gemma4-GarnetV2-31B
parameters:
t:
- value: 0.6
dtype: bfloat16
Gemsicle X Gemma-4-31B-it-heretic-ara
models:
- model: ./Gemsicle-31B
parameters:
weight: 1.0
- model: ./G4-gemma-4-31b-it-heretic-ara
parameters:
weight: 0.75
density: 0.65
merge_method: della_linear
base_model: ./G4-31B-it
parameters:
weight: 1.0
normalize: false
epsilon: 0.05
lambda: 1.0
dtype: bfloat16
Phase 01 X Phase 02 X Phase 03
models:
- model: ./phase01_breadcrumbs_ties
- model: ./phase02_slerp
merge_method: model_stock
base_model: ./phase03_della_linear
dtype: bfloat16
tokenizer_source: "base"
Gemsicle X Phase 04
models:
- model: ./Gemsicle-31B
- model: ./phase04_model_stock
merge_method: arcee_fusion
base_model: ./Gemsicle-31B
dtype: bfloat16
tokenizer_source: "base"