Home/Compare/CodeGen vs CodeT5

Comparison

CodeGen vs CodeT5

Verdict

Pick CodeGen if codeGen is a series of open-source large language models designed for program synthesis. Trained on TPUs, CodeGen offers several versions with varying capabilities from basic code generation to advanced infill sampling; pick CodeT5 if codeT5, an open-source LLM for code understanding and generation under BSD-3-Clause license.

Markdown twin · CodeGen alternatives · CodeT5 alternatives

GraphCanon updated 3w

CodeGen logo

CodeGen

salesforce/CodeGen

5.2kpushed Jun 2, 2026
vs
CodeT5 logo

CodeT5

salesforce/CodeT5

3.1kpushed Jun 25, 2026

Trust & integrity

SignalCodeGenCodeT5
Maintenance
Steady (60d since push)
As of 3w · github_public_v1
Archived (38d since push)
As of 3w · github_public_v1
Provenance
Not a fork · Organization account
As of 3w · github_public_v1
Not a fork · Organization account
As of 3w · github_public_v1
OSV dependency advisories
No lockfile (source not queried)
As of 1mo · osv@v1
No lockfile (source not queried)
As of 1mo · osv@v1
deps.dev advisories
Not queried
deps.dev@v1
Not queried
deps.dev@v1
OpenSSF Scorecard
Not queried
openssf-scorecard@v1
Not queried
openssf-scorecard@v1

Tagline

CodeGen
Family of open-source models for program synthesis.
CodeT5
Home of CodeT5: Open Code LLMs for Code Understanding and Generation

Stars

CodeGen
5.2k
CodeT5
3.1k

Forks

CodeGen
421
CodeT5
487

Open issues

CodeGen
48
CodeT5
88

Language

CodeGen
Python
CodeT5
Python

Adopt for

CodeGen
CodeGen is a series of open-source large language models designed for program synthesis. Trained on TPUs, CodeGen offers several versions with varying capabilities from basic code generation to advanced infill sampling.
CodeT5
CodeT5, an open-source LLM for code understanding and generation under BSD-3-Clause license.

Persona

CodeGen
-
CodeT5
-

Runtime

CodeGen
-
CodeT5
-

License

CodeGen
Apache-2.0
CodeT5
BSD-3-Clause

Last pushed

CodeGen
Jun 2, 2026
CodeT5
Jun 25, 2026

Categories

CodeGen
LLM Frameworks, Model Training
CodeT5
Developer Tools, LLM Frameworks

Trust and health

Maintenance

CodeGen
Steady (60%)
CodeT5
Archived (8%)

Days since push

CodeGen
60d
CodeT5
38d

Archived on GitHub

CodeGen
No
CodeT5
Yes

Open issues (now)

CodeGen
48
CodeT5
88

Full report

Choose CodeGen if…

  • License: CodeGen is Apache-2.0, CodeT5 is BSD-3-Clause.
  • Tags unique to CodeGen: codex, generativemodel, languagemodel, llm.
  • Also covers Model Training.
  • When you require high-performance model training and code generation that matches or exceeds the performance of OpenAI Codex on specific tasks

When NOT to use CodeGen

  • In scenarios where the model's primary use is not centered around code generation or program synthesis, as its specialized training may limit its effectiveness for other types of generative tasks
  • If your project strictly requires a smaller memory footprint or simpler deployment because advanced models like CodeGen2.5 require significant computational resources and setup

Choose CodeT5 if…

  • License: CodeT5 is BSD-3-Clause, CodeGen is Apache-2.0.
  • Tags unique to CodeT5: code generation, code-intelligence, code-understanding, language-model.
  • Also covers Developer Tools.
  • When focusing on Python projects needing advanced code understanding or generation.

When NOT to use CodeT5

  • If the project requires proprietary licensing protection, given its open-source nature under BSD-3-Clause.
  • Avoid if real-time performance is a crucial requirement since LLMs typically lag in speed.

Explore

Sources

Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.

GitHub stars on cards: CodeGen 5.2k · CodeT5 3.1k (synced Aug 2, 2026).

Common questions

What is the difference between CodeGen and CodeT5?
CodeGen: Family of open-source models for program synthesis.. CodeT5: Home of CodeT5: Open Code LLMs for Code Understanding and Generation. See the comparison table for live GitHub stats and shared categories.
When should I choose CodeGen over CodeT5?
Choose CodeGen over CodeT5 when License: CodeGen is Apache-2.0, CodeT5 is BSD-3-Clause; Tags unique to CodeGen: codex, generativemodel, languagemodel, llm; Also covers Model Training; When you require high-performance model training and code generation that matches or exceeds the performance of OpenAI Codex on specific tasks.
When should I choose CodeT5 over CodeGen?
Choose CodeT5 over CodeGen when License: CodeT5 is BSD-3-Clause, CodeGen is Apache-2.0; Tags unique to CodeT5: code generation, code-intelligence, code-understanding, language-model; Also covers Developer Tools; When focusing on Python projects needing advanced code understanding or generation.
When should I avoid CodeGen?
In scenarios where the model's primary use is not centered around code generation or program synthesis, as its specialized training may limit its effectiveness for other types of generative tasks If your project strictly requires a smaller memory footprint or simpler deployment because advanced models like CodeGen2.5 require significant computational resources and setup
When should I avoid CodeT5?
If the project requires proprietary licensing protection, given its open-source nature under BSD-3-Clause. Avoid if real-time performance is a crucial requirement since LLMs typically lag in speed.
Is CodeGen or CodeT5 more popular on GitHub?
CodeGen has more GitHub stars (5,179 vs 3,098). Stars measure visibility, not whether either tool fits your constraints.
Are CodeGen and CodeT5 open source?
Yes - both are open-source projects on GitHub (CodeGen: Apache-2.0, CodeT5: BSD-3-Clause).
Where can I find alternatives to CodeGen or CodeT5?
GraphCanon lists graph-backed alternatives at CodeGen alternatives and CodeT5 alternatives (CodeGen markdown twin, CodeT5 markdown twin), ranked by typed relationship edges rather than popularity votes.
Is there a machine-readable version of this comparison?
Yes. The markdown twin at this comparison mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
Which is better maintained, CodeGen or CodeT5?
CodeGen: Steady. CodeT5: Archived. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.
Where are the full trust reports for CodeGen and CodeT5?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: CodeGen trust report; CodeT5 trust report.

Was this helpful?

Anonymous feedback helps us improve pages and translations.