Stactora - AI Hardware IndexMy Stack0+ Submit Tool
Gemma 2 27B
Gemma 2 27B
CODING · Google DeepMind

Gemma 2 27B

Google DeepMind's flagship 27.2B open model featuring alternating local/global attention and post-training alignment, punching above its weight class on single-GPU hardware.

SELF-HOSTVerifiedOpen Weights✓ Fits 24GB GPU (+6GB spare)
ENTRY COSTFree weights; compute cost applies
EXECUTIONLOCAL GPU INFERENCE
LICENSEGemma Terms of Use
CONTEXT / TASK8K tokens

The brutal truth

EDITORIAL VERDICT · SELF-HOST

Google's 27B architecture punches way above its parameter weight. If 8K context is sufficient for your workload, it is an outstanding 24GB driver.

HUGGING FACE REPOSITORY · /tree/main

Files and Versions

Direct inspected tree artifacts from Hugging Face. Verified filenames, exact byte sizes, model weight shards, and configuration definitions.

Browse /tree/main↗
Discovered FilesVerified Repository
Source Repogoogle/gemma-2-27b-it

Files and versions are hosted on Hugging Face. You can view all branches, commits, model weights, and tokenizer artifacts directly.

Inspect google/gemma-2-27b-it /tree/main↗

Decision matrix

✓ RUN / USE THIS IF…

  • •You want high intelligence density on a 24GB GPU
  • •You value Google's post-training alignment
  • •You can live with 8K context window
  • •Your 24GB GPU comfortably fits the model weights (~18GB VRAM) with dedicated headroom for inference.

True cost of ownership

Upfront$0Weights free
Hardware18GB VRAMat Q4_K_M
API MarkupNoneYou own the stack
Est. Net/Mo$0–$40Electricity + storage

About

Google DeepMind's flagship 27.2B open model featuring alternating local/global attention and post-training alignment, punching above its weight class on single-GPU hardware.

What it does

Download the weights from Hugging Face, pick a quantisation that matches your GPU, and run it locally with Ollama, llama.cpp, vLLM, or a compatible runtime. Reasoning & coding efficiency runs on your own hardware — no per-token bill, no third-party data handling.

Key features

01
Exceptional performance-per-parameter matching larger models

Exceptional performance-per-parameter matching larger models

02
Alternating sliding window attention optimizes inference

Alternating sliding window attention optimizes inference

03
Fits comfortably on a 24 GB GPU at Q4

Fits comfortably on a 24 GB GPU at Q4

Use cases

01Pair-programming

Inline edits, refactors, and test generation inside the editor.

02Code review automation

Flag null-safety, security, and style issues before merge.

03Legacy refactoring

Turn long procedural functions into typed, testable modules.

04Test generation

Generate integration tests from route definitions and schemas.

Quantization & Hardware Fit

✓ HARDWARE COMPATIBLESelected Profile: GeForce Rig (24 GB VRAM)

VRAM Hardware Compatibility & Memory Allocation

Test GPU:
Active Quant: Q4_K_M · Required: 18 GB+6 GB Headroom Available
Execution Speed~39 tokens/sec
Memory Bandwidth1008 GB/s
Hardware StatusDecent
GRADE B · 60/100Decent (~39 tok/s on 24GB · 1008 GB/s)
QuantVRAMQuality / Fit on 24GBInstall / Run Command (OLLAMA)
Q4_K_M● ACTIVE18 GBStandard · ✓ Fits (6GB spare)ollama run gemma2:27b
Q5_K_M21 GBStandard · ✓ Fits (3GB spare)ollama run gemma2:27b
Q8_031 GBStandard · ✕ Needs 31GBollama run gemma2:27b
FP1655 GBStandard · ✕ Needs 55GBollama run gemma2:27b
LIVE INFERENCE SPEED SIMULATOR (BANDWIDTH: 1008 GB/S)
Feel how fast Gemma 2 27B (Q4_K_M) runs on your 24GB rig (~39 tok/s)
Click "▶ Simulate Live Speed" above to watch tokens stream at your GPU's real memory-bandwidth speed (39 tokens/sec ≈ 29 words/sec) before you download 18 GB of weights.

Buyer doubts, cleared

Can I actually run Gemma 2 27B on my 24GB GPU?
Yes. At Q4_K_M the model needs ~18GB, and your 24GB fits it. Expect roughly 25-45 tok/s at Q4 on a modern card. Add 1-2GB headroom for KV cache at 8K context.
What's the fine print on the license?
License: Gemma Terms of Use. This is a restricted license — review the terms carefully before using it in a commercial product. Some restrict resale, competitive use, or require attribution.
Does the 8K tokens actually hold up in practice?
Benchmark claims for long context often degrade past 64K tokens. Test your specific retrieval workload before committing. For anything above 32K, run a needle-in-a-haystack test first.

User reviews

4.5
★★★★★
Based on 4 verified benchmark telemetry reports
Verified Architecture Review
SW
Sam WhitfieldCTO, seed-stage
★★★★★

Switched our internal workflow to Gemma 2 27B after the last pricing change. Nobody noticed a quality difference, and the bill dropped by half.

JT
Jon TanakaIndependent developer
★★★★☆

Used Gemma 2 27B for a client project. Documentation was solid, though the fine-tuning path is less polished than base inference.

DM
Diego MarquezFounder
★★★★☆

Solid for reasoning & coding efficiency. The learning curve is real but the payoff is there. Start with the smaller build first.

LH
Leila HassanTechnical writer
★★★★★

The output reads naturally once you tune the prompt. It has cut my first-draft time roughly in half.

Similar tools to check