LLMBOTTLENECK.COM
Google / gemma3_text / file from the unsloth mirror

gemma-3-27b-it

27.4 billion parameters.

Open in the calculator →

Architecturepublished data
Quick answer
gemma-3-27b-it needs about 18.7 GB at Q4_K_M — the format most people download — with 8,192 tokens of context. It fits entirely on 12 of 18 common devices, starting with the NVIDIA GeForce RTX 4090 (24 GB). What else fits in 24 GB. No hardware for it? Rent a GPU that runs it, priced live.

Sized at 8,192 tokens of context with the whole model in device memory, across 18 common devices. Speeds are estimates, not benchmarks.

Configuration read from a mirror of a restricted repository

The official repository is google/gemma-3-27b-it (licence: gemma). Google's repository requires accepting the Gemma terms. This configuration is read from Unsloth's ungated copy; it is not byte-compared with Google's file. Vision inputs add memory not modelled here.

Weight-file size by format

FormatSizeRangeBasis
FP1656.8 GB54.0 GB – 58.0 GBreconstructed size
Q8_030.2 GB28.7 GB – 30.8 GBreconstructed size
Q6_K23.3 GB22.2 GB – 23.8 GBreconstructed size
Q5_K_M20.2 GB19.1 GB – 20.7 GBreconstructed size
Q5_019.7 GB18.6 GB – 20.1 GBreconstructed size
Q4_K_M17.3 GB16.2 GB – 17.7 GBreconstructed size
Q4_016.4 GB15.2 GB – 16.7 GBreconstructed size
Q3_K_M14.3 GB13.1 GB – 15.5 GBreconstructed size
Q2_K10.8 GB9.66 GB – 11.5 GBreconstructed size

A file size is not the memory a run needs: the KV cache and the runtime reserve come on top, and the calculator adds both.

What the labels mean
published data
Read from a published source — a file's byte count, a model's configuration or a manufacturer's specification — or exact arithmetic on such values. Not a measurement on a machine.
reconstructed size
Weight size reconstructed from the pinned architecture, because no published file exists.
size range
Only a lower and an upper bound are claimed for this weight size.

Hardware ladder

Q4_K_M at 8,192 tokens · 12 of 18 devices hold it entirely
DeviceMemoryVerdictDecodeCalculator
NVIDIA GeForce RTX 507018.7 GB of 12 GB24 layers on system RAM~7.7 tok/s with offloadOpen →
AMD Radeon™ RX 9070 XT18.7 GB of 16 GB10 layers on system RAM~14 tok/s with offloadOpen →
NVIDIA GeForce RTX 408018.7 GB of 16 GB10 layers on system RAM~14 tok/s with offloadOpen →
NVIDIA GeForce RTX 508018.7 GB of 16 GB10 layers on system RAM~15 tok/s with offloadOpen →
NVIDIA GeForce RTX 5070 Ti18.7 GB of 16 GB10 layers on system RAM~15 tok/s with offloadOpen →
NVIDIA GeForce RTX 5060 Ti 16GB18.7 GB of 16 GB10 layers on system RAM~11 tok/s with offloadOpen →
NVIDIA GeForce RTX 409018.7 GB of 24 GBfits~40 tok/sOpen →
AMD Radeon™ RX 7900 XTX18.7 GB of 24 GBfits~44 tok/sOpen →
NVIDIA GeForce RTX 309018.7 GB of 24 GBfits~37 tok/sOpen →
NVIDIA GeForce RTX 509018.7 GB of 32 GBfits~71 tok/sOpen →
NVIDIA RTX 6000 Ada Generation18.7 GB of 48 GBfits~38 tok/sOpen →
Apple M4 Pro18.7 GB of 64 GBfits~14 tok/sAbout reading paceOpen →
Apple M5 Pro18.7 GB of 64 GBfits~15 tok/sAbout reading paceOpen →
AMD Ryzen AI Max+ 395 with Radeon 8060S18.7 GB of 128 GBfits~12 tok/sAbout reading paceOpen →
Apple M3 Max18.7 GB of 128 GBfits~20 tok/sAbout reading paceOpen →
Apple M4 Max18.7 GB of 128 GBfits~26 tok/sAbout reading paceOpen →
NVIDIA DGX Spark18.7 GB of 128 GBfits~11 tok/sAbout reading paceOpen →
Apple M2 Ultra18.7 GB of 192 GBfits~35 tok/sOpen →

Decode is a calibrated estimate from the published calibration; capacity is the manufacturer's published ceiling, not guaranteed free memory. Fitting in memory is not the same as loading: whether the runtime and version you have supports this architecture and format on that machine has not been tested here. Offloaded rows assume there is enough system RAM for the overflow — the calculator checks that against the RAM you declare. Each “Open” link keeps this model, format and context.

Run it in the cloud

Rent a GPU that runs gemma-3-27b-it

Every rentable machine that holds the whole model, from Vast.ai and RunPod, with this site's speed estimate for each and the provider's own price, read live. Cheapest first; sort by cost per token or speed instead, or switch the format.

