Gemma 2 27B
Google's Gemma 2 27B is a chat model. 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...
by Google · 8K token context window
Best for
- low-latency chat and routing
- request routing and triage
- text classification
Ways to use Gemma 2 27B in osFoundry
Connect with your own key (BYOK)
Open the key dialog and paste your Google API key. osFoundry discovers Gemma 2 27B automatically — assign it to a Maestro role (router, direct, orchestrator, or fallback) in the Pipeline tab and it is live in every chat. Your key, your provider account — no token markup.
Use it in a Room App
Room Apps declare AI features in their manifest, then call them with invokeAI:
import { invokeAI } from '@osfoundry/app-sdk'
// 'summarize' is an AI feature declared in your app manifest.
const result = await invokeAI('summarize', userText)
Call it from your own apps
Once a model is wired into your workspace you can host it as an API and reach it from your own services, scripts, or CI — outside osFoundry.
Run Gemma 2 27B yourself
Gemma 2 27B is also available as open weights — self-host it for full data control and no per-token cost. See that page for GPU requirements and a cost comparison against API pricing.
Gemma 2 27B vs similar models
Licence
Hosted — usage subject to provider terms — Hosted-only model — usage governed by the provider's API terms. Bring your own provider key.
No weights distributed; usage subject to provider terms.
Frequently asked about Gemma 2 27B
How much does Gemma 2 27B cost?
Gemma 2 27B is metered at $ 0.650 /1M for input, and $ 0.650 /1M for output. Bring your own Google API key — osFoundry passes through provider pricing without markup.
Can I use Gemma 2 27B commercially?
Commercial use is allowed with conditions. Hosted-only model — usage governed by the provider's API terms. Bring your own provider key. No weights distributed; usage subject to provider terms.
What is the context window of Gemma 2 27B?
Gemma 2 27B supports a 8K token context window.
Can I run Gemma 2 27B locally?
No — Gemma 2 27B is hosted only and accessed via the Google API. An open-weights equivalent is available to self-host — see the cross-link above.
What is Gemma 2 27B best at?
Gemma 2 27B is well-suited to low-latency chat and routing, request routing and triage, text classification.
How do I use Gemma 2 27B in osFoundry?
Paste your Google API key in the key dialog (or deploy the open weights for self-hostable models), assign Gemma 2 27B to a Maestro role in the Pipeline tab, then use it in chat, Room Apps via invokeAI, or your own apps.
Published by Google on July 13, 2024. Source: https://openrouter.ai/google/gemma-2-27b-it