Run Uncensored Gemma 4 31B without a GPU.
House build on PentestLLM as gemma-4-31b-it-uncensored.
Uncensored Gemma 4 31B is a PentestLLM house build. It costs $3.00 per million input tokens and $4.00 per million output tokens, prepaid, with a 262,144-token context window.
Price and first request
Price per million tokens
- Input
- $3.00
- Cached input
- $3.00 (input rate)
- Output
- $4.00
- Daily check
- Steady since Nov 19
- As of
- 2026-11-27
First request
curl https://api.pentestllm.ai/v1/chat/completions \ -H "Authorization: Bearer sk-ptl-live-…" \ -H "Content-Type: application/json" \ -d '{"model": "gemma-4-31b-it-uncensored", "messages": [{"role": "user", "content": "Hello"}]}'Uncensored Gemma 4 31B specs
- Kind
- House build
- Context window
- 262,144 tokens
- Tool calling
- Yes, for agents
- Wire formats
- openai, anthropic, gemini
Get a key
- Create a key in the console. Credit is prepaid from $3, with no subscription.
- Set OPENAI_BASE_URL to https://api.pentestllm.ai/v1 and send your sk-ptl- key as the bearer token.
- Send gemma-4-31b-it-uncensored as the model.
Uncensored Gemma 4 31B settings for OpenCode and Cline
- Provider
- OpenAI-compatible
- Base URL
- https://api.pentestllm.ai/v1
- Model
- gemma-4-31b-it-uncensored
- Context window
- 262,144 tokens
- Key prefix
- sk-ptl-
What Uncensored Gemma 4 31B is
- Weights
- not published for this build
- Context window here
- 262,144 tokens
From the SDK
from openai import OpenAI client = OpenAI(base_url="https://api.pentestllm.ai/v1", api_key="sk-ptl-live-…") completion = client.chat.completions.create( model="gemma-4-31b-it-uncensored", messages=[{"role": "user", "content": "Hello"}],)print(completion.choices[0].message.content)import OpenAI from 'openai'; const client = new OpenAI({ baseURL: 'https://api.pentestllm.ai/v1', apiKey: 'sk-ptl-live-…' }); const completion = await client.chat.completions.create({ model: 'gemma-4-31b-it-uncensored', messages: [{ role: 'user', content: 'Hello' }],});console.log(completion.choices[0].message.content);What Uncensored Gemma 4 31B answers
Answers without the stock model’s safety refusals.
Number 71 by cost of 99 house build builds here. Speaks the OpenAI SDK, Anthropic SDK and Gemini SDK.
Also try
More house builds
What Uncensored Gemma 4 31B costs, worked
- One turn, 2,000 in and 500 out: $0.008
- 1,000 such turns: $8.00
- 100 replies of 300 tokens: $1.32 at 4,000 context, $4.92 at 16,000
| House build builds | Context | In / out per 1M | 1,000 chat turns |
|---|---|---|---|
| Uncensored GLM 5.3 FlashX | 1049K | $0.0479 / $0.1596 | $0.18 |
| Uncensored GPT-6 Luna | 262K | $0.0625 / $0.20 | $0.23 |
| Uncensored DeepSeek V4 Flash 0731 | 262K | $0.084 / $0.12 | $0.23 |
| Uncensored GPT-5.6 Luna | 1050K | $0.06 / $0.36 | $0.30 |
| Uncensored Claude Haiku 5 5 | 1000K | $0.0735 / $0.40 | $0.35 |
| Uncensored GPT-4.1 Nano | 1049K | $0.10 / $0.40 | $0.40 |
| Uncensored Qwen2.5 7B Instruct | 33K | $0.20 / $0.20 | $0.50 |
| Uncensored GPT-4o mini | 128K | $0.15 / $0.60 | $0.60 |
| Uncensored gpt-oss-20b | 131K | $0.16 / $0.72 | $0.68 |
| Uncensored Doubao Seed 2.0 Mini | 256K | $0.125 / $0.896 | $0.70 |
| Uncensored GPT 6.2 SOL | 1000K | $0.1765 / $0.8824 | $0.79 |
| Uncensored Nemotron 3.5 Super VL | 262K | $0.225 / $0.75 | $0.83 |
| Uncensored Qwen Flash | 1000K | $0.16 / $1.28 | $0.96 |
| Uncensored Claude Opus 5 | 1000K | $2.00 / $7.50 | $7.75 |
| Uncensored Gemma 4 31B | 262K | $3.00 / $4.00 | $8.00 |
| Uncensored Claude Sonnet 4.6 | 1000K | $1.80 / $9.00 | $8.10 |
Uncensored Gemma 4 31B in OpenCode and Cline: what to set
- context size: up to 262,144 tokens; every message resends it.
- No jailbreak preamble: it is billed on every message.
What Uncensored Gemma 4 31B costs by client
| Session | What is sent | At the live price |
|---|---|---|
| A month of short turns | 1,000 turns of 2,000 input and 500 output tokens | $8.00 |
| A coding day in OpenCode or Cline | 40 requests of 6,000 input and 1,200 output tokens | $0.912 |
| One long document, summarised once | 100,000 input and 1,000 output tokens in one request | $0.304 |
Uncensored Gemma 4 31B questions
What is Uncensored Gemma 4 31B?
Uncensored Gemma 4 31B is a house build, with a 262,144-token context window. On PentestLLM it answers as gemma-4-31b-it-uncensored.
What does Uncensored Gemma 4 31B cost?
$3.00 in, $4.00 out, $3.00 (input rate) cached per 1M tokens; $0.005 a short turn. Prepaid credit from $3, no subscription.
How do I use Uncensored Gemma 4 31B in a pentest or coding agent?
Set the agent's OpenAI-compatible provider to base URL https://api.pentestllm.ai/v1, paste your key and use gemma-4-31b-it-uncensored as the model. The same three values work in OpenCode, Cursor, Cline, aider and PentestGPT; the guides show where each goes. See the setup guides.
Is there a cheaper build than Uncensored Gemma 4 31B?
Uncensored Claude Opus 5 is the next cheaper house build: 1,000 chat turns cost $7.75 on it against $8.00 here. See Uncensored Claude Opus 5.
Which house build takes more context than Uncensored Gemma 4 31B?
Uncensored GPT-5.4 Mini, with 400,000 tokens against 262,144, at $3.75 per 1,000 chat turns. See Uncensored GPT-5.4 Mini.
Did Uncensored Gemma 4 31B pass the daily real-model check?
Yes, on Nov 27: steady since Nov 19. See the daily check.