All modelsGoogle
Gemma 4 31B
The larger open Gemma 4
Text
Images
Video
Reasoning
Tools
- Type
- Chat
- Context
- 262K tokens
- Russian
- high
- Input price
- 7,2 ₽ / 1M tokens
- Output price
- 27,2 ₽ / 1M tokens
- Release date
- April 2026
chat/completions
import OpenAI from "openai"const client = new OpenAI({ baseURL: "https://api.yenisei.ru/v1", apiKey: process.env.YENISEI_API_KEY,})const stream = await client.chat.completions.create({ model: "gemma-4-31b", messages: [{ role: "user", content: "Hi!" }], stream: true,})for await (const chunk of stream) { process.stdout.write(chunk.choices[0]?.delta?.content ?? "")}About the model
Gemma 4 31B is the larger model in Google's open Gemma 4 family, delivering higher quality with the same capabilities as its smaller sibling. It works with text and images: it analyzes pictures, screenshots and documents with visual elements. Thanks to its size, it reasons better and handles complex multi-step tasks better. The model supports many languages, works confidently with Russian and reliably calls tools (function-calling) for agents and integrations. Its weights are open: you can run the model yourself and fine-tune it on your own data.
Strengths
- Higher quality among Gemma 4 models
- Works with text and images
- Reasoning for complex multi-step tasks
- Works in many languages, including Russian
- Tool calling (function-calling) for agents
Where to use it
- Assistants that analyze images
- Analysis of images, screenshots and diagrams
- Working through complex multi-step tasks
- Agent scenarios with tool calling
- Multilingual user support