Skip to content
← Models
Open weightsGoogle/10 trustMetrics-checked
CodeGemma 7B logo

CodeGemma 7B

Google's Gemma-licensed code model — lightweight completion and generation for everyday coding.

Visit official page →

About

CodeGemma 7B (April 2024) is Google's code-specialized Gemma model: code completion, generation, and chat, trained on a large code corpus. The 7B size runs on consumer hardware.

Licensed under the Gemma Terms of Use: custom, NOT open source — commercial use is allowed under the terms but with restrictions (including prohibited-use clauses). Review before product use. A 2024 model in a 2026 field: superseded on quality by Qwen2.5-Coder and Qwen3-Coder, but historically significant as Google's open-weights code entry and still usable for lightweight completion. Direct adoption is small (2.9k HF downloads).

Specs

Context window

8,192 tokens

Pricing

Free to download; commercial use under Gemma Terms of Use (custom, review terms).

Free quota

Free — download and run the weights yourself; verify Gemma terms for your use case.

API access

Self-hosted (Transformers; Hugging Face checkpoints).

Weights

Open weights

Released

April 10, 2024

Benchmarks

Provider-claimed at release (2024): competitive HumanEval for its size — treat as provider-claimed and dated. No current leaderboard presence.

Provider-reported unless a source says otherwise. Benchmarks are marketing-adjacent by nature — treat them as directional.

Use cases

codecodingprototypingide-extensions

Trust score — 5/10

/10 trustMetrics-checked

Scored 5/10 (metrics tier). A usable lightweight code model with Google provenance, but limited: (1) Gemma Terms are custom, not open source; (2) 2024-era, superseded by Qwen2.5-Coder-7B on quality; (3) small adoption (2.9k HF downloads); (4) 8K context is tight by current standards. Historical interest more than a current recommendation.

How the trust score is built

Full methodology →
Adoption · stars/downloads, log-scaled vs peers
5.5/10
Maintenance · recency, releases, issue load
4.0/10
Openness · license + docs
5.3/10
Manual review · sanity read + red-flag check
5.0/10
  • · HF downloads 2,949 (peer-normalized)
  • · released 916 days ago
  • · manual review: 2024-era, superseded by Qwen2.5-Coder-7B; historical interest; license: Gemma Terms of Use — custom, not open source; commercial use allowed with restrictions

More in the codegemma family

Sources