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.
- Provider
- Zhipu AI (Z.ai)
- 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
- CogAgent vs Qwen-14B
- CogAgent vs Llama 2-13B
- CogAgent vs tiny-random-LlamaForCausalLM
- CogAgent vs Baichuan2-13B
- CogAgent vs pythia-70m-seed1
- CogAgent vs pythia-70m-seed2
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Qwen-14Bopen | Alibaba (Qwen) | Sep 2023 | 14B | — | — | — | 101.8 |
| Llama 2-13Bopen | Meta | Jul 2023 | 13B | — | — | — | 96.5 |
| tiny-random-LlamaForCausalLMopen | Hugging Face | Apr 2023 | — | — | — | — | — |
| Baichuan2-13Bopen | Baichuan | Sep 2023 | 13B | — | — | — | 91.8 |
| pythia-70m-seed1open | EleutherAI | Nov 2023 | — | — | — | — | — |
| pythia-70m-seed2open | EleutherAI | Nov 2023 | — | — | — | — | — |
| BioGPT-Largeopen | Microsoft | Feb 2023 | — | — | — | — | — |
| BioGPT-Large-PubMedQAopen | Microsoft | Feb 2023 | — | — | — | — | — |
More models from Zhipu AI (Z.ai)
All Zhipu AI (Z.ai) models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| GLM-5.3-Flashopen | Aug 2026 | 321B | 1M | $0.12 | $0.418 |
| GLM-5.3open | Aug 2026 | 753B | 1M | $1.20 | $4.18 |
| GLM-5.2open | Jun 2026 | 753B | 1M | $1.20 | $4.18 |
| GLM-5.1open | Apr 2026 | 754B | 200K | $0.896 | $3.59 |
| GLM-5open | Feb 2026 | 754B | 200K | $0.598 | $2.69 |
| GLM-4.7open | Dec 2025 | 358B | 200K | $0.448 | $2.09 |
| GLM-4.7-Flashopen | Jan 2026 | 31B | 200K | Free | Free |
| GLM-4.5-Airopen | Jul 2025 | 110B | 128K | $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.