Skip to content
llmmodels
Chat LLMOpen weights

codegen2-16B_P

by Salesforce · Apr 26, 2023

codegen2-16B_P is an open-weight chat llm from Salesforce, released Apr 26, 2023. It has 16B parameters.

Provider
Salesforce
Released
Apr 26, 2023
Type
Chat LLM
Parameters
16B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
apache-2.0
Knowledge cutoff
—
Status
Open weights
HF downloads (30d)
44.1K

How to run codegen2-16B_P

codegen2-16B_P is an open-weight model published on Hugging Face as Salesforce/codegen2-16B_P. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 16B parameters it needs roughly 10 GB of memory at 4-bit quantization.

codegen2-16B_P vs alternatives

Alternatives to codegen2-16B_P
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Llama 2-13BopenMetaJul 202313B———96.5
Baichuan2-13BopenBaichuanSep 202313B———91.8
vicuna-13b-v1.1openLMSYSApr 202313B———76.1
tiny-random-LlamaForCausalLMopenHugging FaceApr 2023—————
pythia-70m-seed1openEleutherAINov 2023—————
pythia-70m-seed2openEleutherAINov 2023—————
BioGPT-LargeopenMicrosoftFeb 2023—————
BioGPT-Large-PubMedQAopenMicrosoftFeb 2023—————

More models from Salesforce

All Salesforce models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Llama-xLAM-2-8b-fc-ropenMar 20258B———
GTA1-7B-2507openSep 20258.3B———
blip2-opt-2.7bopenFeb 20233.7B———
xLAM-2-1b-fc-ropenMar 20251.5B———
xLAM-1b-fc-ropenJul 20241.3B———
blip2-flan-t5-xlopenFeb 20233.9B———
instructblip-vicuna-7bopenMay 20237.9B———
blip2-opt-6.7bopenFeb 20237.8B———

Frequently asked questions

Who made codegen2-16B_P?

codegen2-16B_P was developed by Salesforce (United States). It was released on Apr 26, 2023.

Is codegen2-16B_P open source?

Yes. codegen2-16B_P's weights are publicly available under the apache-2.0 license on Hugging Face (Salesforce/codegen2-16B_P), so you can download and run it yourself.

How many parameters does codegen2-16B_P have?

codegen2-16B_P has 16B parameters.

Sources: huggingface · huggingface. Last updated 2026-11-22.