Google: Gemma 2 27B
google/gemma-2-27b-it
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...
- Type
- text
- Provider
- Model ID
- google/gemma-2-27b-it
- Context window
- 8K tokens
- Self-hostable
- Yes — runs on your own GPU
- Input price
- $0.71 / 1M tokens
- Output price
- $0.71 / 1M tokens
Cloud price is billed from prepaid credits when a request fails over to the cloud. Open-weight models run free on GPUs you own — the gateway routes to your nodes first.
What it costs to run
cloud · 1M in + 1M out
$1.43
$0.71 for a million input tokens plus $0.71 for a million output tokens, billed from credits only when a request fails over to the cloud.
your hardware
$0 / token
Served from a workstation or on-prem server you own, there is no per-token fee — the marginal cost is power.
Run it on your own hardware
Estimated GPU memory for Google: Gemma 2 27B (27B parameters), for the weights alone — add room for the context cache.
- Q4_K_M
- ~16.1 GBfits a 24 GB card
- Q8_0
- ~27.4 GBfits a 32 GB card
- FP16 / BF16
- ~51.0 GBfits a 80 GB card
Install the agent on the machine and it dials out to the gateway over a single WebSocket — no port forwarding or inbound firewall rules. Requests for this model go to your node first and fail over to the cloud only when it can't serve.
/// initialize
Call Google: Gemma 2 27B through one OpenAI-compatible endpoint.
Serve it from hardware you own, with cloud failover when your nodes are busy or offline.
no credit card · 2 nodes free · openai-compatible
Frequently asked questions
- What is the context window of Google: Gemma 2 27B?
- Google: Gemma 2 27B accepts up to 8,192 tokens (8K) of context per request.
- How much does Google: Gemma 2 27B cost per million tokens?
- Through Wide Area Intelligence, Google: Gemma 2 27B costs $0.71 per 1M input tokens and $0.71 per 1M output tokens when served from the cloud, billed from prepaid credits. A workload of 1M input plus 1M output tokens costs $1.43.
- Can I run Google: Gemma 2 27B on my own hardware?
- Yes — Google: Gemma 2 27B is an open-weight model you can run on a workstation or on-prem server you own. At Q4_K_M it needs roughly 16.1 GB of GPU memory, plus room for the context cache — it fits a single 24 GB card. Wide Area Intelligence routes requests to your own nodes first and fails over to the cloud only when they can't serve.
More from google
- Google: Gemini 2.5 Pro Preview 06-05google/gemini-2.5-pro-preview
- Google: Gemini 3 Flash Previewgoogle/gemini-3-flash-preview
- Google: Gemini 3.1 Flash Litegoogle/gemini-3.1-flash-lite
- Google: Gemini 3.1 Flash Lite Previewgoogle/gemini-3.1-flash-lite-preview
- Google: Gemini 3.1 Pro Previewgoogle/gemini-3.1-pro-preview
- Google: Gemini 3.1 Pro Preview Custom Toolsgoogle/gemini-3.1-pro-preview-customtools
- Google: Gemini 3.5 Flashgoogle/gemini-3.5-flash
- Google: Gemini 3.5 Flash Litegoogle/gemini-3.5-flash-lite