# Gemma 4 31B

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.

## Key facts

- Model ID: `gemma-4-31b`
- Base URL: `https://api.melious.ai/v1`
- Maker: Google
- Type: Chat
- Context window: 256K tokens
- Price (EUR): Input €0.10 / 1M tokens, Cached input €0.02 / 1M tokens, Output €0.30 / 1M tokens
- Measured throughput: 65 tok/s
- License: Apache 2.0
- Released: 2026-04-02
- Capabilities: Vision, Reasoning, Tool calling, Structured output, Streaming

## Where your request goes

- Processed in: Sweden, Germany, Finland, Italy
- Used to train models: never
- Prompts and answers: not logged by Melious
- Zero data retention on Melious servers: processed in memory only, never stored
- Operators: Berget AI (Sweden), Infercom (Germany), Melious servers (Finland), Regolo (Italy)
- Data processing agreement: https://melious.ai/legal/dpa

## Call it

```bash
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."}
    ]
  }'
```

Human-readable page: https://melious.ai/models/gemma-4-31b
All models: https://melious.ai/models.md
