OpenModelsHQ

gemma-3-27b-it

GoogleVisionDenseGemma terms

gemma-3-27b-it is an open-weight vision and language model from Google with 27.4B parameters. At 4-bit it needs about 19.6 GB of memory, so the smallest current device that fits it is the Arc Pro B60.

Overview

Estimated memory at 4-bit
19.6GB

Includes room for an 8k context and runtime overhead. More context needs more memory.

Total parameters
27.4B
Dense
Context window
Unknown
Not in the model config
Cheapest API, blended / 1M
$0.10
₹9.43 · DeepInfra · 3:1 input to output
All Google API prices

Key information

Lab
Google
Released
1 Mar 2025
Parameters
27.4B
Type
Vision and language
Context
Unknown
HF downloads, 30 days
339,404
View all

Will it run on your hardware?

How we estimate
Memory needed vs devices
gemma-3-27b-it needs about 19.6 GB at 4-bit, 34.5 GB at 8-bit and 65.2 GB at 16-bit. At 4-bit it fits GeForce RTX 5090, DGX Spark, Mac Studio M5 Ultra (256GB). Dashed lines are usable memory on each device; a model fits when its estimate stays within 90% of it. Log scale. 8k context.
Memory needed vs devices: data
Estimate or deviceMemory
Q419.6 GB
Q834.5 GB
BF1665.2 GB
RTX 5060 Ti 16 GB16 GB usable
RTX 5090 32 GB32 GB usable
DGX Spark 128 GB108.8 GB usable
Mac Studio M5 Ultra 256 GB192 GB usable

Single-device memory estimate. Pick a device to update the On your device column.

36 GB usable memory

FormatMemory neededOn your deviceExample hardware
4-bit (Q4)≈ 19.6 GBFits 54%Arc Pro B6024 GB memory
8-bit (Q8)≈ 34.5 GBTight 96%L40S48 GB memory
16-bit (BF16)≈ 65.2 GBToo big 181%A100 80GB SXM80 GB memory

Fits means the estimate stays within 90% of usable memory. Tight is above 90% and up to 100%. Too big is above 100%. These are memory checks, not speed or compatibility tests.

Mac allowances are 66% of total RAM up to 36 GB, and 75% above. AI boxes allow 85% because their memory is shared with the operating system.

Where to run it

On a Mac

Start with the MLX files, built for Apple Silicon.

mlx-community/gemma-3-27b-it-4bitCheck your Mac

With GGUF

Choose a file for llama.cpp or a compatible app.

unsloth/gemma-3-27b-it-GGUFFind compatible hardware

Through an API

DeepInfra (fp8) is the cheapest provider we found.

$0.08 / $0.16

Input / output per 1M tokens
₹7.54 / ₹15 at ₹94.29 per $1

Blended: $0.10 (₹9.43) per 1M. Ranked by a 3:1 mix of input and output tokens.

MLX on Apple SiliconView repository
mlx_vlm.generate --model mlx-community/gemma-3-27b-it-4bit \
  --prompt "Describe this image." --image image.jpg
GGUF with llama.cppView repository
llama-cli -hf unsloth/gemma-3-27b-it-GGUF \
  -c 8192 -p "Explain how a transformer works."

Example commands built from the repository ids above. They need a working install of MLX or llama.cpp. We have not run them; check each repository for available files.

Hosted API 4

USD and INR per million tokensAll Google API prices
Precision
DeepInfraCheapest$0.10₹9.43$0.08₹7.54$0.16₹15131,072FP8
NextBit$0.1475₹14$0.08₹7.54$0.35₹33131,072FP8
Nebius$0.15₹14$0.10₹9.43$0.30₹28110,000FP8
Parasail$0.1725₹16$0.08₹7.54$0.45₹42131,072FP8
View on OpenRouterEndpoint sourceSorted by the blended price: 3 parts input to 1 part output. Context limits differ by provider.

INR at ₹94.29 per $1. Prices fetched 14 Nov 2026.

More about this model

Frequently asked questions

How much memory does gemma-3-27b-it need? At an 8k context, about 19.6 GB at 4-bit, 34.5 GB at 8-bit and 65.2 GB at 16-bit (BF16). A longer context needs more.

Can I run gemma-3-27b-it on a Mac? The smallest current Mac that fits the 4-bit estimate of 19.6 GB is the Mac Studio M5 Max (36GB). An MLX build is available: mlx-community/gemma-3-27b-it-4bit.

Does the full context fit? We do not have a context length for this model. Our memory estimates use 8k, so long prompts need more memory than shown.

What does it cost through an API? The cheapest provider we found is DeepInfra, at $0.08 per 1M input tokens and $0.16 per 1M output tokens (₹7.54 and ₹15 at 94.29 rupees per dollar). Ranked by a 3:1 mix of input and output tokens.

License in plain English

Gemma terms. These are Google's Gemma terms of use. They allow use and distribution with conditions, including a prohibited use policy. This summary is not legal advice.

Read Gemma terms

Read about this license

OMHQ RigBench

Not yet tested. We show no speed or quality score without a measurement.

Revision history and sources