google
Google: Gemma 3n 4B
Gemma 3n E4B-it is optimized for efficient execution on mobile and low-resource devices, such as phones, laptops, and tablets. It supports multimodal inputs—including text, visual data, and audio—enabling diverse tasks...
Context
33k tokens
Input / 1M tokens
$0.06
Output / 1M tokens
$0.12
Benchmark
—
Pricing
Input tokens$0.06 per 1M tokens
Output tokens$0.12 per 1M tokens
Technical details
Model IDgoogle/gemma-3n-e4b-it
Context window33k tokens
Input modalitiestext
Output modalitiestext
TokenizerOther
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-3n-e4b-it',
messages: [{ role: 'user', content: 'Hello!' }],
})