Own Weights

Private AI for law firms: confidentiality and privilege

AI for lawyers and law firms: where a trained model helps, what ABA Model Rule 1.6 and bar opinions mean for client confidentiality, and how a firm-owned model in your own cloud or office works.

Updated

AI helps a law firm most with high-volume, repeatable reading: pulling indemnity, termination and governing law clauses out of thousands of contracts, or sorting an inbox of incoming documents by type. It does not replace the lawyer. The model makes the first pass, and a person who checks its output decides what happens next.

The harder question for a firm is client confidentiality. A private model runs inside your own environment, in your own cloud account or your office, so client documents do not go to a public AI service. That setup keeps the confidentiality decisions with the firm: who can reach the model, what it logs and how long anything is kept.

This guide takes the usual questions in order: where a trained model fits, whether client data is safe in a public chatbot, what ABA Model Rule 1.6 and the bar opinions require, whether AI waives privilege, and how to test a firm-owned model on your own files. It is general information, not legal advice.

Legal work is full of reading that repeats. A due diligence team may need the same clause types from every contract in a data room. An in-house team may need the effective date, parties, term and renewal notice period from every vendor agreement. An intake team needs the document type and counterparty name on every NDA, order form and amendment before a lawyer opens it.

The best fits share three traits. The task repeats thousands of times. The output is short and checkable, such as a quoted passage, a date or a label. A reviewer can compare that output to the source in seconds. Work that needs a long chain of legal judgment, with no clear answer to check against, is a poor fit. For that kind of work, a general model with a careful prompt may serve better.

Operations work such as matter intake is covered in AI for legal operations teams. Clause pulling in more depth is in contract clause extraction and AI contract review at volume.

A worked example: change-of-control clauses

Suppose an acquirer has 800 supplier contracts to review before signing. The deal team needs every contract that lets the supplier terminate or renegotiate when ownership changes.

Start with a written definition that includes examples on both sides. A consent requirement for assignment may or may not count, depending on the deal, so the definition has to say which. Then fix the output format: the exact quoted sentence, the section number, and a yes or no on whether the trigger is a change of control rather than a plain assignment.

Next, have two reviewers label 80 contracts independently and resolve each disagreement in writing. Those labels become your test set. Run your current process on the same set, then read every miss. Most misses turn out to be unclear wording in the definition, so fix the definition and run again. The shortlist that comes out goes to a lawyer, with the quotes attached.

Is it safe for lawyers to use ChatGPT with client data?

Not by default. A consumer chatbot sends your prompt, and any document you paste into it, to the provider’s servers. On default settings the lawyer often cannot say where the text goes, how long it stays, or whether it trains a model that serves other people. Whether that breaks a duty to a client depends on the provider’s current data terms, your engagement letters and the rules in your jurisdiction.

Using a general chatbot is not unethical by itself. The problems come from what goes in, whether the lawyer checks what comes out, and whether the work is supervised. Public tools are a poor fit for client files under default settings. They can suit public law research, or brainstorming with no client detail. A written policy helps. It can ban personal accounts for client work and name the approved tool.

What does ABA Model Rule 1.6 require when you use AI?

Rule 1.6 covers all information relating to the representation, not only privileged material. A pasted contract with no secrets in it is still covered.

Rule 1.6(a) bars a lawyer from revealing client information without informed consent, implied authorization or an exception. Rule 1.6(c) adds a separate duty to make reasonable efforts to prevent inadvertent or unauthorized disclosure. The comments list factors for judging those efforts, such as how sensitive the information is and what safeguards cost.

For AI, sending a file to a tool is a disclosure question under 1.6(a). Choosing a tool with weak controls is a reasonable efforts question under 1.6(c). Both need an answer before the first matter file goes in.

It depends on what the tool does with the data. A vendor bound by contract to keep files confidential, use them only to deliver the service, and delete them on a schedule is closer to ordinary outsourcing. A tool that keeps inputs, reuses them to train models for other customers, or passes them to parties you have not vetted is a different case. For that second group, the conservative answer is informed consent.

Rule 1.0(e) defines informed consent as agreement after the lawyer explains the material risks of, and reasonable alternatives to, the proposed course. For AI, that explanation has to cover where the data goes and what the tool does with it. A generic engagement letter line rarely does that alone.

Outside counsel guidelines count too. Some clients restrict AI use, and those limits override firm policy.

What do bar ethics opinions say about generative AI?

ABA Formal Opinion 512, issued in July 2024, applies the existing rules to generative AI. It treats the lawyer as responsible for understanding the tool well enough to use it, protecting confidential information, supervising staff and vendors, checking output, and billing honestly. Many state bars have issued their own opinions, which differ in detail. Read the one in each state where your lawyers practice.

Courts have sanctioned lawyers for briefs with AI-invented citations, so check every citation and quotation against its source.

What to check in any AI tool’s terms

