Gemma / gemma/gemma-4-31b-it
Gemma 4 31B - access through LLMTR
Gemma 4 31B is Google's open-weight dense model from the Gemma 4 family, built for general-purpose chat, coding, and tool-using assistant workflows that need a large context window. It offers a 262,144-token context window, native tool calling, JSON object mode and JSON Schema structured output. Step-by-step reasoning is available but off by default; turning it on returns the reasoning trace separately from the answer, and reasoning tokens are billed as output. It accepts text and image input at variable aspect ratios and resolutions, and produces text only. There is no separate output ceiling below the context window, and no prompt-cache discount is applied — every request bills at the full input rate.
Technical specifications
| Canonical ID | gemma/gemma-4-31b-it |
|---|---|
| Provider | Gemma |
| Context window | 262,144 tokens |
| Operations | CHAT_COMPLETIONS |
| Modalities | text, image |
Pricing
An 8% platform margin applies to credit top-ups; model usage prices are not separately marked up.
| Operation | Metric | Unit | Price |
|---|---|---|---|
| CHAT_COMPLETIONS | INPUT_TEXT | PER_1M_TOKENS | $0.140000 |
| CHAT_COMPLETIONS | OUTPUT_TEXT | PER_1M_TOKENS | $0.400000 |
Example usage
With existing OpenAI SDK flows, change only the base URL and model identifier.
curl https://llmtr.com/v1/chat/completions \
-H "Authorization: Bearer llmtr-your_key" \
-H "Content-Type: application/json" \
-d '{"model":"gemma/gemma-4-31b-it","messages":[{"role":"user","content":"Hello"}]}'
Related models
- Gemma 4 26B A4B gemma/gemma-4-26b-a4b-it
- Gemma 4 llmtr/gemma-4
- Qwen 3.6 35B-A3B llmtr/qwen3-6-35b
- Trendyol Asure 12B llmtr/trendyol-asure-12b
- Magibu 11B v8 llmtr/magibu-11b-v8
- Muse Glimmer 30B (Turkey) llmtr/muse-glimmer-30b-tr
- EmbeddingGemma 300M llmtr/embeddinggemma-300m
- Qwen 3.5 4B llmtr/qwen3-5-4b