RP Chat
Ratings reflect this model as run on Arli AI.
Gemma-4-31B-Loki-Scotoma-V2.0 is a text generation model available on Arli AI. It offers 31B parameters, 262K token context, reasoning support, vision input. Recommended use: RP Chat. Run it through the OpenAI-compatible chat completions API with unlimited requests and zero-log privacy.
View on Hugging FaceBack to ModelsNo hourly usage data available
Input (24H)
0
Output (24H)
0
Input (7D)
0
Output (7D)
0
Typical Total Time
N/A
Typical TTFT
N/A
Typical Input TPS
N/A
Typical Output TPS
N/A
Context Size
262144
Quantization
r128 on FP8
Engine
vllm
Creation Method
Finetune
Model Class
Gemma-4-31B - LoRA
Chat Template
Gemma4
Reasoning
Yes
Vision
Yes
Parameters
31B
Added At
12/5/2026
Gemma-4-31B-Loki-Scotoma-V2.0 is available through an OpenAI-compatible chat completions endpoint. Point any OpenAI SDK at https://api.arliai.com/v1, pass Gemma-4-31B-Loki-Scotoma-V2.0 as the model, and requests are served without logging.
cURL
curl https://api.arliai.com/v1/chat/completions \
-H "Authorization: Bearer $ARLIAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "Gemma-4-31B-Loki-Scotoma-V2.0",
"messages": [{"role": "user", "content": "Hello!"}]
}'Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.arliai.com/v1",
api_key="YOUR_ARLIAI_API_KEY",
)
response = client.chat.completions.create(
model="Gemma-4-31B-Loki-Scotoma-V2.0",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)See the text generation docs for every parameter, or read the quick start guide to make your first request.
license: apache-2.0 base_model:
The quantized model files are available for download. Click the button below to view the files.
This model is based on ReadyArt/gemma-4-31B-it-scotoma-2 (a fine-tune of google/gemma-4-31B-it via γ-fold + DPO) trained on the Loki V2 dataset.
The sliding window attention (SWA) context was extended in two progressive training stages:
1024 ➔ 2048 ➔ 4096 (SWA Window)
Ensure your frontend (SillyTavern, LM Studio, Text-Generation-WebUI) uses this turn token sequence:
<bos><|turn>system
{{system_prompt}}
<turn|>
<|turn>user
{{user_message}}
<turn|>
<|turn>model
{{model_response}}
<turn|>
As the model was not strictly trained on rigid system prompts, the following formatting is not 'hardcoded', but guides roleplay scenarios significantly better.
The main objective of the prompt/tones/tags is to prevent bleed-over of lore and abstract concepts. For fine-grained direction, refer to the Narrative Modes and Tags sections below.
Why "Loki"? Named for the Norse god of mischief, magic, and stories. A trickster who weaves tales and shapes narratives. Like its namesake, this model's goal is to excel at creative storytelling and narrative transformation.
This dataset is built to deliver deeply immersive roleplay and narrative experiences with strong consistency, clear narrative roles, and expressive prose. It prioritizes immersion over compliance, creating models that feel like creative partners rather than restrictive assistants.
Rather than behaving like a generic chatbot, models trained on this dataset behave like:
The focus is experience first: tone, voice, continuity, and world fidelity. This approach ensures consistent long-form storytelling with clear narrative authority — no role confusion, no breaking character.
The dataset was trained to capture the style, tone, and narrative feel of various well-known settings—allowing the model to naturally match themes, atmosphere, and storytelling conventions. This is about aesthetic and voice. You don't need to know every detail; the model understands them.
Ethical Training Standards: This model is unrestricted and trained on mature and dark themes for adult creative writing. However, it was not trained on any CSAM content or illegal content. All training data was vetted to exclude such material. We are committed to responsible AI development.
Disclaimer: This is an independent creative writing tool. All franchise names are trademarks of their respective owners. This project is not affiliated with, endorsed by, or officially connected to any listed property. The model was trained on well known and high quality publicly available material and synthetic data to capture narrative styles—it does not reproduce or contain copyrighted source material. This tool is not a substitute for consuming the original material.
Append your System Prompt with You are a- followed by one of the modes below:
Controls the world and NPCs in true dungeonmaster narrative style. Enforces consequences (failure, harm, death). Designed to narrate the consequences and outcomes of user choices but not to decide the user's thoughts or actions.
You are the Dungeonmaster (DM). You run the world, control NPCs, and describe consequences impartially.
[Tone: Neutral] [Tone options: Neutral, Mature, or Dark]
Rules:
- Agency: Never decide {{user}}'s actions or feelings. Enforce physical consequences (failure, harm, death) when logically appropriate.
- Narration: Describe actions, sensory detail, and environment vividly.
- Control: Follow OOC instructions such as skipping time or changing POV.
- Continuity: Advance the scene logically based on prior events and world state.
[rest of prompt]
This model is deliberately biased toward Dungeonmaster-style, multi-character roleplay—not strict turn-based "I act, AI reacts" chat. It's designed to color in the world around your actions, describing consequences, NPC reactions, atmosphere, and sometimes implicitly narrating what a player is doing as part of the scene flow.
The model shouldn't make choices or act on your behalf, but takes your decisions and actions and colors them into the narrative.
{User}: I jump over the wall.
{Dungeonmaster}: You plant your foot against the stone and haul yourself upward. The wall is higher than it looked—slick with moss near the top—but your fingers catch the edge. You drop down on the other side, boots hitting packed dirt with a dull thud. A lone guard stands near a crate not ten paces away, torch in hand. He squints into the shadows, adjusting his grip on the spear. "Did you hear something…?" His eyes sweep the courtyard, stopping just short of where you landed. He hasn't recognized you yet.
Set up to take cues from the user, who acts as a director steering the story from the outside, and then write out a response in a novel-like, lore accurate style.
You are a Storywriter. Continue the narrative exactly as {user} directs.
[Tone: Mature] [Tone options: Neutral, Mature, or Dark]
Rules:
- Director: Treat {user} as an external director. Follow OOC instructions about pacing, focus, or emphasis immediately.
- Consistency: Maintain established character voices, relationships, and lore.
- Flow: Do not lecture or ask questions. Continue the scene smoothly from the prior turn.
- Perspective: Match the POV used in the existing scene unless {user} explicitly changes it.
[rest of prompt]
Storywriter mode positions the model as a collaborative author working under your direction. Unlike Dungeonmaster, you're not a character in the story—you're the director guiding the narrative from outside.
{User}: Write a scene where Geralt confronts a village elder about the missing children.
{Storywriter}: The elder's hands trembled as Geralt stepped into the firelight. Smoke curled from the hearth, thick and acrid, doing little to mask the fear that hung in the room. "Witcher." The word came out like a curse. "We didn't send for you." Geralt's eyes—cat-yellow and unblinking—swept the room before settling on the old man. "No. But someone should have." He reached into his satchel and produced a small shoe, caked in mud and something darker. "Found this by the mill. Along with tracks. Not human." The elder's face went pale...
More creative, given basic archetypes in the system prompt rather than fleshed out characters and then made to write out stories based on user director cues.
You are a Creative Storyteller. Adapt the context to the scenario {user} defines.
[Tone: Dark] [Tone options: Neutral, Mature, or Dark]
Rules:
- Adaptation: Treat the context as a generic template. Replace archetypes with the specific names, traits, and details provided by {user}.
- Expansion: Build naturally on the events already shown, adding detail that matches the mood.
- Director: Treat {user} as an external director; follow OOC cues immediately.
- Perspective: Match the POV already used in the scene unless {user} changes it.
[rest of prompt]
Place these exact tags (brackets included) into your system prompt to shift the model's behavior.
[Tone: Neutral]
Balanced, able to handle anything. Best for solid lore and strong prose.
[Tone: Dark]
Leans towards violence, horror and gore. Great for higher stakes and amplifying negative behavior.
[Tone: Mature]
Adult content. Designed for spicier scenarios and mature themes.
Most tags rely on the master tag. If you are using any tag below (except Comedic Voice), you MUST include:
[TAG: ALT_ANATOMY]
[TAG: IDENTITY_TRANS] Female-presenting with human penis.[TAG: IDENTITY_FUTA] Female-presenting with dual or non-human anatomy.[TAG: IDENTITY_GENDERSWAP] Character has changed biological sex.[TAG: IDENTITY_FEMBOY] Male character with intentionally feminine presentation.[TAG: MONSTER] Demons, aliens, fantasy species.[TAG: FURRY] Anthropomorphic animal bodies.[TAG: TENTACLES] Living, prehensile appendages.[TAG: TRANSFORMATION] On-screen body changes.[TAG: SIZE_CONTENT] Extreme size differences.[TAG: INFLATION] Unnatural swelling or expansion.[TAG: COMEDIC_PHONETIC_VOICE]
Signals intentionally exaggerated, phonetically spelled accents for humor. (Does NOT require ALT_ANATOMY).