CodeGeeX
Free value-added services
Comprehensive List of AI Tools AI programming tools

CodeGeeX

The team from Tsinghua University has developed a free, multilingual AI programming assistant along with open-source code models.

Tags:

What is CodeGeeX?

CodeGeeX is a series of multilingual AI programming assistants and code models developed by Zhipu AI, based on research conducted by the Knowledge Engineering Laboratory at Tsinghua University. Developers can install plugins in their familiar IDEs, thereby gaining access to features such as real-time code completion, code generation via natural language, technical Q&A, code explanation, translation, annotation, unit testing, code review, and bug fixing.

It does not require users to switch to a new AI editor; it is suitable for individuals and teams who wish to add AI assistance in VS Code, JetBrains, or Visual Studio.

CodeGeeX consists of three elements that can be easily confused with one another: a cloud-based plugin intended for individual developers, an enterprise version that provides support for management and privatization, and the open-source CodeGeeX models that can be downloaded for research purposes. There are different rules regarding whether the plugin can be used freely, the cost of enterprise deployment, and the licensing terms for model weights; just because the model repository is public does not mean that the entire commercial service is open source or can be used commercially without any restrictions.

Core functions

  • Real-time code completion:Based on the code before and after the cursor, the next line or entire code block is predicted and displayed in gray as a suggestion; it can be accepted by using Tab. It is possible to set a delay for completion, choose between single-line or multi-line suggestions, determine the number of candidates, disable certain languages, and activate suggestions only upon key press, thereby reducing unwanted suggestions.
  • Code generation for annotations:The developer first describes the purpose of the function in Chinese or English, and CodeGeeX then generates the corresponding implementation; this approach is suitable for common algorithms, interface handling, data conversion, and template code. The more specific the requirements are, the easier it is to verify the resulting output.
  • Intelligent Q&A:In the sidebar, questions can be asked sequentially regarding the selected code, the current file, or technical issues; various models such as Pro and Lite are available. The enterprise version can also take into account code repositories, document libraries, and locally uploaded files in order to answer development-related questions.
  • Code explanation and comments:It explains unfamiliar functions, call chains, and key variables, and generates Chinese or English comments for the selected code; it is suitable for taking over old projects, conducting code reviews, and teaching. Automatic comments may merely repeat the syntax, and developers are still needed to add information about the business purpose behind the code.
  • Code translation:Conversion is carried out among languages such as Python, Java, C++, JavaScript, and Go, while trying to preserve the original logic. The memory models, concurrency mechanisms, standard libraries, and exception handling approaches vary from one language to another; therefore, retesting is necessary after the conversion.
  • Unit testing and bug fixing:It generates test cases and test framework code for functions, analyzes errors or selected segments, and provides suggestions for fixes. Creating tests helps to achieve rapid coverage, but it cannot replace edge case testing, integration testing, and security testing.
  • Code review and submission details:Check for potential defects, compliance issues, and maintenance problems in the changes, and generate submission notes based on these findings. The output of this process may overlook issues related to cross-service interactions, permissions, race conditions, and business rules; it should therefore serve as a supplement to manual review.
  • Warehouse-level understanding:The Enterprise version allows for the creation of code repository indexes and personal knowledge bases, and search functions can be used to improve responses regarding project structure, interface dependencies, and internal documentation issues; the Pro version provides a project map that helps in understanding modules and their relationships. The quality of the indexes depends on the integrity of the code, as well as on branching and exclusion rules.
  • Interactive programming:Within the editor, selected code can be modified using inline dialogs to generate implementation or explanation results, thereby reducing the need to switch between the sidebar and the file. The extent to which this functionality is available may vary across different IDEs and versions of enterprise plugins.
  • Visual programming and toolkits:The enterprise backend offers CodeGeeX Reflection as well as tools for data analysis, visualization, file processing, and mathematical and scientific calculations; it is suitable for generating small applications or analyzing results using natural language.
  • Third-party system calls:Enterprise administrators can configure permissions for tools such as GitLab and Gitee, allowing AI to access development systems within specified limits. Such capabilities involve real repositories and credentials; it is necessary to apply the principle of least privilege and keep records of all operations.

How many programming languages are supported?

