Skip to content
llmmodels
Chat LLMOpen weightsHistorical

XGen-7B

by Salesforce · Sep 7, 2023

XGen-7B is an open-weight chat llm from Salesforce, released Sep 7, 2023. It has 6.7B parameters. It scores 70.3 on the Epoch Capabilities Index.

Provider
Salesforce
Released
Sep 7, 2023
Type
Chat LLM
Parameters
6.7B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
Open (permissive)
Knowledge cutoff
—
Status
Historical
Training compute
8.0e+22 FLOP
Training data
1429.5B tokens/words

About XGen-7B

Large Language Models (LLMs) have become ubiquitous across various domains, transforming the way we interact with information and conduct research. However, most high-performing LLMs remain confined behind proprietary walls, hindering scientific progress. Most open-source LLMs, on the other hand, are limited in their ability to support longer sequence lengths, which is a key requirement for many tasks that require inference over an input context. To address this, we have trained XGen-7B, a series of 7B parameter models on up to 8K sequence length for up to 1.5T tokens.

XGen-7B benchmarks

All benchmarks →

Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.

How to run XGen-7B

XGen-7B is an open-weight model. 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 6.7B parameters it needs roughly 4 GB of memory at 4-bit quantization.

XGen-7B vs alternatives

Alternatives to XGen-7B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Falcon-7BopenTechnology Innovation InstituteApr 20237.2B———73.1
MPT-7BopenMosaicMLMay 20237B———73.4
Phi-1.5openMicrosoftSep 20231.4B———68.4
vicuna-13b-v1.1openLMSYSApr 202313B———76.1
Gemma 2BopenGoogle DeepMindFeb 20242.5B———75.7
Llama 2-7BopenMetaJul 20236.7B———83.2
RedPajama-INCITE-7B-BaseopenTogether AIJun 20236.9B———57.7
Qwen2.5-Coder-0.5BopenAlibaba (Qwen)Nov 2024494M———68.1

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———
codegen2-16B_PopenApr 202316B———
blip2-flan-t5-xlopenFeb 20233.9B———
instructblip-vicuna-7bopenMay 20237.9B———

Frequently asked questions

Who made XGen-7B?

XGen-7B was developed by Salesforce (United States of America). It was released on Sep 7, 2023.

Is XGen-7B open source?

Yes. XGen-7B's weights are publicly available, so you can download and run it yourself.

How many parameters does XGen-7B have?

XGen-7B has 6.7B parameters.

Sources: epoch · paper. Last updated 2026-11-22.