# thudm/glm-4

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/thudm-glm-4).**

7,059 stars · 616 forks · Python · Apache-2.0

## Links

- GitHub: https://github.com/THUDM/GLM-4
- awesome-repositories: https://awesome-repositories.com/repository/thudm-glm-4.md

## Description

GLM-4 is an open weights large language model designed as a multimodal chat system. It functions as a reasoning-focused and multilingual model capable of processing and generating responses across text and visual data types.

The model is distinguished by its function-calling capabilities, allowing it to interface with external tools and APIs to execute tasks and retrieve real-time information. It is optimized for complex logical reasoning, mathematical problem solving, and deep research involving long-form content generation.

Broad capabilities include multilingual text generation, the creation of programming code and user interface layouts, and the ability to undergo domain-specific weight fine-tuning. The system also supports expanded context windows for processing extensive inputs and outputs.

## Tags

### Artificial Intelligence & ML

- [Multimodal Models](https://awesome-repositories.com/f/artificial-intelligence-ml/multimodal-models.md) — Functions as a multimodal chat system capable of processing and generating responses across text and visual data types.
- [Advanced Reasoning Models](https://awesome-repositories.com/f/artificial-intelligence-ml/advanced-reasoning-models.md) — Provides advanced logical reasoning for solving complex mathematical and coding problems through deep analysis.
- [Complex Problem Solving](https://awesome-repositories.com/f/artificial-intelligence-ml/complex-problem-solving.md) — Implements advanced reasoning processes to solve complex mathematical, logical, and coding challenges. ([source](https://github.com/thudm/glm-4#readme))
- [External Tool Execution](https://awesome-repositories.com/f/artificial-intelligence-ml/external-tool-execution.md) — Provides the ability to execute external tools and APIs to perform atomic tasks and retrieve real-time information. ([source](https://github.com/thudm/glm-4#readme))
- [Function Calling Interfaces](https://awesome-repositories.com/f/artificial-intelligence-ml/function-calling-interfaces.md) — Maps model outputs to structured API specifications that trigger external code execution for data retrieval.
- [Multilingual Text Generation](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-ai-resources/generative-ai/generative-text-inference/multilingual-text-generation.md) — Generates natural text and dialogue across multiple languages using optimized vocabularies for global interaction. ([source](https://github.com/thudm/glm-4#readme))
- [LLM Tool Calling](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-tool-calling.md) — Functions as a language model that maps natural language intents to executable application functions.
- [Multilingual Conversational AI](https://awesome-repositories.com/f/artificial-intelligence-ml/multilingual-conversational-ai.md) — Creates natural conversations and text across multiple different languages for global users.
- [Multilingual LLMs](https://awesome-repositories.com/f/artificial-intelligence-ml/multilingual-llms.md) — Designed as a large language model for natural dialogue and text generation across multiple different languages.
- [Multimodal Processing](https://awesome-repositories.com/f/artificial-intelligence-ml/multimodal-processing.md) — Integrates visual and textual data into a shared latent space for simultaneous understanding of images and text.
- [Deep Research Execution](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-task-execution/deep-research-execution.md) — Provides capabilities for autonomous analytical research and the generation of detailed long-form reports. ([source](https://github.com/thudm/glm-4#readme))
- [Code and UI Generation](https://awesome-repositories.com/f/artificial-intelligence-ml/code-and-ui-generation.md) — Generates programming code and visual user interface layouts using standard markup and styling languages. ([source](https://github.com/thudm/glm-4#readme))
- [Position Embedding Scaling](https://awesome-repositories.com/f/artificial-intelligence-ml/long-context-training-optimizations/context-window-management/position-embedding-scaling.md) — Expands the maximum token limit for long-form inputs and outputs by scaling positional embeddings. ([source](https://github.com/thudm/glm-4#readme))
- [Long-Form Text Generation](https://awesome-repositories.com/f/artificial-intelligence-ml/long-form-text-generation.md) — Produces detailed reports and extended text by analyzing complex problems using a large context window.
- [Model Fine-Tuning](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-training-and-tuning/fine-tuning-and-customization/model-fine-tuning.md) — Allows for training the base model on specific domain data to excel at specialized professional tasks.
- [Human Preference Alignment](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-training-and-tuning/fine-tuning-and-customization/model-fine-tuning/quantized-fine-tuning/human-preference-alignment.md) — Optimizes model responses using human preference alignment to improve reasoning capabilities and safety.
- [Open-Weights Models](https://awesome-repositories.com/f/artificial-intelligence-ml/open-weights-models.md) — Provided as an open weights model, enabling domain-specific fine-tuning and local deployment.

### Part of an Awesome List

- [Reasoning And Math Models](https://awesome-repositories.com/f/awesome-lists/ai/reasoning-and-math-models.md) — Optimized for solving complex mathematical and logical problems through deep reasoning and reinforcement learning.
- [Text LLM Models](https://awesome-repositories.com/f/awesome-lists/ai/text-llm-models.md) — Latest generation model outperforming many peers in reasoning and coding.

### Development Tools & Productivity

- [LLM Tool Orchestration](https://awesome-repositories.com/f/development-tools-productivity/workflow-automation-tools/build-task-automation/llm-tool-orchestration.md) — Connects the language model to external APIs and functions to perform real-world tasks and data retrieval.
