Skip to content
llmmodels
Chat LLMOpen weights

shieldgemma-2b

by Google DeepMind · Jul 16, 2024

shieldgemma-2b is an open-weight chat llm from Google DeepMind, released Jul 16, 2024. It has 2.6B parameters.

Released
Jul 16, 2024
Type
Chat LLM
Parameters
2.6B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
gemma
Knowledge cutoff
—
Status
Open weights
HF downloads (30d)
2.8K

How to run shieldgemma-2b

shieldgemma-2b is an open-weight model published on Hugging Face as google/shieldgemma-2b. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 2.6B parameters it needs roughly 2 GB of memory at 4-bit quantization.

shieldgemma-2b vs alternatives

Alternatives to shieldgemma-2b
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Qwen2.5-Coder-3BopenAlibaba (Qwen)Nov 20243.1B———96.8
Mistral Large (latest)openMistral AINov 2024—125K$0.5$1.50—
MobileLLM-125MopenMetaOct 2024—————
Pixtral Large (latest)openMistral AINov 2024—125K$2$6—
Llama 3.2 3B InstructopenMetaSep 20243.2B128K$0.05$0.33—
Command RopenCohereAug 2024—125K$0.15$0.6—
Qwen2.5-3BopenAlibaba (Qwen)Sep 20243.1B————
pythia-410m-seed3openEleutherAIJan 2024—————

More models from Google DeepMind

All Google DeepMind models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Gemma 4 31B ITopenApr 202631B256KFreeFree
Gemma 4 26B A4B ITopenApr 202626B (4B act.)256KFreeFree
Gemini 4 ArgonOct 2026—1M$2$10
Gemini 4 CarbonNov 2026—1M$2$10
Gemini 3.8 FlashSep 2026—1M$0.75$3.75
Gemini 4 HydrogenNov 2026—1M$1.50$7.50
Gemini Pro LatestFeb 2026—1M$2$12
Gemini 3.7 FlashAug 2026—1M$0.75$3.75

Frequently asked questions

Who made shieldgemma-2b?

shieldgemma-2b was developed by Google DeepMind (United States). It was released on Jul 16, 2024.

Is shieldgemma-2b open source?

Yes. shieldgemma-2b's weights are publicly available under the gemma license on Hugging Face (google/shieldgemma-2b), so you can download and run it yourself.

How many parameters does shieldgemma-2b have?

shieldgemma-2b has 2.6B parameters.

Sources: huggingface · huggingface. Last updated 2026-11-22.