Skip to content
ModelsRankingsChatDocsPricing
go

Google: Gemma 4 31B (free)

google/gemma-4-31b-it:free

AvailableGoogleimage intext invideo intext out

Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...

Context

262K

tokens in

Max output

33K

tokens out

Price

$0 / $0

per 1M in / out

Quick start

curl https://api.token265.com/v1/chat/completions \
  -H "Authorization: Bearer ${OPENROUTER_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-4-31b-it:free",
    "messages": [{"role": "user", "content": "hello"}]
  }'
from openai import OpenAI

client = OpenAI(base_url="https://api.token265.com/v1", api_key="sk-...")
client.chat.completions.create(
    model="google/gemma-4-31b-it:free",
    messages=[{"role": "user", "content": "hello"}],
)

Supported parameters

include_reasoningmax_tokensreasoningresponse_formatseedtemperaturetool_choicetoolstop_p

More from Google