googleVision
Google: Gemma 3 4B
Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities,...
Context
131k tokens
Input / 1M tokens
$0.05
Output / 1M tokens
$0.10
Benchmark
—
Pricing
Input tokens$0.05 per 1M tokens
Output tokens$0.10 per 1M tokens
Technical details
Model IDgoogle/gemma-3-4b-it
Context window131k tokens
Input modalitiestext, image
Output modalitiestext
TokenizerGemini
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-3-4b-it',
messages: [{ role: 'user', content: 'Hello!' }],
})