CodeGeeX2 is the second-generation multilingual code generation model from ZhipuAI, built upon the ChatGLM2-6B architecture and trained on 600B code tokens. Compared to the first generation, it delivers a significant boost in programming ability across multiple languages, outperforming even larger models like StarCoder-15B in some benchmarks despite having only 6B parameters. The model excels at code generation, translation, summarization, debugging, and comment generation, and it supports over 100 programming languages. With improved inference efficiency, quantization options, and multi-query/flash attention, CodeGeeX2 achieves faster generation speeds and lightweight deployment, requiring as little as 6GB GPU memory at INT4 precision. Its backend powers the CodeGeeX IDE plugins for VS Code, JetBrains, and other editors, offering developers interactive AI assistance with features like infilling and cross-file completion.

Features

  • Trained on 600B code tokens with significant multilingual coding improvements
  • Surpasses larger models (e.g., StarCoder-15B) on benchmarks like HumanEval-X
  • Efficient inference with Flash Attention and Multi-Query Attention
  • Supports 100+ programming languages with infilling and cross-file completion
  • Lightweight deployment with INT4 quantization needing ~6GB GPU memory
  • Integrates into IDEs (VS Code, JetBrains, PyCharm, WebStorm, etc.) via CodeGeeX plugin

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow CodeGeeX2

CodeGeeX2 Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CodeGeeX2!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python, Unix Shell

Related Categories

Unix Shell Large Language Models (LLM), Unix Shell AI Coding Tool, Unix Shell AI Models, Python Large Language Models (LLM), Python AI Coding Tool, Python AI Models

Registered

2025-10-04