← All news

News / AI models / Google

Gemma 4 31B

Gemma 4 31B is an open-weight model by Google, released 2 Apr 2026. It reads image, text, video and writes text, with a context window of 262K tokens and up to 16K tokens out. Through OpenRouter it costs $0.2 per million input tokens and $0.4 per million output tokens.

Facts from OpenRouter and Hugging Face · updated 24 Nov 2026

1,000 requests with 2,000 tokens in and 500 tokens out each cost about $0.6 through OpenRouter.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model": "google/gemma-4-31b-it", "messages": [{"role": "user", "content": "Hello"}]}'

What is the context window of Gemma 4 31B?

Gemma 4 31B has a context window of 262,144 tokens, about 393 pages of text, and can write up to 16,384 tokens in one reply.

How much does Gemma 4 31B cost?

Through OpenRouter, $0.2 per million input tokens and $0.4 per million output tokens. The maker's own price can differ.

Is Gemma 4 31B open source?

Yes, its weights are published on Hugging Face as google/gemma-4-31B-it under the apache-2.0 licence.

When was Gemma 4 31B released?

It became available on 2 Apr 2026.

Something wrong? Email hello@capylaunch.com. All AI models