Skip to content
llmmodels
Chat LLMOpen weightsVisionHistorical

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

Alternatives to Kosmos-2
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
tiny-random-LlamaForCausalLMopenHugging FaceApr 2023—————
pythia-70m-seed1openEleutherAINov 2023—————
pythia-70m-seed2openEleutherAINov 2023—————
Pythia-1.4bopenStability AIApr 20231.5B————
Nous-Hermes-2-Vision-AlphaopenNous ResearchNov 2023—————
Refact-1.6BopenRefact AIAug 20231.6B————
JIANGopenK.D. Feddersen (KDF)Aug 2023—————
West Lake (“Xīhú / 西湖大模型”)openWest Lake Xinchen / Xinchen AI / 西湖心辰(杭州)科技有限公司Jul 2023—————

More models from Microsoft

All Microsoft models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Phi 4openDec 202415B16K$0.07$0.14
Phi-2openDec 20232.8B———
phi-3-small 7.4BopenApr 20247.4B———
phi-3-medium 14BopenApr 202414B———
phi-3-mini 3.8BopenApr 20243.8B———
Phi-1.5openSep 20231.4B———
Phi 4 MiniopenFeb 20253.8B8K$0.17$0.68
Florence-2-baseopenJun 2024232M———

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.