
Tongyi Farui
Alibaba Cloud's legal industry large model launched based on Tongyi Qianwen has capabilities such as legal consultation, case and statute retrieval, document generation, case analysis and contract review, and provides API calls.
Updated: 2026-10-26
What is Tongyi Farui?
Tongyi Farui is an AI assistant for the legal industry launched by Alibaba Cloud based on the Tongyi Qianwen large model. According to official introductions, it takes Qianwen as the foundation, is specially trained with legal industry data and knowledge, and comprehensively applies model fine-tuning, reinforcement learning, RAG retrieval augmentation, legal Agent and judicial exclusive small models. It can not only answer legal questions in the form of dialogue, but also provide model APIs for developers through Alibaba Cloud Bailian. The official stated that this product was once awarded the Most Popular Legal Technology Product by the Shanghai Lawyers Association.
Who is it for?
- Lawyers and legal counselors: They need to quickly sort out the context of legal cases, draft preliminary versions of legal documents, and search for similar cases and relevant laws and regulations.
- Small and medium-sized enterprises: They lack in-house legal counsel and hope to first obtain basic legal answers and references for legal documents.
- Legal technology and software teams: They hope to integrate legal capabilities into their own products and services through APIs.
- Universities and judicial-related institutions: Used for legal text analysis, teaching demonstrations, and intelligent Q&A scenarios.
Key features
6Legal Consultation
Understand and explain specific legal questions, provide explanations of legal provisions, possible solutions and procedural guidelines. The official stated that the case types for intensive training include family law matters, private lending disputes, etc.
Case Retrieval
Conducts similar case searches in the judgment document database, automatically analyzes the search results, and provides correlation analysis of similar cases based on the disputed focus and core facts.
Laws and Regulations Retrieval
Achieves intelligent retrieval based on semantic understanding in the regulation database, supporting both precise retrieval and fuzzy retrieval.
Text Reading
Conduct legal-level reading comprehension of the given text, sort out legal entities and relationships, the chronological context of legal events, and other information.
Document Generation
It understands templates and elements, automatically generates legal documents based on users' legal demands, and can take case descriptions or prior documents as input.
Contract Review
Review contract clauses, legal compliance, business logic and potential risks in accordance with review rules, and supports users to customize review rules.
How to use Tongyi Farui
- For a quick trial, you can directly ask questions in natural language on the Tongyi Farui page.
- if you need to embed it into a system, switch to the farui series APIs of Alibaba Cloud Bailian instead.
- When asking questions, supplement the time, region, subjects and core disputes in dispute, and the retrieval and reasoning results will be significantly more practical.
- Documents such as generated complaints and answers are draft versions.
- Fact statements, evidence lists and legal bases must be manually verified before submission.
- It is recommended to configure the API Key in an environment variable to avoid writing it in code or public repositories.
- for scenarios involving party information, it is necessary to assess data compliance requirements.
- The compliance requirements in legal and financial scenarios are higher than those of general tools: outputs related to contract clauses, tax declaration, and investment research decisions shall be reviewed by professionals with relevant qualifications.
- Meanwhile, attention should be paid to whether the upload of materials complies with the enterprise's data security and confidentiality systems.
Traffic & popularity
Data month Sep 2026
Tongyi Farui receives about 819.1K visits per month.
Monthly visits
12 monthsTraffic sources
- Direct66.0%
- Search18.4%
- Referrals12.7%
- Display ads1.5%
- Social1.5%
Top countries
- China89.9%
- Hong Kong, China3.0%
- United States2.2%
- Taiwan, China1.0%
- Singapore0.5%
Estimated from third-party traffic data.
Similar tools
FaXingBaoA free AI legal consultation product under Baidu, which the official says provides professional legal Q&A and consultation services, covers retrieval of laws and cases, generation of legal documents, legal opinions and calculators, and also allows appointments with real lawyers for answers.
XiaobaogongXiaobaogong is a legal AI product that covers intelligent similar case retrieval, legal regulation retrieval and sentencing prediction, and provides contract drafting and review as well as document generation. Officially, it is said to build a legal knowledge graph based on judicial big data.
PowerLaw AIMili Intelligence was founded by a team from the Department of Computer Science at Tsinghua University. It independently develops legal large models and provides the intelligent contract review system MeCheck and contract management system MeFlow, which automatically prompt for risks and unify review standards.
Deli LegalDelhi Technology builds an intelligent legal system based on large legal models, offering Xiaoli AI, Delhi Legal Search, Delhi Legal Assistance and an open platform, covering legal retrieval, research, contract and document generation.
AI LawyerA personal legal AI assistant for ordinary consumers and legal practitioners, providing online legal search, contract summarization and document processing, conversational Q&A and document templates, supporting multi-terminal use on web, iOS and Android.
GENIE AIAn AI assistant for contract and legal documents, the official website positions itself as equipping every business team with a legal brain, providing contract drafting, review and negotiation support, document Q&A and free legal templates, as well as Word plugins.