Google: Gemma 4 31B is a 262,144-token model served on Composite at $0.125 per million tokens in and $0.425 per million tokens out. Ranked #40 of 179 models by traffic on Composite over the last 30 days, taking 0.26% of tokens and 0.23% of requests (this model and its routing variants). Measured on Composite, 63.0% of its last 100 requests on Composite succeeded, the typical first token arrives in 2129 ms, output runs at about 61.7 tokens per second.
Sign in to rate this model. Ratings come from accounts that have run requests through Composite.
Specifications
Specifications and pricing as served by Composite
Model ID
google/gemma-4-31b-it
Provider
cv11
Context window
262,144 tokens
Accepts
image, text, video
Returns
text
Input price
$0.125 per million tokens
Output price
$0.425 per million tokens
Prompt caching
Supported — cached input is billed at the provider's cache rate, on credits and plans alike
Moderated
No
Cost on a monthly plan
About 1.1 plan credits per typical call (8k in, 1k out)
Routing endpoints
10 (base plus 9 routing variants)
Use Google: Gemma 4 31B in JanitorAI or SillyTavern
Make a Composite API key and type google/gemma-4-31b-it as the model name. JanitorAI takes the full URL https://composite.lucidity.sh/v1/chat/completions; SillyTavern, ChubAI, Agnai and RisuAI take https://composite.lucidity.sh/v1. It runs on credits, a plan, or your own provider key.
$0.125 per million tokens input · $0.425 per million tokens output
cheapThink
google/gemma-4-31b-it:cheapThink
cv11
$0.125 per million tokens input · $0.425 per million tokens output
Fast
google/gemma-4-31b-it:fast
CoreWeave
$0.125 per million tokens input · $0.425 per million tokens output
Fast + cheapThink
google/gemma-4-31b-it:fast:cheapThink
CoreWeave
$0.125 per million tokens input · $0.425 per million tokens output
Quality
google/gemma-4-31b-it:quality
Crusoe
$0.175 per million tokens input · $0.500 per million tokens output
Quality + cheapThink
google/gemma-4-31b-it:quality:cheapThink
Crusoe
$0.175 per million tokens input · $0.500 per million tokens output
Pricing
$0.125 per million tokens input · $0.425 per million tokens output
Credits pay the provider’s price plus 25%; cache hits cost less.
On a monthly plan, a typical call (8k tokens in, 1k out) uses about 1.1 plan credits, at the provider's own price.
Provider
cv11
Roleplay fit
Gemini models combine large context windows with fast throughput, which keeps response times low even in busy group chats.
Context behavior
With a 262,144-token context window, it can hold a long-running roleplay or a full lorebook in memory without losing earlier plot details, so it suits multi-session campaigns and character cards with heavy backstory.
Cost for regular use
It is priced low enough for high-volume daily roleplay without the per-message cost adding up quickly.
From the provider
Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...