Check these points before a firm uses any AI product. The answers should be in the vendor’s terms and your settings, not in anyone’s memory.

Check What to find out Where to look
Retention How long prompts and files are stored, and whether you can delete them Vendor terms and data controls
Training use Whether inputs can train models that serve other customers Vendor terms and plan settings
Sub-processors Which other companies can access the data Vendor sub-processor list
Location Where the data is processed and stored Data processing terms
Staff access Who at the vendor can read the data, and when Vendor security documentation
Client terms Whether your engagement letter and outside counsel guidelines allow it Your engagement letter

What does attorney-client privilege have to do with AI?

Privilege protects confidential communications made to get legal advice. Work product protection covers material prepared in anticipation of litigation. Both depend on confidentiality. The usual worry is that sharing privileged material with an outside third party weakens that protection. Using a tool does not, by itself, waive privilege. But a vendor that can read your prompts, keep them or reuse them for training is a third party you would have to explain to a court. Your own counsel decides how it applies to your matters. For the longer treatment, including discovery of AI chats, see the privilege guide.

How does a firm-owned model answer confidentiality questions?

A firm-owned model runs in a place the firm controls. Prompts, retrieved documents and outputs stay in that environment. The firm decides who gets access, what gets logged and how long logs are kept. The firm also owns the weights, so the model you tested is the model you keep. The difference from a shared enterprise AI plan is who holds the data path.

Own Weights fine-tunes an open-weight model for one high-volume task a company now sends to a frontier API, then serves it in the customer’s cloud account or on-prem. The process has four steps. First, a free audit maps AI spend by task from code and invoices. Second, the team builds a test from the customer’s own data and scores the current model first. Third, the trained model has to beat the current model on that test before it is deployed. Fourth, it is served in the customer’s cloud or building, tuned for throughput. The test runs under the firm’s own controls, on the firm’s own documents.

That alone does not make a firm compliant. Policies, vendor reviews and staff training still apply.

Does a private model work for contract review?

For a narrow task, it can. We tested a trained model on CUAD, a public dataset of 510 commercial contracts with answers marked by lawyers. The task was to find 10 kinds of passage and quote each one exactly. Scoring used 5-fold cross-validation, so every document was scored by a model that never saw it in training.

Model Exam score (1.0 is perfect) Price per 1,000 documents (102 held-out contracts)
Our Accuracy model 0.717 $4.50
Our Standard (fast) model 0.650 $3.54
Claude Opus 0.635 $154.49
Claude Haiku 0.584 $4.95

Prices were measured at list price on 102 held-out contracts, with Claude Opus billed for the tokens it used. Per document, that is $0.155 for Claude Opus and $0.0045 for our Accuracy tier. Our Accuracy model led Claude Opus by +0.082 and Claude Haiku by +0.133. Both leads are larger than the margin of error, and our model was ahead of both in all 5 groups of 102 documents.

Claude took the exam with one prompt, no examples and no task training. Our models were fine-tuned for this exam. That shows what training for one task does. It is not a legal product or legal advice, and it does not mean our model beats Claude at everything. Fine-tuned models beat frontier models on the exam we ran, and can on a narrow task with good data. They do not always win. Full results are on the benchmark page. Treat the score as a starting point for your own test rather than a verdict on your files.

One request at a time, the Accuracy tier writes about 90 output tokens per second and the Standard tier about 174. With 32 requests at a time, Standard handles 2.7x more documents an hour than Accuracy. Through the API, one request at a time on the same contract prompts, Claude Opus wrote about 114 output tokens per second and Claude Haiku about 200.

Keeping a lawyer in the loop

The model flags passages and proposes answers. A lawyer confirms, edits or rejects them. Set the rules before the first run: which outputs go straight into a schedule, which need a second read, and which always go to a lawyer, such as anything touching liability caps or indemnity carve-outs. Log every reviewer decision, since those decisions are your best source of new test cases.

The main trade-offs are these. A short shortlist saves review time but can miss a clause, while a wide net costs reviewer hours, so set that balance per clause type with the lawyer who signs off. A faster tier clears a backlog sooner, but when one missed clause could cost a deal, accuracy usually matters more. Each change to a definition means new labels and a new test, so keep definitions stable within a matter.

How to test a model on your own documents

Work through these steps in order.

  1. Pick three to five clause types or fields that matter most to your team, and write a one-paragraph definition for each.
  2. Collect 100 to 300 of your own documents, spread across templates and counterparties. Keep a share for final scoring, so no contract appears in both training and testing.
  3. Have two people label the sample independently. Resolve disagreements in writing and update the definition.
  4. Score the model your team uses now on that test. Record the misses and how long each review took.
  5. Switch only when a new model beats that score on the same test and its misses are ones your reviewers can accept.

