Law Firms & Legal

Can AI Quote a Regulation Word for Word? We Tested Four

Can ChatGPT, Claude, Gemini or Perplexity quote SEC, IRS and RBI rules exactly? We scored 96 answers against the official text. ChatGPT misquoted 1 in 4.

November 28, 20269 min read
Hand-drawn open rulebook with a ruler laid along one paragraph, illustrating a test of whether AI quotes regulations word for word

What matters most

  • In a November 2026 test of 24 regulatory paragraphs, Perplexity quoted 24 correctly and Gemini 23 word for word.
  • ChatGPT put wording not found in the regulation inside quote marks in 6 of 24 answers, each with an official source link.
  • Claude never misquoted but declined or hedged on 14 of 24, so a person still had to find the text.
  • A link to an official government website does not show that the quoted words are correct.
  • Safe use of AI for legal citations means checking each quote against a firm-controlled, versioned copy of the source.

An associate pastes a question into an AI tool: "What exactly does Rule 206(4)-1(a)(1) say?" The answer comes back in quote marks, with a link to a government website. It looks like a citation. Should it go into a brief?

We tested that. We asked ChatGPT, Claude, Gemini and Perplexity, each with live web search switched on, to quote 24 specific regulatory paragraphs word for word and link the official source. Then we scored all 96 answers against the official text. Perplexity quoted all 24 correctly and Gemini 23. ChatGPT put wording that is not in the regulation inside quote marks 6 times out of 24. Claude never misquoted, but declined or hedged on 14 of 24. The problem for anyone using AI for litigation or compliance work is not that every tool fails. It is that a wrong quote looks exactly like a right one.

Here is what matters most:

  • On well-known US rules, the better AI tools now quote accurately. Perplexity got 24 of 24 and Gemini 23 of 24 word for word.
  • ChatGPT presented incorrect wording as a direct quote in 6 of 24 answers (25%), each with a link to an official government source.
  • Claude was the most careful: it never misquoted, but it refused or hedged on 14 of 24, so it often couldn't answer at all.
  • A link to the official site is not proof. Every wrong quote in our test came with a link to an official government source.
  • The only safe workflow is to check every quote against your own copy of the source, in the version that applied on your date.

What we tested

We picked 24 paragraphs a compliance team or litigator might actually need verbatim: 14 from SEC rules (the Marketing Rule, Rule 10b-5, broker-dealer record-keeping, Rule 144, the Customer Protection Rule and others), 4 from IRS regulations, 2 from the FinCEN beneficial ownership rule, 1 from an older IRS Revenue Procedure (2013-14, the mandatory wording for a section 7216 consent form), and 3 from India's RBI Know Your Customer Master Direction. Three of the SEC paragraphs were chosen because they changed recently (the move to next-day settlement, the shorter Schedule 13D deadline and daily reserve calculations), to see whether any tool quoted the old version.

Each question asked for "the exact current text, word for word" and "the link to the official source." The answer key was the official text: for US rules, the government's official online Code of Federal Regulations as of November 20, 2026; for the Revenue Procedure, the IRS's own bulletin; for the RBI paragraphs, the Master Direction on rbi.org.in.

The four tools ran through a commercial testing service on November 28, 2026, each with web search on and set to US results: ChatGPT (gpt-5.4-mini), Claude (Sonnet 5.5), Gemini (3.8 Flash) and Perplexity (Sonar). We scored every answer automatically for how much of the official wording it contained, then reviewed every answer that wasn't an exact match by hand. A quote counted as correct if the official words were there, even if it left out the paragraph's heading or number. The full results are in a downloadable spreadsheet. The test cost $2.65.

The results

