Skip to content
llmmodels
Chat LLMOpen weightsVisionHistorical

BLIP-2 (Q-Former)

by Salesforce · Jan 30, 2023

BLIP-2 (Q-Former) is an open-weight chat llm from Salesforce, released Jan 30, 2023. It has 1.5B parameters and accepts text, image input.

Provider
Salesforce
Released
Jan 30, 2023
Type
Chat LLM
Parameters
1.5B
Context window
—
Max output
—
Input
text, image
Output
text
Weights
Open weights
License
Open (permissive)
Knowledge cutoff
—
Status
Historical
Training compute
1.2e+21 FLOP
Training data
2.3B tokens/words

About BLIP-2 (Q-Former)

The cost of vision-and-language pre-training has become increasingly prohibitive due to end-to-end training of large-scale models. This paper proposes BLIP-2, a generic and efficient pre-training strategy that bootstraps vision-language pre-training from off-the-shelf frozen pre-trained image encoders and frozen large language models. BLIP-2 bridges the modality gap with a lightweight Querying Transformer, which is pre-trained in two stages. The first stage bootstraps vision-language representation learning from a frozen image encoder.

How to run BLIP-2 (Q-Former)

BLIP-2 (Q-Former) 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 1.5B parameters it needs roughly 1 GB of memory at 4-bit quantization.

BLIP-2 (Q-Former) vs alternatives

Alternatives to BLIP-2 (Q-Former)
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Phi-1.5openMicrosoftSep 20231.4B———68.4
tiny-random-LlamaForCausalLMopenHugging FaceApr 2023—————
Pythia-1.4bopenStability AIApr 20231.5B————
pythia-70m-seed1openEleutherAINov 2023—————
pythia-70m-seed2openEleutherAINov 2023—————
deepseek-coder-1.3b-baseopenDeepSeekOct 20231.3B————
BioGPT-LargeopenMicrosoftFeb 2023—————
Nous-Hermes-2-Vision-AlphaopenNous ResearchNov 2023—————

More models from Salesforce

All Salesforce models →
ModelReleasedParamsContextInput $/1MOutput $/1M
XGen-7BopenSep 20236.7B———
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———

Frequently asked questions

Who made BLIP-2 (Q-Former)?

BLIP-2 (Q-Former) was developed by Salesforce (United States of America). It was released on Jan 30, 2023.

Is BLIP-2 (Q-Former) open source?

Yes. BLIP-2 (Q-Former)'s weights are publicly available, so you can download and run it yourself.

How many parameters does BLIP-2 (Q-Former) have?

BLIP-2 (Q-Former) has 1.5B parameters.

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