Skip to content
llmmodels
Chat LLMOpen weights

codegemma-7b

by Google DeepMind · Mar 21, 2024

codegemma-7b is an open-weight chat llm from Google DeepMind, released Mar 21, 2024. It has 8.5B parameters.

Released
Mar 21, 2024
Type
Chat LLM
Parameters
8.5B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
gemma
Knowledge cutoff
—
Status
Open weights
HF downloads (30d)
3K

How to run codegemma-7b

codegemma-7b is an open-weight model published on Hugging Face as google/codegemma-7b. 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 8.5B parameters it needs roughly 5 GB of memory at 4-bit quantization.

codegemma-7b vs alternatives

Alternatives to codegemma-7b
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Llama-3.1-8B-InstructopenMetaJul 20248B128K$0.02$0.04110.9
Llama 3-8BopenMetaApr 20248B———109.1
Yi-9Bopen01.AIMar 20248.8B———102.2
Mistral NemoopenMistral AIJul 202412B128K$0.029$0.03113.9
Qwen/Qwen2.5-7B-InstructopenAlibaba (Qwen)Sep 20247.6B33K$0.05$0.05—
Mistral Large (latest)openMistral AINov 2024—125K$0.5$1.50—
Qwen2.5-7BopenAlibaba (Qwen)Sep 20247.6B————
Phi 4openMicrosoftDec 202415B16K$0.07$0.14129.2

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 codegemma-7b?

codegemma-7b was developed by Google DeepMind (United States). It was released on Mar 21, 2024.

Is codegemma-7b open source?

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

How many parameters does codegemma-7b have?

codegemma-7b has 8.5B parameters.

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