Skip to content
llmmodels
Chat LLMOpen weightsVisionHistorical

CogAgent

by Zhipu AI (Z.ai) · Dec 14, 2023

CogAgent is an open-weight chat llm from Zhipu AI (Z.ai), released Dec 14, 2023. It has 18B parameters and accepts text, image input.

Released
Dec 14, 2023
Type
Chat LLM
Parameters
18B
Context window
—
Max output
—
Input
text, image
Output
text
Weights
Open weights
License
Open (restricted)
Knowledge cutoff
—
Status
Historical
Training compute
6.7e+22 FLOP

About CogAgent

People are spending an enormous amount of time on digital devices through graphical user interfaces (GUIs), e.g., computer or smartphone screens. Large language models (LLMs) such as ChatGPT can assist people in tasks like writing emails, but struggle to understand and interact with GUIs, thus limiting their potential to increase automation levels. In this paper, we introduce CogAgent, an 18-billion-parameter visual language model (VLM) specializing in GUI understanding and navigation.

How to run CogAgent

CogAgent 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 18B parameters it needs roughly 11 GB of memory at 4-bit quantization.

CogAgent vs alternatives

Alternatives to CogAgent
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Qwen-14BopenAlibaba (Qwen)Sep 202314B———101.8
Llama 2-13BopenMetaJul 202313B———96.5
tiny-random-LlamaForCausalLMopenHugging FaceApr 2023—————
Baichuan2-13BopenBaichuanSep 202313B———91.8
pythia-70m-seed1openEleutherAINov 2023—————
pythia-70m-seed2openEleutherAINov 2023—————
BioGPT-LargeopenMicrosoftFeb 2023—————
BioGPT-Large-PubMedQAopenMicrosoftFeb 2023—————

More models from Zhipu AI (Z.ai)

All Zhipu AI (Z.ai) models →
ModelReleasedParamsContextInput $/1MOutput $/1M
GLM-5.3-FlashopenAug 2026321B1M$0.12$0.418
GLM-5.3openAug 2026753B1M$1.20$4.18
GLM-5.2openJun 2026753B1M$1.20$4.18
GLM-5.1openApr 2026754B200K$0.896$3.59
GLM-5openFeb 2026754B200K$0.598$2.69
GLM-4.7openDec 2025358B200K$0.448$2.09
GLM-4.7-FlashopenJan 202631B200KFreeFree
GLM-4.5-AiropenJul 2025110B128K$0.12$0.896

Frequently asked questions

Who made CogAgent?

CogAgent was developed by Zhipu AI (Z.ai) (China,China). It was released on Dec 14, 2023.

Is CogAgent open source?

Yes. CogAgent's weights are publicly available, so you can download and run it yourself.

How many parameters does CogAgent have?

CogAgent has 18B parameters.

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