Out of 24 paragraphs each:

  • Perplexity: 24 correct, 0 wrong quotes, 0 declined.
  • Gemini: 23 correct, 0 wrong quotes, 1 empty answer.
  • Claude: 10 correct, 0 wrong quotes, 14 declined or hedged (it said it couldn't verify the text).
  • ChatGPT: 11 correct, 6 wrong quotes, 7 declined.

No tool quoted the superseded version of the three recently amended SEC rules as current. On the oldest and least indexed document, the 2013 IRS Revenue Procedure, Perplexity and Gemini were exact, Claude declined, and ChatGPT returned paraphrased statements inside quote marks.

What a wrong quote looks like

The six ChatGPT misses are worth looking at, because none of them looks like a miss.

Asked for paragraph (a)(1) of the SEC Marketing Rule, it returned a one-line quote ("Any advertisement that contains any untrue statement of a material fact, or that is otherwise materially misleading") that does not appear in the current rule. The actual paragraph begins "Include any untrue statement of a material fact, or omit to state a material fact necessary..." The answer opened by saying it couldn't open the rule page directly, then gave the quote anyway, with an SEC link.

Asked for paragraph (a)(3)(i)(E) of the IRS consent regulation, which says a consent "must be signed and dated by the taxpayer," it quoted text from a different paragraph of the same section and labelled it (E). Asked for paragraph (d)(2) of the FinCEN rule, which covers the single individual with control of a company, it quoted a version of the 25% ownership test from paragraph (d)(1). For the investment adviser code of ethics rule, it reworded the reporting line. For the RBI direction, it dropped two words from an otherwise correct sentence.

Each of these would pass a quick read. Each came with a link to a government source. A reviewer who checks the link exists, but not the words, would miss all of them.

Why careful refusals are also a cost

Claude's pattern is the opposite. It repeatedly said some version of "I won't reconstruct it from memory, because a word-for-word quote that is slightly wrong would be worse than none," and pointed to the official page. That is the right instinct for legal work. But it means the tool fails on more than half of the questions, so a person still has to find and copy the text by hand.

Between them, the four tools show the real trade-off. A tool that always answers will sometimes invent. A tool that never invents will often not answer. Neither gives you a reliable signal of which kind of answer you just got.

What this test does not show

This was close to easy mode. US federal rules are among the best organised legal text on the internet. The official online rulebook keeps dated versions of every section, and law schools and publishers mirror it. Most of what litigators and compliance teams argue over is harder to reach: staff guidance and FAQs, no-action letters, older bulletins, enforcement orders, and the archives of regulators outside the US. Those are spread across ordinary web pages and scanned documents, change without a version history, and are far less mirrored. We tried to include one SEC staff FAQ and ran out of testing credit after only one tool had answered, so we left it out of the results. Expect accuracy to drop on material like that, not rise.

The test also says nothing about what a document said in the past. Every tool searched the live web. None can show you the wording of a guidance page before it was edited, because the earlier version isn't on the live web any more.

What to do instead

AI is still useful in this work. It is quick at finding which rule or document is relevant and at drafting a first summary. The step that can't be handed to a general AI tool is the last one: confirming that the words in your brief or memo match the source, in the version that applied on your date.

That check needs a source of truth you control: a complete copy of the regulators you rely on, with each document's source link, date and version history, that an AI tool or a person can quote from and that a reviewer can check against. We built exactly that for a top-tier corporate law firm, archiving more than 70,000 documents from a securities regulator with proof that nothing was missing. The method is in how to prove a regulator archive is missing nothing, and it applies equally to the SEC, FINRA, the IRS and state regulators.

The security point matters as much as accuracy. Questions typed into a consumer AI tool leave your firm. An archive and quote checker built inside your own cloud account keeps matter and client details there, under your access controls and audit trail. Lawyers keep doing the analysis; the system makes sure the quotes are real.

Related: why LLMs misquote, and how to build citations where code writes the quote.

FAQ

Not without checking every quote. In our test of 24 regulatory paragraphs, ChatGPT presented wording that is not in the regulation as a direct quote 6 times, each with an official-looking link. Use it to find candidate sources, then confirm the exact words against the official text.

Which AI tool is most accurate at quoting regulations?

In our November 2026 test, Perplexity quoted 24 of 24 US and Indian regulatory paragraphs correctly and Gemini 23 of 24. That was on well-indexed rules. Accuracy on guidance, older bulletins and non-US regulators is likely lower, and no tool can show you an earlier version of a page that has since changed.

Why do AI tools get regulatory quotes wrong?

They read a handful of search results, which are often fragments, scrambled layouts or third-party copies, and then write an answer. When the exact paragraph isn't in what they read, some tools fill the gap from memory, which is how a plausible but wrong quote gets produced.

How can a law firm use AI for litigation research safely?

Let AI find and summarise, and have every quote checked against a source of truth the firm controls, in the right version for the date. Keep a person approving anything that goes into a filing, and keep client and matter details inside the firm's own systems.

Check your quotes against a source you control

If your team quotes SEC, FINRA, IRS, state or non-US regulators and relies on AI tools to find the text, we can scope an archive and quote check built around the sources you use. See our approach to regulatory filing monitoring, the regulator archive case study, and what regulatory change management software can't prove. For the data question, read whether AI is safe for privileged legal documents.

Book a free call and we'll scope it to your sources.

Read next: Legal AI Automation

Law Firms & LegalAI Automation Agency in Philadelphia: Is Your Client Data Safe?Law Firms & LegalIs Regulatory Change Management Software Enough for SEC Rules?Law Firms & LegalCan You Prove a Regulator Archive Is Missing Nothing?