Skip to content
03 Model garden Serve

gemma 4 31B it

Runs as your own dedicated GPU deployment, ready to launch from the wizard. Data stays in Europe.

curl
$ curl https://hostyourai.com/api/v1/chat/completions \
  -H "Authorization: Bearer hyai-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-4-31B-it",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Call it now

Drop-in replacement for OpenAI: change only the base URL and API key. The Anthropic format (/v1/messages) is supported too.

Serve Model garden vLLM ready
google/gemma-4-31B-it

text+image->text · google · sovereign EU

Runs on EU infrastructure operated by European companies, from your request to the GPU. See the full chain

Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input (with audio supported on E2B, E4B, and 12B) and generating text output. This release includes open-weights models in both pre-trained and instruction-tuned vari...

Router
Router · on request
Dedicated
Dedicated · available
31BParameters
262KContext window
80GBMinimum VRAM
POST /api/v1/chat/completions On request

Specifications

Parameters31B
Context window262,144 tokens
Minimum VRAM80 GB
ArchitectureGemma4ForConditionalGeneration (vLLM)
Licenseapache-2.0
Modalitytext+image->text
ReleasedMarch 2026
Publishergoogle ↗

Pricing

Shared router · per token

On request Not available on the shared router. Pricing on request as a dedicated GPU deployment.

Dedicated GPU · per hour

from €2,21 per hourYour own vLLM instance on European cloud (80 GB VRAM), billed per minute.

Shared EU router, you pay only per token. Dedicated GPU deployments are billed per minute, see pricing.

✓ Verified working on 26-07-2026, responded in 3171 ms on our EU infrastructure.

Bench index

Bench is our quality index for every model, 0 to 100. It rests on public measurements (Epoch AI with about 40 benchmarks, LiveBench, LMArena and more) and is refreshed every morning. Where nobody measures, it shows an estimate with a range.

67.7 / 100 · Measured

Measured by Epoch AI across 7 benchmarks, with a range.

Range 64.6 to 70.7 · Rank 101 of 257 at Epoch AI

Sources: Epoch AI ↗ · LiveBench ↗ · LMArena ↗ · Refreshed daily, last on 19-11-2026

LiveBench · 61.6

Reasoning59.4
Coding60.3
Agentic coding40.0
Mathematics73.9
Data analysis58.8
Language71.3
Instruction following67.6
Every benchmark (7)
OTIS Mock AIME 2024-202573.3
DTBench71.1
GPQA diamond70.5
WeirdML52.3
LMCA46.2
Surface Evolver Bench30.6
SimpleQA Verified10.4
LiveBench · All tasks
Reasoning
theory of mind51.9
zebra puzzle29.8
spatial92.0
logic with navigation64.0
Coding
code generation62.0
code completion58.7
Agentic coding
javascript20.0
typescript35.0
python65.0
Mathematics
AMPS Hard100.0
integrals with game26.3
math comp87.3
olympiad82.2
Data analysis
consecutive events29.9
tablejoin46.4
tablereformat100.0
Language
connections92.5
plot unscrambling47.5
typos74.0
Instruction following
paraphrase69.5
simplify61.3
story generation71.7
summarize67.9
Questions

Frequently asked questions

Can I run gemma 4 31B it in the EU?

Yes. HostYourAI runs gemma 4 31B it on GPUs in European datacenters via vLLM. Prompts and outputs never leave the EU and there is no US cloud provider in the chain.

Is hosting gemma 4 31B it GDPR-compliant?

Yes. All processing happens inside the EU, a Data Processing Agreement (DPA) is available and the subprocessor list is public. Open-source weights also mean: no training on your data.

How much does gemma 4 31B it cost?

gemma 4 31B it is available on request: through the shared EU router after a quick chat, or as your own dedicated GPU deployment billed per minute. Tell us your use case and we will set it up for you.

Is the API OpenAI-compatible?

Yes. You use the standard OpenAI SDKs with a custom base URL (https://hostyourai.com/api/v1). The Anthropic Messages API is supported as a drop-in as well.

More models from Google

The platform

One platform, four layers

Start with one layer and add the others when the work asks for it. They share one key, one balance and one Activity view.

Code

Your coding agent on open models in Europe, set up with one command.

Open

Control

Keys, budgets and guardrails per team, and personal data stopped before any model sees it.

Open

Serve

Shared per token, or running for you alone, from European data centres.

Open

EU compute

Private GPUs in Europe, H100 to B300, sized for response time, generation speed and concurrent users.

Open

Try gemma 4 31B it for free

Creating an account takes a minute. Test gemma 4 31B it straight away in the playground.

  • Jantine
  • Hans
  • Sander
  • Jos
  • Daan
  • Kyra
  • Margriet
  • Stan
The team behind HostYourAI