Models / Uncensored / Google (community tune)
Gemma 4 31B Queen API pricing
$1.071 in, $1.071 out per million tokens.
Price · per million tokens, USD
Get a key| Tokens | Google (community tune) list price | UplinkSwitch | Saving |
|---|---|---|---|
| Input | — | $1.071 | — |
| Cached input | Billed at the input rate. | ||
| Output | — | $1.071 | — |
Gemma 4 31B Queen specs
- Context window
- 262,144 tokens
- Input
- text and image
Gemma 4 31B Queen: aifeifei798’s persona and roleplay Gemma · commanding character voices on Gemma 4 31B
Gemma 4 31B Queen is aifeifei798's tune of Google's Gemma 4 31B it (its card, created 2026-04-10). The card lists roleplay and dark roleplay, writing prompts, songs and quick responses among its uses, calls it specialized in role-playing scenarios, and says it is not abliterated. It ships a Dark Academia Queen system prompt and opens with a sealed-room logic puzzle it uses as a reasoning test. It is served as gemma-4-31b-queen at $1.071 input and $1.071 output per million tokens, one of 146 builds in the uncensored LLM API, on the same key as every other model. Added 2026-10-20.
| Gemma 4 31B Queen | |
|---|---|
| Base model | Gemma 4 31B it |
| Made by | aifeifei798 |
| Method | Persona and roleplay tune |
| License on the card | apache-2.0 |
| Context window here | 262,144 tokens |
| Downloads, 30 days to 2026-10-20 | 622 |
| Card | aifeifei798/Gemma-4-Queen-31B-it |
From the Hugging Face card and its API record, read 2026-10-20.
The card pairs its sample system prompt with temperature 0.8.
curl https://api.uplinkswitch.com/v1/chat/completions \
-H "authorization: Bearer sk-uplink-live-..." \
-H "content-type: application/json" \
-d '{"model":"gemma-4-31b-queen","max_tokens":1024,"messages":[{"role":"user","content":"Hello"}]}'Gemma 4 31B Queen next to the other uncensored models · per million tokens, live
A chat turn is 2,000 input and 500 output tokens. Live from the catalog, ordered by the cost of 1,000 turns.
Worked for Gemma 4 31B Queen: 1,000 turns are 2,000,000 input tokens and 500,000 output tokens. At $1.071 input and $1.071 output per million tokens, that is $2.142 + $0.5355 = $2.68, paid from prepaid credit with no subscription.
Gemma 4 31B Queen API · base URL and key
from openai import OpenAI
client = OpenAI(
base_url="https://api.uplinkswitch.com/v1",
api_key="sk-uplink-live-...",
)
completion = client.chat.completions.create(
model="gemma-4-31b-queen",
messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.uplinkswitch.com/v1',
apiKey: 'sk-uplink-live-...',
});
const completion = await client.chat.completions.create({
model: 'gemma-4-31b-queen',
messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);curl https://api.uplinkswitch.com/v1/chat/completions \
-H "authorization: Bearer sk-uplink-live-..." \
-H "content-type: application/json" \
-d '{"model":"gemma-4-31b-queen","messages":[{"role":"user","content":"Hello"}]}'What would it cost? · paste a prompt, priced before you send it
Input is counted at about 4 characters per token.
Cheapest first. A real request is billed on the provider's own token count. Same estimate as JSON: POST https://api.uplinkswitch.com/v1/estimate, no key needed.
More from Google (community tune)
Gemma 4 31B Queen questions
- What is Gemma 4 31B Queen?
- Gemma 4 31B Queen is a model from Google (community tune), with a 262,144-token context window, taking text and image input. Through UplinkSwitch it answers the OpenAI SDK on one key as gemma-4-31b-queen.
- How much does the Gemma 4 31B Queen API cost?
- $1.071 per million input tokens and $1.071 per million output tokens.
- Is Gemma 4 31B Queen free?
- It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0016.
- What is the Gemma 4 31B Queen context window?
- Gemma 4 31B Queen has a 262,144-token context window. It takes text and image input.
- What is the Gemma 4 31B Queen model id?
- gemma-4-31b-queen. Send it as the model through the OpenAI SDK with base URL https://api.uplinkswitch.com/v1.
- How do I get a Gemma 4 31B Queen API key?
- Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. The same key calls Gemma 4 31B Queen and every other model in the catalog; send it as the bearer token with base URL https://api.uplinkswitch.com/v1.
- Is it the real Gemma 4 31B Queen?
- Every day each model gets the same test prompt, and a model always counts that prompt the same way; a swapped one would not. Gemma 4 31B Queen's latest result: Same fingerprint since Oct 20.
- Is there a Gemma 4 31B Queen API?
- Yes: gemma-4-31b-queen on the OpenAI format at https://api.uplinkswitch.com/v1, $1.071 input and $1.071 output per million tokens. No weights to download and no GPU of your own; the key also runs every other model in the catalog.
- What is Gemma 4 31B Queen based on?
- Google’s Gemma 4 31B it, tuned by aifeifei798 with its module combination readjusted for role-playing, per its card; the card says it is not abliterated.
- What license does Gemma 4 31B Queen have?
- The card lists Apache-2.0.
- What does Gemma 4 31B Queen cost per 100 messages?
- $0.2678 for 100 chat turns of 2,000 input and 500 output tokens each, at $1.071 input and $1.071 output per million tokens, from prepaid credit with no subscription.
- Gemma 4 31B Queen or Gemma 4 31B DarkIdol?
- Both are aifeifei798’s Gemma 4 31B builds: Queen is the persona tune its card says is not abliterated; DarkIdol is the orthogonalized creative tune. Gemma 4 31B Queen is $1.071 / $1.071 per million tokens in / out, $2.68 for 1,000 chat turns; Gemma 4 31B DarkIdol is $0.40 / $1.80 per million tokens in / out, $1.70 for 1,000 chat turns. Both run on the same key, so send the same prompt to each.
- Gemma 4 31B Queen or Qwen3.8 27B Queen?
- Same name, different base: this Queen is a Gemma 4 31B tune; the other is built on Qwen3.8 27B. Gemma 4 31B Queen is $1.071 / $1.071 per million tokens in / out, $2.68 for 1,000 chat turns; Qwen3.8 27B Queen is $0.875 / $5.25 per million tokens in / out, $4.38 for 1,000 chat turns. Both run on the same key, so send the same prompt to each.