Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image inp…
from openai import OpenAI
client = OpenAI(
base_url="https://orcarouter.ai/v1",
api_key="$ORCAROUTER_API_KEY",
)
response = client.chat.completions.create(
model="google/gemma-4-31b-it",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)| Input / 1M tokens | $0.130 |
| Output / 1M tokens | $0.380 |
| Cache read / 1M | $0.020 |
| Currency | USD |