ApX logoApX logo
CalculatorCoursesPricing

Gemma 3 270M

Open Source
Open Weights

Parameters

270M

Context Length

32K

Modality

Text

Architecture

Dense

KV Cache Rate

48 KB/tok

License

Apache 2.0

Release Date

14 Aug 2025

Knowledge Cutoff

Aug 2024

API Pricing (per 1M)

Self-hosted only

Hardware & System Requirements

Precision

Context

Workload Memory: 3.00 GB

vLLM

INT4 · 8K context · 1 user

Base Weights: 0.13 GB

KV Cache: 0.38 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

1x NVIDIA L4 24GB

vLLM

3.0 / 21.6 GB

1x RTX 3060 12GB

llama.cpp

3.0 / 11.2 GB

Apple M4 24GB

llama.cpp

3.0 / 18.0 GB

Determine requirements for your specific workload:

Runtime requirements

Checkpoint format

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 4.40.1

ArchitecturePrecisionAttention kernel

Blackwell, Hopper

Native FP16

FlashAttention-3

Ada Lovelace, Ampere

Native FP16

FlashAttention-2

Architecture Diagram

Input TokensToken EmbeddingPosition: AbsoluteHidden: 1k · Context: 32Kx 12 layersRMSNormPre-AttentionMulti-Head Attention16Q / 16KV headsHead dim: 64+RMSNormPre-FFNFeed-Forward NetworkGELU+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#219

BenchmarkScoreRank

Intelligence Index

Artificial Analysis

0.05

#274

Rankings

Overall Rank

#219

Coding Rank

-

About Gemma 3 270M

Gemma 3 270M is Google's ultra-compact open-weights text model engineered for on-device classification, entity extraction, and edge routing. It features a 256K vocabulary supporting 140+ languages across a 32K token context window.

Specifications

Attention

Attention Structure

Multi-Head Attention

Attention Heads

16

Key-Value Heads

16

Position Embedding

Absolute Position Embedding

Normalization

RMS Normalization

Activation Function

GELU

Dimensions

Base Precision

FP16

Hidden Dimension Size

1,024

Number of Layers

12

About Gemma 3

Gemma 3 is a family of open, lightweight models from Google. It introduces multimodal image and text processing, supports over 140 languages, and features extended context windows up to 128K tokens. Models are available in multiple parameter sizes for diverse applications.


Other Gemma 3 Models