Common mistakes:

  • Sampling one counterparty or one year, then assuming the score holds across the whole portfolio. Sample across templates, jurisdictions and drafting eras.
  • Letting the definition drift. Two reviewers who read “termination on notice” differently will label the same contract two ways. Write the rule down before labeling.
  • Testing only clean PDFs. Scanned and poorly converted documents are where misses cluster, so include them.
  • Leaving out contracts that have no such clause. The model has to say “none found” and be right, so include examples of that.
  • Treating one score as final. Re-run the test whenever you change the model, the prompt or the definition.

For the test design itself, see how to test an LLM on your own data.

When is a private model the wrong choice?

Often, for small volumes. If your firm reviews a few contracts a month, a shared enterprise plan may be simpler. A test set takes time to build, and a small volume may not repay that time.

A trained model is also the wrong tool for open-ended research, drafting across many matters, or questions on any subject. A general frontier model fits those better, and a firm that wants a broad assistant may be better served by a hosted service it already trusts. A trained model needs upkeep too. Someone has to run it and keep an evaluation set current. New contract forms, new clause types and model updates all mean re-testing before anyone relies on the output.

Hosting is not compliance. Running the model in your own environment gives you control. It does not decide whether your use is permitted. Your firm’s policies and your regulators do that. The model assists the people who review its output, and a lawyer still signs off on every result.

What should a firm do before the first matter file goes in?

Get written answers to these hosting questions from any partner:

  • Where prompts, documents and outputs are stored, and for how long.
  • Who can read the logs, and whether the vendor can read them too.
  • Who holds the weights and the training data after the project ends.
  • Whether client data is ever used to train a model for anyone else.
  • Who reviews the output before it reaches a client or a court.

If any of these gets an answer of “we are not sure,” stop there. For a fuller list, see how to choose a private AI hosting partner. Then work through these steps in order:

  1. Sort your data. Public material can go into a general tool. Client matter files need the checks above.
  2. Read each tool’s terms, focusing on retention, training use and sub-processors.
  3. Decide per client whether consent is needed, and record that decision in the matter file.
  4. Update the engagement letter so it names the AI tools the firm uses and what they do with data.
  5. Write a short policy, train staff on it, and keep a log of which tools touched which matters.
  6. Check every AI output against its source before it leaves the firm.

A private model is one option, not a requirement. If your software already calls an AI API, the free AI cost audit lists those calls, their estimated cost and the checks they fail. It runs on your own machine and uploads nothing. If the numbers point toward a firm-owned model, book a free audit using the button on this page, and we can talk through the test first, before any training starts.

Questions

What is private AI for law firms?

Private AI for a law firm is a model that runs in a place the firm controls, such as its own cloud account or its office, instead of a shared public service. The firm decides who can reach it and what gets logged. It makes the most sense when the firm sends the same kind of document to AI many times.

What kind of legal work is a trained model good at?

High-volume, repeatable reading with an answer that can be checked, such as pulling clauses, dates, parties and amounts from many contracts. Work that needs long legal judgment, with no clear answer to check against, is a poorer fit.

Can a trained model replace a lawyer for contract review?

No. A trained model is built to find and quote specific passages, and a person checks each result before it is used. Whether a model fits your legal workflow is a question for your own legal and risk teams, and the answer depends on your documents and review rules.

Can lawyers put client information into ChatGPT?

Only with care. A lawyer needs reasonable efforts to protect the information, and must know how the tool stores and reuses what is typed. If the tool may keep or train on inputs, or the client has not agreed, the safer choice is to leave client details out.

Is it ethical for lawyers to use ChatGPT?

Using a general chatbot is not unethical by itself. The problems come from what goes in, whether the lawyer checks what comes out, and whether the work is supervised. A lawyer who verifies every citation and keeps matter files out of public tools is on firmer ground.

Do lawyers need client consent to use AI?

Not for every use. The answer depends on where the data goes and what the tool does with it. When a tool may retain inputs or reuse them, many lawyers treat informed consent as the safe route, and an engagement letter or outside counsel guidelines can settle it for a given client.

What does ABA Model Rule 1.6 require for generative AI?

Rule 1.6 bars revealing client information without consent or an exception, and requires reasonable efforts to prevent unauthorized disclosure. Applied to AI, the question is how the vendor handles data, not only what the lawyer intended.

Is there a bar ethics opinion on generative AI confidentiality?

Yes. ABA Formal Opinion 512, issued in July 2024, applies the existing rules to generative AI, and many state bars have issued their own opinions. Read the opinion in each state where your lawyers are admitted, since the details differ.

Can a law firm run AI on-prem?

Yes, if the firm has the hardware and staff to run it. Some firms prefer their own cloud account, which needs less equipment on site. The confidentiality controls are the same either way.

What should a law firm check about AI confidentiality?

Check where prompts and outputs are stored, who can read the logs, whether client data is used to train any model, and who holds the weights when the project ends. Get written answers before any client document goes near the tool.

How do I know if a model works on my contracts?

Build a test from your own real documents, with answers marked by people you trust, and score your current model on it first. A new model should beat that score on the same test before you switch.