IranRouter
All models
Google

Google: Gemma 4 31B

Unavailable

by Google

google/gemma-4-31b-itUsage rank #36

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...

At a glance

Context window
262Ktokens
Max output
16Ktokens
Knowledge to
Released
2026

Capabilities

CapabilitiesReasoningVisionToolsStructured output
InputImageTextVideo
OutputText
ReasoningSupported

Benchmarks

Intelligence index
15
Coding index
43
Agentic index
7

Standard evaluations

BenchmarkScoreTasks
gpqa_diamond0.833,681
tau_bench_verified_airline0.76996

Source: Artificial Analysis · as of Sep 16, 2026

Performance

Reference uptime

99.9%

Aug 18Sep 16

Median latency

1,625 ms

Aug 18Sep 16

Throughput

23.8 tok/s

Aug 18Sep 16

IranRouter uptime comes from our own automated probes; the reference figures are daily measurements of this model's upstream routes. Each card shows a 30-day average, and a day without data stays empty.

Popularity

Current rank
#36
Rank change, 7 days
+5

Daily tokens · 90 days

50.5B

Jun 18Sep 15

Ranked by daily token volume across the global model market; the figure above the chart is the daily average.

Supported parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p

Parameters this model accepts; anything else is ignored.

Quick start

from openai import OpenAI

client = OpenAI(
    api_key="ir-...",
    base_url="https://iranrouter.com/v1",
)

resp = client.chat.completions.create(
    model="google/gemma-4-31b-it",
    messages=[{"role": "user", "content": "سلام!"}],
)
print(resp.choices[0].message.content)

Only base_url and the key change; the rest of your code stays as it is.