Kosmos-2
by Microsoft · Jun 26, 2023
Kosmos-2 is an open-weight chat llm from Microsoft, released Jun 26, 2023. It has 1.6B parameters and accepts text, image input.
- Provider
- Microsoft
- Released
- Jun 26, 2023
- Type
- Chat LLM
- Parameters
- 1.6B
- Context window
- —
- Max output
- —
- Input
- text, image
- Output
- text
- Weights
- Open weights
- License
- Open (permissive)
- Knowledge cutoff
- —
- Status
- Historical
- Training compute
- 4.6e+20 FLOP
- Training data
- 25B tokens/words
About Kosmos-2
We introduce Kosmos-2, a Multimodal Large Language Model (MLLM), enabling new capabilities of perceiving object descriptions (e.g., bounding boxes) and grounding text to the visual world. Specifically, we represent refer expressions as links in Markdown, i.e., ``[text span](bounding boxes)', where object descriptions are sequences of location tokens. Together with multimodal corpora, we construct large-scale data of grounded image-text pairs (called GrIT) to train the model.
How to run Kosmos-2
Kosmos-2 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.6B parameters it needs roughly 1 GB of memory at 4-bit quantization.
Kosmos-2 vs alternatives
- Kosmos-2 vs tiny-random-LlamaForCausalLM
- Kosmos-2 vs pythia-70m-seed1
- Kosmos-2 vs pythia-70m-seed2
- Kosmos-2 vs Pythia-1.4b
- Kosmos-2 vs Nous-Hermes-2-Vision-Alpha
- Kosmos-2 vs Refact-1.6B
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| tiny-random-LlamaForCausalLMopen | Hugging Face | Apr 2023 | — | — | — | — | — |
| pythia-70m-seed1open | EleutherAI | Nov 2023 | — | — | — | — | — |
| pythia-70m-seed2open | EleutherAI | Nov 2023 | — | — | — | — | — |
| Pythia-1.4bopen | Stability AI | Apr 2023 | 1.5B | — | — | — | — |
| Nous-Hermes-2-Vision-Alphaopen | Nous Research | Nov 2023 | — | — | — | — | — |
| Refact-1.6Bopen | Refact AI | Aug 2023 | 1.6B | — | — | — | — |
| JIANGopen | K.D. Feddersen (KDF) | Aug 2023 | — | — | — | — | — |
| West Lake (“Xīhú / 西湖大模型”)open | West Lake Xinchen / Xinchen AI / 西湖心辰(杭州)科技有限公司 | Jul 2023 | — | — | — | — | — |
More models from Microsoft
All Microsoft models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Phi 4open | Dec 2024 | 15B | 16K | $0.07 | $0.14 |
| Phi-2open | Dec 2023 | 2.8B | — | — | — |
| phi-3-small 7.4Bopen | Apr 2024 | 7.4B | — | — | — |
| phi-3-medium 14Bopen | Apr 2024 | 14B | — | — | — |
| phi-3-mini 3.8Bopen | Apr 2024 | 3.8B | — | — | — |
| Phi-1.5open | Sep 2023 | 1.4B | — | — | — |
| Phi 4 Miniopen | Feb 2025 | 3.8B | 8K | $0.17 | $0.68 |
| Florence-2-baseopen | Jun 2024 | 232M | — | — | — |
Frequently asked questions
Who made Kosmos-2?
Kosmos-2 was developed by Microsoft (United States of America). It was released on Jun 26, 2023.
Is Kosmos-2 open source?
Yes. Kosmos-2's weights are publicly available, so you can download and run it yourself.
How many parameters does Kosmos-2 have?
Kosmos-2 has 1.6B parameters.
Sources: epoch · paper. Last updated 2026-11-22.