AI and Law: How an AI Law Firm in Thailand Uses Legal AI

Reviewed by Wichuda Atthamethakon, LL.M., Thai Bar Licence 3149/2556, for ThaiLawOnline, a Thai law firm acting for foreigners since 2006.

Last updated on

Law is made of words. Statutes, contracts, judgments, letters: a lawyer’s raw material is text. Large language models are machines built to read and write text. It was never hard to see where this would go.

This article explains why AI and law fit so well, what the largest firms have done about it, where the technology fails, and what we have learned as an AI law firm working with legal AI in Thailand since 2023.

In short

  • Legal work is mostly reading, searching and writing. That is what language models do.
  • In 2023, Goldman Sachs estimated that 44% of legal tasks in the United States could be automated. Only office administration scored higher.
  • Large firms moved first. Harvey, a legal AI company founded in 2022, is reported to serve half of the 100 largest American law firms.
  • The risk is real. Courts around the world have dealt with hundreds of filings citing cases that AI invented.
  • The answer is not to avoid AI. It is to give it verified sources and to have a person check the result.
  • We made that choice in 2023 and built our own database of Thai law.

Law runs on words, and so do language models

Ask what a lawyer does all day. The honest answer: reads, searches, compares and writes. Find the section. Find the decisions that applied it. Compare them with the client’s facts. Write the opinion, the contract or the letter.

A large language model (LLM) such as ChatGPT or Claude is trained on text and produces text. It can summarise a 40-page contract in seconds, translate a judgment, or draft a clause in the style you ask for.

This was understood long before ChatGPT. Researchers were building legal expert systems in the 1980s. What changed in 2022 is that machines finally learned to handle language well enough.

When Goldman Sachs economists measured each profession in March 2023, legal work came second. They estimated that 44% of legal tasks could be automated, against 46% for office administration and 6% for construction.

What the large firms did

The big firms did not wait. Harvey was founded in 2022 by a former law firm associate and a former Google DeepMind researcher. Its first announced partner, in December 2022, was the international firm now called A&O Shearman.

Four years later, Harvey announced a valuation of 15.5 billion US dollars. It is reported to serve more than 1,500 organisations, including half of the 100 largest American law firms.

It is not only an American story. In Thailand, Tilleke & Gibbins announced that it was rolling Harvey out across its Southeast Asian offices.

The wider numbers say the same. In the Thomson Reuters Institute’s 2026 survey, 41% of law firms said they already use generative AI, up from 28% a year earlier.

You pay a lawyer for time

Most legal bills are time multiplied by an hourly rate. So anything that saves time changes the price, or should.

AI saves time in three places.

WorkWhat AI does wellWhat a person must still do
ResearchFinds and sorts statutes and decisions in minutesReads the sources and decides which ones apply
DraftingProduces a first draft, a translation or a comparison of two versionsChecks every clause against the client’s real situation
AutomationFills in forms, files documents, prepares routine emailsDecides what is sent, and signs it

The American Bar Association addressed the money question in its Formal Opinion 512 of July 2024. A lawyer who bills by the hour may only bill the time actually spent. If AI makes the work faster, the bill must reflect it.

That opinion binds American lawyers, not us. But the logic is universal, and it is one reason most of our services are sold at fixed fees. You know the price before we start. Efficiency is our problem, not yours.

Where AI fails in law

A language model predicts likely words. A likely case number is not a real one.

In June 2023, a federal court in New York sanctioned lawyers whose brief cited cases that ChatGPT had invented (Mata v. Avianca). It was the first famous case. It was not the last.

A researcher in Paris, Damien Charlotin, keeps a public database of such decisions. By the end of 2025 it counted about 712 worldwide, and roughly 90% of them were written in 2025 alone.

Specialised tools do better, but not perfectly. Stanford researchers found that general chatbots gave false answers to 58% to 82% of legal questions. The commercial legal research tools they tested, which answer from a legal database, were still wrong 17% to 33% of the time.

Thai courts have reacted too. Since 17 November 2025, the Civil Court requires parties to mark AI-prepared content in their filings and to certify that they checked it.

We’ve seen it ourselves. Twice in 2026, AI systems gave us Thai Supreme Court decisions that do not exist. And in our own tests, a general model named a relevant Supreme Court decision for fewer than 5% of the questions.

What works: sources first, then a human check

None of this means lawyers should stay away from AI. It means a chatbot alone is the wrong tool. What works has three parts.

  • Your own verified sources. The model must answer from official texts you hold, not from memory.
  • A search you have tested. You need to know, with numbers, how often it finds the right decision.
  • A person who reads the result. Someone trained in law reads the sources before anything goes to a client or a court.

Engineers call this retrieval-augmented generation, or RAG. The model retrieves first and writes second. It is the approach behind the serious legal tools, and behind ours.

How a legal vector database works: from a question to verified Thai Supreme Court decisions and a human check (Vortex legal AI database)
How Vortex, our legal AI database, answers a question: six steps, ending with a person.

Why ThaiLawOnline became an AI law firm in 2023

ThaiLawOnline has worked with foreigners in Thailand since 2006. Sébastien Brousseau, who manages the firm, has thirty years in law, twenty of them managing law firms in Thailand.

He is also a technology enthusiast who has written code since he was young. So in 2023, when language models became good enough, the choice was easy: learn the tools properly and rebuild the firm’s research around them.

A small firm can’t buy what the global firms buy. And no product on the market knew Thai law in Thai. So we built our own legal AI database: Vortex, a collection of 78,151 Thai Supreme Court decisions and the laws they apply, searchable by meaning and by exact wording.

The same work that built our legal AI database also produced things you can read and use for free.

How it all works, with our test results, is on the How We Use AI page.

What to ask a law firm about AI

  • Do you use AI, and for what?
  • What does it answer from: a general chatbot, or sources you control?
  • Who checks the result before I receive it?
  • What happens to my documents?
  • Does my fee reflect the time it saves?

A firm that can’t answer is either not using AI or not controlling it. Neither is a good sign in 2026.

Frequently asked questions

Will AI replace lawyers?

Not the ones who use it well. AI finds, sorts and drafts fast. Judgment, responsibility and the signature stay with a person.

Can I use ChatGPT for a Thai legal question?

For a first explanation, yes. Do not rely on any case number it gives you. In our tests, a general model named a relevant Supreme Court decision for fewer than 5% of the questions.

Is it allowed to use AI in a Thai court filing?

At the Civil Court, yes, with conditions. Since 17 November 2025, AI-prepared content must be marked and the party must certify that it was checked.

Does AI make legal services cheaper?

It should, where it saves time. That is one reason we publish fixed fees.

What is Harvey?

Harvey is a legal AI platform founded in 2022 and used by many of the largest law firms. It is built on large language models and adapted to legal work.

Sources

See how we do it

Read how our research system works, try the free assistant, or talk to a person.

Thai Law Updates, free by email

Plain-English updates on Thai law changes that affect foreigners: property, visas, marriage, business and wills. One short email a month from a firm practicing since 2006. No spam, unsubscribe anytime.

About the author

Written and reviewed by Sébastien Brousseau, LL.B., B.Sc., founder of ThaiLawOnline, working in Thai law since 2006 and living in Thailand since 2004. He also writes about life in Thailand at . Connect on LinkedIn or contact the firm.

Scroll to Top
WhatsApp LINE Call Book