CodeGen2 16B

Released
2023-05-03
Last refreshed
2026-10-09
Status
Researched 1d ago
Open sourceCommercial use: permittedCodingCoding

CodeGen2 16B is a released coding model with open-source; evaluate it while provider pricing coverage matures.

Salesforce AI Research releases · 1 in the last 12 monthsChangelog →
Specifications
Family
CodeGen
Released
2023-05-03
Context
2k
Parameters
16B
Architecture
Decoder Only
Specialization
code
Openness
Open source
License
Apache 2.0OSI-approvedCommercial use: permitted
Weights
Available
Code
Unknown
Training
Pretrained
Created by

Ethical AI solutions for customer empowerment

San Francisco, California, United States
Founded 2014
Website
Pricing

No tracked provider token pricing is available yet.

About

CodeGen2 16B is the largest model in Salesforce AI Research's CodeGen2 release (May 2023), which came in 1B, 3.7B, 7B and 16B sizes. Unlike the first CodeGen models, CodeGen2 can fill in code in the middle of a file (infilling) using mask, separator and end-of-mask tokens, and it supports more programming languages. It was trained on the permissive-license subset of the deduplicated Stack v1.1 and has a 2,048-token context. Weights are on Hugging Face under Apache 2.0.

Provider price ladder

No tracked provider token pricing is available for this model yet.

Capabilities

No model capability flags are currently sourced.

Benchmark peer barsfor Coding

No task-mapped benchmark peers are available for this model yet.

Migration checks

No linked migration route is available for this model yet.

API versions

CodeGen2 16BSalesforce/codegen2-16BSalesforce/codegen2-16B_Pcodegen2-16b