The manual for CodeGeeX Enterprise Edition V4.8 lists 310 recognizable languages or file types, with 30 of them – such as HTML, JavaScript, TypeScript, Vue, C, C++, C#, Go, Java, Kotlin, PHP, Python, Rust, SQL, and Swift – being considered the main supported formats. The mention of “over 300” refers to the range of syntaxes that are supported; it does not mean that every less common language will yield the same quality of output.

Tasks that use mainstream languages, common frameworks, and an abundance of available resources generally yield more stable results.

Is the personal version free?

The CodeGeeX personal plugin is still listed as Free on the Visual Studio Marketplace, and the official website does not indicate any fixed subscription price for individual developers. Users usually install the plugin, log in to their accounts, and then use the cloud-based code completion, question answering, and common commands.

The free-tier policies, model options, queueing situations, request limits, and regional availability may change; the term “free” should not be interpreted as implying unlimited computing power forever, any service level guarantees, or the right to carry out offline, private deployments.

Compared to AI editors that charge on a monthly basis, CodeGeeX’s personal plugins serve as a cost-effective solution for code completion and translation. If a formal team requires SLAs, centralized accounts, a project knowledge base, auditing capabilities, an internal network, or dedicated models, then the enterprise version should be considered, rather than relying on the free personal accounts.

Enterprise edition and private deployment

CodeGeeX Enterprise Edition includes the features of the Standard and Pro versions, offering capabilities such as basic code generation, Q&A, unit testing, code translation, annotation, RAG, repository-level completion, project mapping, personal knowledge bases, a management dashboard, and statistical functions. It can be deployed privately on an enterprise intranet; models can also be fine-tuned using the organization’s own code, and access is provided through SSO or corporate accounts.

There is no fixed public price for the enterprise version; a quote must be obtained by contacting the sales team, taking into account factors such as the number of users, the method of deployment, computing power, model version, fine-tuning options, as well as maintenance and support services. Private deployment does not mean zero cost: enterprises need to provide GPU or inference servers, storage solutions, indexing mechanisms, networking infrastructure, as well as teams for upgrades, monitoring, and security; they also need to verify the compatibility between plugins and server versions.

CodeGeeX4-ALL-9B open-source model

CodeGeeX4-ALL-9B is a multilingual code model developed by further training on GLM-4-9B; it has around 9 billion parameters and is designed for use in tasks such as code completion and generation, code interpretation, online search, function invocation, and repository-level Q&A. Official evaluations show that it can handle contexts of up to 128K characters, but the actual usable length is influenced by factors such as video memory, the inference framework, quantization methods, and processing speed.

The code in the official GitHub repository is licensed under the Apache 2.0 license, while the model weights are governed by a separate Model License. The official documentation states that these weights are available for use in academic research;

Users who need to use the model for commercial purposes should fill out the registration form and confirm authorization.

Therefore, a more accurate description is that \"the warehouse code is open source, and the model weights are available, but the commercial license comes with certain restrictions\", rather than saying that \"the model can be used for commercial purposes freely without any limits\".

Running locally usually requires a large amount of video memory; quantization in the community can reduce memory demands, but it affects speed, accuracy, handling of long contexts, and tool calls.

After downloading the model, you need to set up your own inference service, complete the necessary protocols, create indexes, and establish connections with the IDE; as a result, the user experience will not be identical to that provided by the official cloud plugins.

API and secondary development

The enterprise version of CodeGeeX offers server resources, models, and integration services for development projects, but the official personal website does not provide a separate, fixed-price list for the CodeGeeX API. If developers need to use GLM or code models in their applications, they must check the Zhipu Open Platform to determine the current model ID, as well as the relevant billing and licensing details.

The free benefits associated with plugins cannot be converted into API credits, nor is it allowed to access the plugin interfaces through unofficial methods.

Supported platforms

The personal version can be installed in VS Code, the JetBrains series of IDEs, and Visual Studio. In the past, it was also compatible with HBuilderX, Cloud Studio, as well as some domestic development environments. The documentation for the enterprise version 4.8 specifies that it is compatible with VS Code 1.72 and later versions, as well as Windows, macOS, major Linux desktop systems, Kylin, and UOS.

