CodeGen logo

CodeGen

salesforce/CodeGen

A family of open-source models for program synthesis

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

28views this month

5.2k stars420 forksLast push Jun 2, 2026 Python Apache-2.0

Decision brief

CodeGen is a family of open-source models for program synthesis developed by Salesforce AI Research, available in various sizes from 350M to 16B parameters. It is trained on TPU-v4 and competes with OpenAI Codex.

Good fit when

  • When you need an open-source alternative to proprietary models like OpenAI Codex for program synthesis.
  • If you require models that are trained on TPU-v4, offering potential performance benefits over models trained on other hardware.

Avoid when

  • If your project strictly requires proprietary models with specific features not available in open-source alternatives.
  • When the hardware requirements for TPU-v4 trained models are not met or are not preferred in your environment.

Observed Sep 18, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Slowing (107d since push)
As of Sep 18, 2026
Provenance
Not a fork · Organization account
As of Sep 18, 2026
Security (OSV)
No lockfile
As of Sep 18, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install CodeGen
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

CodeGen is a series of models developed by Salesforce AI Research for generating code through program synthesis. It includes versions CodeGen1 and CodeGen2, with various sizes from 350M to 16B parameters. The models are trained on TPU-v4 and are competitive with OpenAI Codex.

Capability facts

Languages
python

Source: github.language · Sep 18, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Sep 18, 2026)

```python import torch
Source link

Tags

README

<p align="center" <img src="assets/codegen logo.png" width="25%" </p CodeGen Official release for the CodeGen1 and CodeGen2 models ( , , , ) for Program Synthesis by Salesforce AI Research. <p align="center" <img src="assets/two.gif" width="60%" </p News July 2023 CodeGen2.5 rele...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.