Prices · 18:30 UTC, 22 Sept
27 configurations in stock · 6 out of stock
MachineSpeedPer hourPer M tokensWhereRent
2× RTX 306024 GBcheapest~28 tok/sAbout reading pace$0.11$1.05Vast.aiMarketplace · 98.0% reliableRent on Vast.ai
1× RTX 309024 GBrecommendedbest value~37 tok/sFaster than you read$0.12$0.91Vast.aiMarketplace · 99.5% reliableRunPod $0.50/h Rent on Vast.ai
1× RTX 3090 Ti24 GB~40 tok/sFaster than you read$0.19$1.30Vast.aiMarketplace · 99.6% reliableRunPod $0.27/h Rent on Vast.ai
2× RTX 407024 GB~40 tok/sFaster than you read$0.19$1.31Vast.aiMarketplace · 99.8% reliableRent on Vast.ai
2× RTX 4060 Ti 16GB32 GB~22 tok/sAbout reading pace$0.22$2.72Vast.aiMarketplace · 99.7% reliableRent on Vast.ai
1× L424 GB~11 tok/sAbout reading pace$0.26$5.97Vast.aiMarketplace · 98.9% reliableRunPod $0.49/h Rent on Vast.ai
2× RTX 5060 Ti 16GB32 GB~35 tok/sFaster than you read$0.26$1.99Vast.aiMarketplace · 99.5% reliableRent on Vast.ai
1× RTX 6000 Ada48 GB~38 tok/sFaster than you read$0.26$1.90Vast.aiMarketplace · 99.9% reliableRunPod $0.84/h Rent on Vast.ai

No GPU at all

Use gemma-3-27b-it by the token

For one person chatting, that is about 4.6× cheaper than the best-value rented card above ($0.91 per million tokens). A rented GPU pays off when you keep it busy — many requests batched together, long agent runs — or when the data must stay on a machine you control, or the exact file you want is not served anywhere.

First time renting a GPU? How it works, in four steps
  1. Create an account and add credit. Both providers are prepaid: $10 is enough to try any card on this page for hours. A new RunPod account that arrives through a referral link gets a one-time $5 credit when it first adds $10.
  2. Pick the card and the count shown here, and a template: llama.cpp or vLLM for an OpenAI-compatible API, or one with a web chat if you only want to talk to the model. “How to launch it” below gives the exact image and command.
  3. Wait for the download. The weights are fetched on the machine; tens of gigabytes take a few minutes on a data-centre connection. You pay by the second from the moment it starts.
  4. Stop it when you are done. A running machine bills even when idle. A stopped one costs nothing per hour, though its disk is usually still billed until you delete it.
How to launch it

No Q4_K_M file of gemma-3-27b-it is catalogued here, so there is no exact command to vouch for. Start the machine from the llama.cpp server image ghcr.io/ggml-org/llama.cpp:server-cuda and point -hf at a Q4_K_M build from the publisher or a quantizer you trust — search Hugging Face for one. Check its file size against the memory figure on this page before you rent.

Every machine holds the whole model at Q4_K_M and 8,192 tokens of context, no offload. Speeds are this site’s single-stream decode estimates; prices are what each provider’s own API quoted, on-demand, for the whole machine. Vast hosts below 98% measured reliability are left out.

Referral links Vast.ai, RunPod and Novita pay us a share of what you spend if you sign up through these buttons. It costs you nothing, and it never decides an order or a recommendation: both are computed from the live price and the speed, and options that pay us nothing are listed and recommended on the same terms. How we rank

Buying a card instead, or paying by the token? Compare a year of gemma-3-27b-it three ways →

Under the hood

Architecture, read from the publisher’s file

The numbers every figure above is computed from, with the file they came from.

Architecture

✓ Architecture read from the mirror's config.json

Retrieved 2026-09-13 at pinned commit 7a5a3053dbd5; parameter count from the safetensors index at the same revision.

Architecture
gemma3_text
Layers
62
Hidden size
5,376
Attention heads
32
KV heads
16
Head dimension
128
Feed-forward width
21,504
Vocabulary
262,208
Context ceiling
131,072
Sliding window
1,024
RoPE theta
1,000,000

Where the memory goes

tokenembedding× 62 decoder blocksGrouped-query attention32 query · 16 KV headswindow 1,024Feed-forwardone networkall activeoutputprojectiongrows with contextfixed per token

Grouped-query attention shares each key/value head across 2 query heads, so the KV cache is 50% of what multi-head attention would need at the same context.

This is a multimodal checkpoint (vision); the diagram and memory sizing above cover the text decoder. Encoder/audio/image activations are not included in the KV or weight figures.

More from Google

Use this answer in your own product

As JSON, from the API
curl -s https://llmbottleneck.com/v1/analyze \
  -H "Authorization: Bearer $LLMB_KEY" -H "content-type: application/json" \
  -d '{"model":"unsloth-gemma-3-27b-it","quantization":"Q4_K_M","context":8192,"hardware":"nvidia-geforce-rtx-4090"}'

Same engine, same evidence, every field sourced. Free key in one step →

On your page, as a widget
<script src="https://llmbottleneck.com/widget.js"
  data-model="unsloth-gemma-3-27b-it" data-quantization="Q4_K_M"
  data-hardware="nvidia-geforce-rtx-4090" data-context="8192"></script>

No key needed. Unbranded, with your own buy button, on Pro and Business →

Citing this page

LLM Bottleneck. “gemma-3-27b-it VRAM and hardware requirements.” Architecture from unsloth/gemma-3-27b-it at revision 7a5a3053dbd5, retrieved 2026-09-13. https://llmbottleneck.com/models/unsloth-gemma-3-27b-it

Every figure above is either the published value or a reconstruction whose measured error is on the accuracy page.

llmbottleneck
catalogue 2026-10-03models 327devices 135