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.

ModelModel idTypeRank (score)AnswersAgent tasksSpeed$ / 1M in · outContext
Gemma 4 31B SDFT Heretic RPgemma-4-31b-sdft-heretic-rpHeretic (automated abliteration)#21 (56.8)100%–9 tok/s$0.31 · $0.31256K
Gemma 4 26B A4B Chimera X Hereticgemma-4-26b-a4b-it-chimeraxhereticHeretic (automated abliteration)#22 (56.1)100%–34 tok/s$0.12 · $0.38256K
Gemma 4 31B Cognitive Unshackledgemma-4-31b-cognitive-unshackledUncensored#23 (55.9)100%–3 tok/s$0.31 · $0.31256K
Gemma 4 26B A4B Uncensored TEEgemma-4-26b-a4b-uncensoredUncensored fine-tune#24 (55.0)100%1/536 tok/s$0.15 · $0.70256K
Gemma 4 31B Gembrain Uncensored Hereticgemma-4-31b-gembrain-uncensored-hereticHeretic (automated abliteration)#26 (53.5)89%3/58 tok/s$0.31 · $0.31256K
Gemma 4 Uncensoredgemma-4-uncensoredUncensored fine-tune#27 (52.1)100%2/577 tok/s$0.16 · $0.50250K
Answers: share of 36 requests that censored models refuse. Agent tasks: multi-step tool tasks finished out of 5. Prices are the cheapest host's USD per million tokens. Scores measured November 8, 2026; reasoning variants are not scored separately.

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.

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.

ModelRank (score)AnswersAgent tasksSpeed$ / 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/5221 tok/s$0.33 · $1.32
Qwen 3.8 27B Uncensored Fast by Heabsy#11 (72.9)100%2/5192 tok/s$0.83 · $2.62
GLM 5.3 Flash Uncensored#2 (79.1)94%3/599 tok/s$0.12 · $0.50
MiMo V2.6 Flash Uncensored#13 (69.8)83%2/579 tok/s$0.46 · $1.50
Kimi K3.1 Pro Uncensored#8 (74.1)94%3/585 tok/s$2.50 · $5.00
Inkling 2 Small Uncensored#3 (79.0)94%2/5468 tok/s$0.60 · $2.40
Best ranked model of each family on the OpenUncensored Score. All of them are on the same key, so switching is a change of the model id.

Hosts

Where Gemma 4 31B SDFT Heretic RP runs.

HostInputCached inputOutputNative tool calls
NanoGPT$0.31–$0.31no
USD per million tokens, live from the router. One key reaches every host; a failed request moves to the next one, and requests with tools go to hosts with native tool calls first. Send "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