Coding help from ERNIE
Coding assistant on the ERNIE model that completes code and generates tests and comments.

Starter prompts
Copy one into Baidu Comate and swap the {braces} for your own details.
- Write a {language} function that {task}. Include tests and call out the edge cases.
- Review this diff for bugs and security issues, then suggest concrete fixes: {diff}.
- Explain this error and show the minimal fix: {error}.
Overview
Comate (文心快码) is Baidu's coding assistant, built on ERNIE and trained with Baidu's own codebase. It covers completion, chat, unit-test generation and repo-level Q&A inside VS Code and JetBrains.
Access & Availability
- Signing up
- Baidu account with a mainland mobile number.
- Availability
- Mainland-focused.
- Language
- Chinese-first; handles English code fine.
- Billing
- CNY per seat for teams.
Key Features
Repo-aware chat
Asks about your own codebase rather than a pasted snippet.
Unit test generation
Generates tests for a selected function with the right framework.
Code review
Flags likely bugs and style issues before commit.
How to Use
- Install the plugin and sign in with a Baidu account.
- Index your repository, then ask questions in the side panel.
- Generate tests or reviews from the editor context menu.
Core Advantages
- ✓Understands Chinese comments and docs
- ✓Repo-level context
- ✓Free tier available
Who It's For
Pricing & Free Trial
Free
Free
Daily limits
Enterprise
CNY per seat per year
Private deployment, admin controls
Free tier: Free individual tier with daily completion and chat limits.
Read from comate.baidu.com on 28 Oct 2026 · check the current list on comate.baidu.com
Per-seat annual pricing in CNY for teams.
Frequently asked questions
- What is Baidu Comate?
- Coding assistant on the ERNIE model that completes code and generates tests and comments.
- Is there a free plan for Baidu Comate?
- Free individual tier with daily completion and chat limits.
- How much does Baidu Comate cost?
- Baidu Comate uses a freemium model — see the pricing section for the plans we have on file.
- What can Baidu Comate do?
- Its headline capabilities: repo-aware chat; unit test generation; code review.
- Who is Baidu Comate for?
- It is aimed at chinese enterprise developers, teams with Chinese codebases, java and Go shops.
- Is Baidu Comate available in mainland China?
- Yes — Baidu Comate is built in mainland China and is designed to work there directly. See the access notes above for signup and billing details.
Our Verdict
Competitive inside Chinese enterprises, largely because of deployment options. Abroad, Copilot and Cursor get there first.
Community rating
Tap a star to rate this tool
More like this
Compare Baidu Comate with alternatives
Put Baidu Comate next to its closest rivals — ratings, free tiers and entry prices in one table:
Cursor★ 4.7
Claude Code★ 4.6
Lovable★ 4.5