whatmodel.sh / CodeGemma 7B IT (v1.0)
CodeGemma 7B IT (v1.0)
↗ share
+ contribute
CodeGemma 7B IT (v1.0) is an open-weights language model from Google, released March 2024. Its published size is 8.54B parameters. Licence: gemma.
Catalogue identity notes
Maker repo google/codegemma-7b-it @078cdc5: licence tag gemma. 8,537,680,896 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-03: month the maker's Hugging Face repo was created (createdAt 2024-03-21). Instruction-tuned CodeGemma 7B, original release; codegemma-1.1-7b-it is separate. Ollama tags codegemma:7b-instruct-q4_K_M, codegemma:7b-instruct-q8_0 (sizes as listed on the tags page, observed 2026-09-29).
$ how it compares
The LLMs ranked either side of CodeGemma 7B IT (v1.0), out of 828 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 582 | 43±3 | local | |||
| 583 | 43±2 | local | |||
| 584 | 43±1 | local | |||
| 585 | 42±3 | api price unknown +local | |||
| 586 | 42±1 | local | |||
| more from Google | |||||
| 9 | 82±1 | limited preview | |||
| 23 | 77±1 | api $1.50/M | |||
| 32 | 76±1 | api $1.50/M | |||
$ what it's good at
coding▁▁▁▃▆██▇▆▄▃▁ #350 of 458 · 91% of its score · 7 tests
Beats LFM2.5 2.6B, LFM2.5 8B-A1B, Qwen3-VL 2B Thinking here, though they rank higher overall. Trails Phi-3-mini-128k-instruct (Apr 2024), Code Tulu 2 13B, DeepSeek LLM 67B Chat here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| HumanEval +1 | 60.4% ✎ | ▁·▁▁▃▄▆▅█▃▁▁ beats 46/99 | 41% |
| HumanEval+ | 51.8% ✎ | ▁·▁▁▁▃▄▄▄█▃▁ beats 45/99 | 27% |
| HumanEvalSynthesize (HumanEvalPack, 6-language average) | 41.6% ✎ | ▁·▂▁▂▆▅█▄▄▁▂ beats 21/35 | 7.1% |
| HumanEvalExplain (HumanEvalPack, 6-language average) | 38.4% ✎ | ▄▇█▃▄▇▄▁▇▃·▁ beats 30/35 | 4.8% |
| MBPP+ | 56.9% ✎ | ▁···▁▁▂▅▇█▆▂ beats 33/75 | 4.7% |
| HumanEvalFix (HumanEvalPack, 6-language average) | 45.8% ✎ | ▁·▁▁▄██▄█▁▅▅ beats 31/35 | 4.7% |
| MBPP lab | 54.2% ✎ | ▁▁▁▄▅█▄▅▃▁▂▁ beats 40/81 | 2.1% |
other tests2 not in a task · 8.6% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BigCodeBench (Complete) | 38.3% ✎ | ▂▁▁▄▂▅▇█▆▂▂▂ beats 23/58 | 4.4% |
| BigCodeBench (Instruct) | 32.1% ✎ | ▃▂·▆▆██▆▅▃▃▃ beats 10/33 | 4.3% |
$ where to run it
llama.cpp · recommended
version
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run CodeGemma 7B IT (v1.0) · needs ~5.3 GB · from huggingface.co/lmstudio-communitychat in the terminal
llama cli -hf lmstudio-community/codegemma-7b-it-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf lmstudio-community/codegemma-7b-it-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run CodeGemma 7B IT (v1.0) · needs ~5.3 GB · from huggingface.co/lmstudio-community
- Or download it in the terminal
lms get https://huggingface.co/lmstudio-community/codegemma-7b-it-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run CodeGemma 7B IT (v1.0) · needs ~5.3 GB · from ollama.comchat in the terminal
ollama run codegemma:7b-instruct-q4_K_M
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run CodeGemma 7B IT (v1.0) · needs ~5.9 GB, Mac only · from huggingface.co/mlx-communitychat in the terminal
mlx_lm.chat --model mlx-community/codegemma-7b-it-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model mlx-community/codegemma-7b-it-4bit
Official weights and documentation: huggingface.co/google ↗
$ how the score was worked out · EvalPlus / EvalPerf published… 67%, Granite Code Models: A Family… 17%, BigCodeBench paper (Zhuo et a… 9% and 1 more
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 3 | 67% | |
| 3 | 17% | |
| 2 | 9% | |
| 2 | 8% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 42.5 |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json