Google: Gemma 4 31B Heretic TEEAPI pricing
Gemma 4 31B Heretic TEE is an uncensored 31B-parameter language model based on a Google model.
- Price per 1M tokens
- $0.12 / $0.37input / output
- Cached input
- $0.012per 1M tokens
- Context
- 131K tokens65K max output
- Providers
- 1
Providers
1 provider ·
131K context · 65K max output
Supported parameters 12
- Sampling
temperaturetop_pseedlogit_bias- Penalties
presence_penalty- Output
stopresponse_formatstructured_outputs- Tools
toolstool_choice- Reasoning
reasoninginclude_reasoning
Routing
A request picks by price (:floor) or by speed (provider.sort, :nitro), or sets a floor on tokens per second. How routing works
Supported parameters
Open a provider for the parameters it supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; provider.require_parameters sends a request only to providers that support every parameter it sets. Required parameters
Price history
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/gemma4-31b-heretic", "messages": [{ "role": "user", "content": "Hi" }] }'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/gemma4-31b-heretic",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/gemma4-31b-heretic",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);Call Gemma 4 31B Heretic TEE with the OpenAI SDK: point it at https://api.opencheap.si/v1 and pass the model id opencheap/gemma4-31b-heretic; the rest of your code stays the same.
About Gemma 4 31B Heretic TEE
- Example request
- $0.001610,000 in + 1,000 out
- Endpoint
https://api.opencheap.si/v1- Model id
Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in usage.cost. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.
Pricing in words
Gemma 4 31B Heretic TEE costs from $0.12 per 1M input tokens and $0.37 per 1M output tokens on OpenCheap, with cached input at $0.012 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0016, and 1,000 such requests about $1.57.
One provider serves Gemma 4 31B Heretic TEE on OpenCheap today. Its context window is 131K tokens (131,072), room for roughly 98,000 words of English in one request.
Gemma 4 31B Heretic TEE is one of 102 Google models on OpenCheap.
Prices as of 2026-12-04 11:48 UTC.
Pricing questions
How much does the Gemma 4 31B Heretic TEE API cost per 1M tokens?
Gemma 4 31B Heretic TEE costs from $0.12 per 1M input tokens and $0.37 per 1M output tokens on OpenCheap, with cached input at $0.012 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.
What does one Gemma 4 31B Heretic TEE request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0016, and 1,000 such requests about $1.57. Every answer reports its own cost in usage.cost.
Which providers serve Gemma 4 31B Heretic TEE?
One provider serves Gemma 4 31B Heretic TEE on OpenCheap today. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.
What is the context window of Gemma 4 31B Heretic TEE?
Its context window is 131K tokens (131,072), room for roughly 98,000 words of English in one request.
How do I call the Gemma 4 31B Heretic TEE API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/gemma4-31b-heretic. One OpenCheap key works for every model; the rest of your code stays the same.
More from Google
- Gemma 4 26B A4B Itgemma-4-26b-a4b$0.01 / $0.03 per 1M · 262K context
- Gemma 4 31B Itgemma-4-31b$0.012 / $0.036 per 1M · 262K context
- google/gemma-3-27b-itgemma-3-27b$0.02 / $0.05 per 1M · 131K context
- Gemini 3.5 Flashgemini-3.5-flash$1.50 / $9.00 per 1M · 1M context
- DiffusionGemmadiffusiongemma$0.05 / $0.15 per 1M · 262K context
- Nano Banana (Gemini 2.5 Flash Image)gemini-2.5-flash-image$0.32 / $2.63 per 1M · 32K context
- Gemini 2.5 Flash Litegemini-2.5-flash-lite$0.10 / $0.40 per 1M · 1M context
- Gemini 2.5 Flash Preview 05-20 (no think)gemini-2.5-flash-preview-05.20:nothink$0.30 / $2.50 per 1M · 1M context
Similar models
- Inkling 2 Mini Uncensored TEEThinking Machines · 262K context$0.10 / $0.40 per 1M
- Qwen 3.8 27B DarkIdolQwen · 262K context$0.10 / $0.60 per 1M
- DeepSeek V4 Pro Qwen3.5 9B Uncensored HereticDeepSeek · 32K context$0.28 / $0.28 per 1M9 % cheaper
- Apex Flash 1 AbliteratedZhipu · 1M context$0.15 / $0.50 per 1M
- Neural Daredevil 8B abliteratedmlabonne · 8.1K context$0.44 / $0.44 per 1M
- GLM 5.3 Flash AbliteratedZhipu · 262K context$0.24 / $0.88 per 1M
Compare Gemma 4 31B Heretic TEE with any model →Cheapest LLM API