The compatible version and the stable version have separate requirements regarding the IDE version.

The Visual Studio plugins are designed for Visual Studio 2022 and its corresponding versions.

CodeGeeX Usage Guide

Complete a basic task.

  1. Define the code tasks to be completed in CodeGeeX, the scope of the repository, and the acceptance criteria.
  2. Connect to or import the test project, and first back up the current branch;
  3. First, use real-time code completion to generate a plan, and then verify the modified files.
  4. Use comments to generate code for making minor changes;
  5. Run tests, static checks, and builds; unverified code is not accepted directly.
  6. Manually check permissions, keys, dependencies, and handle exceptions before merging;

Create reusable professional workflows

  1. Select a low-risk, real-world project as a template;
  2. Fix the order of use for real-time code completion, code generation from comments, and intelligent Q&A;
  3. Record the environment, model, prompts, and failure conditions;
  4. Set up manual approval for write, deploy, and delete actions;
  5. Compare speed, cost, test pass rate, and the amount of rework;
  6. Expand to a team or production environment only after stability has been verified;

Which users are it suitable for

  • Individual developers who wish to obtain code completion and Q&A features for free within their current IDEs;
  • Students and teachers who need Chinese and English annotations, cross-lingual translation, and unit test assistance;
  • Developers who maintain projects in various programming languages such as Java, Python, C++, Go, and front-end technologies;
  • Enterprise teams that need private intranets, code repositories, SSO, and usage management;
  • Universities and AI researchers who wish to study or deploy multilingual code models locally.

Usage restrictions and safety precautions

  • The generated code may contain logical errors, outdated APIs, fictitious dependencies, license conflicts, and security vulnerabilities;
  • The longer the completion process, the more it is necessary to check input validation, permissions, exceptions, concurrency, resource release, and boundary conditions.
  • Do not accept database migrations, authentication, encryption, payment, or infrastructure code without testing.
  • Cloud plugins need to send the necessary context to the server;
  • Before use by individuals or companies, it is necessary to review the privacy policy, rules regarding code retention, intended uses for training, data locations, and administrator policies. Keys, customer data, unpublished algorithms, and complete production configurations should not be included in the input prompts.
  • In private deployment as well, it is necessary to control logs, index copies, backups, and the permissions of maintenance personnel.
  • Code translation, comments, and project-related questions cannot replace an understanding of the business itself.
  • Warehouse indexes may fail to include generated files, sub-modules, dynamic calls, or uncommitted changes; the functions and paths cited in the responses should be verified in the current branch.
  • The results obtained from official model evaluations do not mean that every real-world project will achieve the same outcomes;

Frequently Asked Questions

Is the personal version of CodeGeeX paid?

The official VS Code store currently labels these plugins as free, and the developer’s personal website does not indicate any fixed monthly fee. The requirements regarding cloud-based models and usage limits may change, and enterprise services require a separate quote.

Which IDEs does CodeGeeX support?

It primarily supports VS Code, the JetBrains series, and Visual Studio; it has also been adapted for HBuilderX, Cloud Studio, as well as domestic development environments. Before installation, it is necessary to check the requirements of the plugin regarding the specific version of the IDE.

Can CodeGeeX4 be deployed locally?

It is possible to download the CodeGeeX4-ALL-9B weights and set up inference on one’s own, but this requires a suitable GPU, an appropriate runtime framework, and an IDE for integration. The performance of the quantized version may differ from that of the official service.

Is CodeGeeX completely open source and can it be used for commercial purposes?

It cannot be summarized in that way. The code in the CodeGeeX4 repository is licensed under Apache 2.0, while the model weights are subject to a separate license that permits their use for academic research.

Commercial use models require registration and authorized confirmation.

The official cloud plugins and enterprise platforms are also not fully open-source projects.

©️Copyright notice: Unless otherwise specified, all articles on this site are copyrighted bySharing of AI toolsAll content on this site is original; without permission, no individual, media outlet, website, or organization may reproduce, copy, or otherwise distribute it, nor may they create mirrors of it on servers that are not owned by this site. Otherwise, we reserve the right to take legal action against such parties in accordance with the law.

Tools similar to CodeGeeX