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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
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