google
Google: Gemma 2 27B
Gemma 2 27B by Google is an open model built from the same research and technology used to create the [Gemini models](/models?q=gemini). Gemma models are well-suited for a variety of...
Context
8k tokens
Input / 1M tokens
$0.65
Output / 1M tokens
$0.65
Benchmark
—
Pricing
Input tokens$0.65 per 1M tokens
Output tokens$0.65 per 1M tokens
Technical details
Model IDgoogle/gemma-2-27b-it
Context window8k tokens
Input modalitiestext
Output modalitiestext
TokenizerGemini
Max output tokens2,048
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-2-27b-it',
messages: [{ role: 'user', content: 'Hello!' }],
})