LLM Reference

CodeGemma Models by Google DeepMind

Google DeepMindGemmaOpen weightsCoding
6 models2024Up to 8k ctxFrom $0.05/1M input

Last refreshed 2026-05-22. Next refresh: weekly.

Details

ResearcherGoogle DeepMind
LicenseGemma
Commercial useCommercial use: conditional
Models6
Released2024
Max context8k

Capabilities

Structured Outputs2 of 6 models

About

CodeGemma is a family of 6 AI models by Google DeepMind, released in 2024.

Decision facts

Best fit
codingstructured outputs
Capability starting point
CodeGemma on Google Vertex AI with 8k context and structured outputs
Lowest tracked input
CodeGemma 1.1 7B · $0.05/1M · DeepInfra
Closest related family
T5Gemma

Current Variants

Use-when guidance is based on each model's tracked capabilities, context window, release date, and replacement status.

4 in view2 retired

Use when the workload needs 8k context and 2B parameters.

2024-058k context2B parameters

Use when the workload needs 8k context, 7B parameters, and structured outputs.

2024-058k context7B parametersstructured outputs

Use when the workload needs 8k context and 2B parameters.

2024-048k context2B parameters

Use when the workload needs 8k context and 7B parameters.

2024-048k context7B parameters

Release Timeline

2 release groups
2024-05
2 current · 1 retired
CodeGemma 1.1 2B
8k context2B parameters
Current
CodeGemma 1.1 7B
8k context7B parametersstructured outputs
Archived
CodeGemma on Google Vertex AI
8k context7B parametersstructured outputs
Current
2024-04
2 current · 1 retired
CodeGemma 2B
8k context2B parameters
Current
CodeGemma 7B
8k context7B parameters
Current
CodeGemma 7B Instruct
8k context7B parameters
Archived

Specifications(6 models)

CodeGemma model specifications comparison
ModelReleasedContextParametersStructured Outputs
CodeGemma 1.1 2B2024-058k2BNo
CodeGemma on Google Vertex AI2024-058k7BYes
CodeGemma 2B2024-048k2BNo
CodeGemma 7B2024-048k7BNo

Pricing

CodeGemma model pricing by provider
ModelProviderInput / 1MOutput / 1MType
CodeGemma 2BFireworks AI$0.1$0.1Provisioned
CodeGemma on Google Vertex AIGCP Vertex AI$0.125$0.375Serverless
CodeGemma 7BFireworks AI$0.2$0.2Serverless