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
- BLIP-2 (Q-Former) vs Phi-1.5
- BLIP-2 (Q-Former) vs tiny-random-LlamaForCausalLM
- BLIP-2 (Q-Former) vs Pythia-1.4b
- BLIP-2 (Q-Former) vs pythia-70m-seed1
- BLIP-2 (Q-Former) vs pythia-70m-seed2
- BLIP-2 (Q-Former) vs deepseek-coder-1.3b-base
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Phi-1.5open | Microsoft | Sep 2023 | 1.4B | — | — | — | 68.4 |
| tiny-random-LlamaForCausalLMopen | Hugging Face | Apr 2023 | — | — | — | — | — |
| Pythia-1.4bopen | Stability AI | Apr 2023 | 1.5B | — | — | — | — |
| pythia-70m-seed1open | EleutherAI | Nov 2023 | — | — | — | — | — |
| pythia-70m-seed2open | EleutherAI | Nov 2023 | — | — | — | — | — |
| deepseek-coder-1.3b-baseopen | DeepSeek | Oct 2023 | 1.3B | — | — | — | — |
| BioGPT-Largeopen | Microsoft | Feb 2023 | — | — | — | — | — |
| Nous-Hermes-2-Vision-Alphaopen | Nous Research | Nov 2023 | — | — | — | — | — |
More models from Salesforce
All Salesforce models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| XGen-7Bopen | Sep 2023 | 6.7B | — | — | — |
| 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 | — | — | — |
| codegen2-16B_Popen | Apr 2023 | 16B | — | — | — |
| blip2-flan-t5-xlopen | Feb 2023 | 3.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.