Overview
Google Gemma 4 31B is a 31B parameter dense multimodal language model with a 256K context window. It processes text, images, and video inputs and generates text output, featuring a configurable thinking mode for step‑by‑step reasoning. The model achieves 85.2% on MMLU Pro, 80.0% on LiveCodeBench v6, and 88.4% on MMMLU, demonstrating strong performance across reasoning and multimodal benchmarks. Available under the Apache 2.0 license.
Code samples
curl -X POST "https://api.melious.ai/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MELIOUS_API_KEY" \
-d '{
"model": "gemma-4-31b",
"messages": [
{"role": "user", "content": "Explain what an API is in one sentence."}
]
}'Capabilities
- Input
- Text, Image, Video
- Output
- Text
- Supported
- Vision, Reasoning, Tool calling, Structured output, Streaming
- Reasoning
- Hybrid — switch reasoning on or off per request
Where it runs
Hosted in Renewable power 100% Power efficiency Water efficiency
Hosted in Renewable power 100% Power efficiency Water efficiency
Hosted in Renewable power 100% Power efficiency Water efficiency
Hosted in Renewable power 100% Power efficiency Water efficiency