DzRouter

Gemma 4 31B

VisionReasoningTool use

Dense 30.7B multimodal model from Google DeepMind. Multimodal (text + image input), text output.

Model id — paste this in your code
google/gemma-4-31b-it

Pricing · per 1M tokens

Show prices in
Input39 DA$0.156
Output114 DA$0.456
Cached input39 DA$0.156
Context window262KMax output: 131K

Capabilities

  • Vision — Understands images and documents you send
  • Reasoning — Thinks step by step before answering
  • Tool use — Can call your functions / tools

Estimate your cost

Estimated cost

Use this model

Create an account, top up in dinars and call it with your key:

from openai import OpenAI

client = OpenAI(
    base_url="https://dzrouter.com/v1",
    api_key="sk-dz-…",
)

reply = client.chat.completions.create(
    model="google/gemma-4-31b-it",
    messages=[{"role": "user", "content": "Salam!"}],
)
print(reply.choices[0].message.content)
Create a free account

Start building with AI today

Create your account, top up from 500 DA and send your first request in minutes.

Create a free account