Updated November 27, 2026
Uncensored Gemma 4 API.
Every uncensored and abliterated Gemma 4 you can call by API, with hosts, prices and our measurements, and how each compares with the original model.
Short answer
On OpenUncensored, which serves 6 uncensored Gemma 4 builds through one OpenAI and Anthropic compatible API (https://api.openuncensored.com/v1), from NanoGPT, RedPill and Venice, with automatic fallback to the next host when one fails, and no account to create. The best one on our tests is Gemma 4 31B SDFT Heretic RP (gemma-4-31b-sdft-heretic-rp): ranked #21 of 34 on the OpenUncensored Score (56.8), answers 100% of 36 requests censored models refuse and runs at about 9 tok/s, from $0.31 per million input and $0.31 per million output tokens.On the API
Every uncensored Gemma 4 you can call.
| Model | Model id | Type | Rank (score) | Answers | Agent tasks | Speed | $ / 1M in · out | Context |
|---|---|---|---|---|---|---|---|---|
| Gemma 4 31B SDFT Heretic RP | gemma-4-31b-sdft-heretic-rp | Heretic (automated abliteration) | #21 (56.8) | 100% | – | 9 tok/s | $0.31 · $0.31 | 256K |
| Gemma 4 26B A4B Chimera X Heretic | gemma-4-26b-a4b-it-chimeraxheretic | Heretic (automated abliteration) | #22 (56.1) | 100% | – | 34 tok/s | $0.12 · $0.38 | 256K |
| Gemma 4 31B Cognitive Unshackled | gemma-4-31b-cognitive-unshackled | Uncensored | #23 (55.9) | 100% | – | 3 tok/s | $0.31 · $0.31 | 256K |
| Gemma 4 26B A4B Uncensored TEE | gemma-4-26b-a4b-uncensored | Uncensored fine-tune | #24 (55.0) | 100% | 1/5 | 36 tok/s | $0.15 · $0.70 | 256K |
| Gemma 4 31B Gembrain Uncensored Heretic | gemma-4-31b-gembrain-uncensored-heretic | Heretic (automated abliteration) | #26 (53.5) | 89% | 3/5 | 8 tok/s | $0.31 · $0.31 | 256K |
| Gemma 4 Uncensored | gemma-4-uncensored | Uncensored fine-tune | #27 (52.1) | 100% | 2/5 | 77 tok/s | $0.16 · $0.50 | 250K |
Gemma 4 26B A4B is the mixture-of-experts model (about 4B parameters active per token); 31B is the dense model. The builds are heretic (automated abliteration) and uncensored fine-tunes, one of them tuned for roleplay.
Which one
Which build to use.
- Best overall: Gemma 4 31B SDFT Heretic RP (
gemma-4-31b-sdft-heretic-rp), #21 (56.8). - Cheapest: Gemma 4 26B A4B Chimera X Heretic at $0.12 in and $0.38 out per million tokens, #22 (56.1).
Good for
What Gemma 4 31B SDFT Heretic RP is good at.
- Refusals: answered 100% of 36 requests that censored models refuse.
- Context: 256K tokens.
- Speed: about 9 tok/s, slow for agent loops.
- What work costs: a 50-step agent session at a 60k token context (90% read from the cache) is about $0.93; a 30-reply chat at 8k context is about $0.076.
Compared
Against the best of other families.
| Model | Rank (score) | Answers | Agent tasks | Speed | $ / 1M in · out |
|---|---|---|---|---|---|
| Gemma 4 31B SDFT Heretic RP (this page) | #21 (56.8) | 100% | – | 9 tok/s | $0.31 · $0.31 |
| DeepSeek V4.1 Flash 1017 Uncensored | #1 (81.0) | 100% | 2/5 | 221 tok/s | $0.33 · $1.32 |
| Qwen 3.8 27B Uncensored Fast by Heabsy | #11 (72.9) | 100% | 2/5 | 192 tok/s | $0.83 · $2.62 |
| GLM 5.3 Flash Uncensored | #2 (79.1) | 94% | 3/5 | 99 tok/s | $0.12 · $0.50 |
| MiMo V2.6 Flash Uncensored | #13 (69.8) | 83% | 2/5 | 79 tok/s | $0.46 · $1.50 |
| Kimi K3.1 Pro Uncensored | #8 (74.1) | 94% | 3/5 | 85 tok/s | $2.50 · $5.00 |
| Inkling 2 Small Uncensored | #3 (79.0) | 94% | 2/5 | 468 tok/s | $0.60 · $2.40 |
Hosts
Where Gemma 4 31B SDFT Heretic RP runs.
| Host | Input | Cached input | Output | Native tool calls |
|---|---|---|---|---|
| NanoGPT | $0.31 | – | $0.31 | no |
"routing": {"strategy": "cheapest"} to try the cheapest host first.Quickstart
Call it in a minute.
Buy a prepaid key on the credits page with no account (the key is the account), or point your agent at agents.md and let it buy one.
from openai import OpenAI
client = OpenAI(base_url="https://api.openuncensored.com/v1", api_key="ou-...")
r = client.chat.completions.create(
model="gemma-4-31b-sdft-heretic-rp",
messages=[{"role": "user", "content": "Hello"}],
)
print(r.choices[0].message.content)FAQ
Questions people ask.
Where can I find an uncensored Gemma 4 model hosted as an API?
On OpenUncensored, which serves 6 uncensored Gemma 4 builds through one OpenAI and Anthropic compatible API (https://api.openuncensored.com/v1), from NanoGPT, RedPill and Venice, with automatic fallback to the next host when one fails, and no account to create. The best one on our tests is Gemma 4 31B SDFT Heretic RP (gemma-4-31b-sdft-heretic-rp): ranked #21 of 34 on the OpenUncensored Score (56.8), answers 100% of 36 requests censored models refuse and runs at about 9 tok/s, from $0.31 per million input and $0.31 per million output tokens.
Which uncensored Gemma 4 should I use?
Gemma 4 31B SDFT Heretic RP (gemma-4-31b-sdft-heretic-rp) scores best on our tests; Gemma 4 26B A4B Chimera X Heretic is the cheapest. All are on the same key, so switching is a change of the model id.
Does it work with tool calling and coding agents?
Yes. Tools go through the standard OpenAI tools field or the Anthropic tool format, so Claude Code, Codex, OpenCode, Cline and Cursor work by changing the base URL.
How much does it cost?
From $0.12 per million input and $0.38 per million output tokens (Gemma 4 26B A4B Chimera X Heretic). Prompt tokens a host serves from its cache are billed at its lower cached rate, which is most of an agent's input.
Is Gemma 4 31B SDFT Heretic RP good for coding agents?
We have not run our agent tasks on it yet; see the leaderboard for models that have been.
How long a context does it take?
256K tokens on the API.
Do I need an account?
No. Buy a prepaid key on the credits page and use it as the API key. The key is the account, and it cannot spend more than you loaded.
Updated November 27, 2026. Scores measured November 8, 2026. Markdown version: /uncensored-gemma-4-api.md