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
- codegen2-16B_P vs Llama 2-13B
- codegen2-16B_P vs Baichuan2-13B
- codegen2-16B_P vs vicuna-13b-v1.1
- codegen2-16B_P vs tiny-random-LlamaForCausalLM
- codegen2-16B_P vs pythia-70m-seed1
- codegen2-16B_P vs pythia-70m-seed2
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Llama 2-13Bopen | Meta | Jul 2023 | 13B | — | — | — | 96.5 |
| Baichuan2-13Bopen | Baichuan | Sep 2023 | 13B | — | — | — | 91.8 |
| vicuna-13b-v1.1open | LMSYS | Apr 2023 | 13B | — | — | — | 76.1 |
| tiny-random-LlamaForCausalLMopen | Hugging Face | Apr 2023 | — | — | — | — | — |
| pythia-70m-seed1open | EleutherAI | Nov 2023 | — | — | — | — | — |
| pythia-70m-seed2open | EleutherAI | Nov 2023 | — | — | — | — | — |
| BioGPT-Largeopen | Microsoft | Feb 2023 | — | — | — | — | — |
| BioGPT-Large-PubMedQAopen | Microsoft | Feb 2023 | — | — | — | — | — |
More models from Salesforce
All Salesforce models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Llama-xLAM-2-8b-fc-ropen | Mar 2025 | 8B | — | — | — |
| GTA1-7B-2507open | Sep 2025 | 8.3B | — | — | — |
| blip2-opt-2.7bopen | Feb 2023 | 3.7B | — | — | — |
| xLAM-2-1b-fc-ropen | Mar 2025 | 1.5B | — | — | — |
| xLAM-1b-fc-ropen | Jul 2024 | 1.3B | — | — | — |
| blip2-flan-t5-xlopen | Feb 2023 | 3.9B | — | — | — |
| instructblip-vicuna-7bopen | May 2023 | 7.9B | — | — | — |
| blip2-opt-6.7bopen | Feb 2023 | 7.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.