googleVision
Google: Gemma 4 31B
Try in chat →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
Input / 1M tokens
$0.09
Output / 1M tokens
$0.34
Benchmark
—
Uptime & performance
Loading…
Pricing
Input tokens$0.09 per 1M tokens
Output tokens$0.34 per 1M tokens
Cache read$0.05 per 1M tokens
Apps and activity
Loading…
Technical details
Model IDgoogle/gemma-4-31b-it
Context window262k tokens
Input modalitiesimage, text, video
Output modalitiestext
TokenizerGemma
Max output tokens16,384
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'google/gemma-4-31b-it',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use Google: Gemma 4 31B?
Try it in the browser first, then get an API key and start making requests in minutes.