Skip to content
Lucerna Law

Confidentiality and ethics

On-Premise Legal AI vs Cloud: Which Fits a Firm

By Published 10 min readUpdated

On-premise legal AI runs on servers the firm owns, so client documents need not leave the building to be read by a model. It trades a vendor's access for the firm's own workload: the firm buys the hardware, chooses and updates the model, and carries the whole job of securing it. A cloud service reverses that trade.

On-premise legal AI means the software that reads a firm's documents, and the model that answers questions about them, run on hardware the firm owns and controls. No file, question or answer is sent to an outside company for processing. The opposite is a cloud service, where a vendor runs both on someone else's computers.

NIST's definition of cloud computing draws the line. NIST Special Publication 800-145 calls cloud computing "a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources." On-premise is the absence of the shared pool: one organization, its own machines.

Three parts, three locations

A product that answers questions about documents has three parts, and each can sit in a different place.

PartWhat it doesOn-premise means
File storageHolds the original documentsThe disks are the firm's
ApplicationReads files, builds the search, shows answersThe firm runs the server
ModelGenerates the answer from the text it is givenThe model's files run on the firm's processors

The third row is where the phrase gets stretched. A product can be installed on a firm's server and still send every question, with the document text, to a model run by another company. The files rest on-premise. The reading does not happen there.

On-premise legal AI and cloud legal AI differ on who can reach the data, who does the upkeep, and how the cost arrives. The table sets the two beside each other in general terms, as reasoning and not as a finding about any product. It leaves out prices on purpose, because this post has no sourced figures for either.

On-premiseCloud service
Where documents are processedOn the firm's hardwareOn the vendor's cloud provider
Outside companies that handle the textNone, if the model is also localThe vendor and each processor it uses
Who secures the serversThe firmThe cloud provider and the vendor, each for its layer
Who updates the model and softwareThe firm, or a contractor it paysThe vendor
How cost arrivesHardware bought up front, then staff timeA subscription
StartingA procurement and installation projectSigning in
CapacityFixed by the hardware boughtSet by the plan
What a vendor's staff can seeNothing, unless the firm grants remote access for supportWhatever the vendor's terms and design allow
Who answers a subpoena for the dataThe firmThe firm, and possibly the vendor

The row on outside companies is the one that sells on-premise. Where the model is local too and no vendor has remote access, the confidentiality questions a firm puts to a cloud vendor about training, staff access and processors have one answer: there is no vendor in the path.

The rows on securing and updating are the ones that sell cloud.

Running legal AI on a firm's own hardware takes four things: machines able to run a model, a model the firm is licensed to run locally, software around the model, and a person who keeps all three working. The first is a purchase. The other three are continuing work.

The hardware

A language model is a large file of numbers that has to be loaded into a machine's memory and run on processors suited to it. A larger model needs more of both. The model's publisher states what it needs, and that statement is the place to start a hardware quote.

Capacity is fixed on the day of purchase. A firm that sizes its server for five lawyers asking occasional questions may feel it when twenty are preparing for trial in the same week.

The model

A firm can run on-premise only a model whose maker allows it to be downloaded and run locally. A model maker may publish a model on those terms, or may offer it only as a service. Whether the model a firm has been impressed by in a demo can be had as a local copy is a question for that model's maker, and the license terms are a document to read like any other.

This is the quality question in plain form. The comparison that matters is between the best model the firm can run on its own hardware and the best model a cloud vendor can call. This post has tested neither and ranks nothing. A firm can test both on the same documents: the post on document review software gives a way to compare tools on a firm's own files.

The software around the model

A model alone answers nothing about a matter. Something has to read PDFs and message exports, split them into passages, find the passages that bear on a question, pass them to the model, and check the citations that come back. On-premise, the firm either buys that software from a vendor that supports local installation or assembles it.

The work around the model
  1. 01

    Read

    PDFs and message exports

  2. 02

    Split

    The text into passages

  3. 03

    Find

    The passages that bear on a question

  4. 04

    Pass

    Those passages to the model

  5. 05

    Check

    The citations that come back

The person

Someone has to install updates, replace failed parts, watch the logs, manage accounts and restore from backup when a disk dies. A firm with an IT department may have that person. A firm of six lawyers whose "IT" is an outside contractor on call has to decide whether that contractor is the one who will run a model server, and what the firm does on the day the contractor is unavailable.

Updates are a second kind of upkeep. A cloud vendor can change its model or its software for every customer at once. On-premise, the model a firm installed is the model it has until someone at the firm replaces it.

Who is responsible for security when the AI runs in the firm's server room?

When the AI runs in the firm's server room, the firm is responsible for all of its security. In a cloud service that job is divided among the cloud provider, the vendor and the firm. On-premise, every layer from the locked door to the user accounts belongs to one party.

Amazon's description of the AWS shared responsibility model shows the division on the cloud side. AWS says it is responsible for "protecting the infrastructure that runs all of the services offered in the AWS Cloud", meaning hardware, software, networking and facilities. Its customer, which is the AI vendor, is responsible for what it builds and configures on top. The same page gives patching as an example: AWS patches the infrastructure, and customers patch their own guest operating systems and applications.

On-premise collapses those columns into one.

  • Physical. Who can walk up to the machine, and what happens to its disks when it is retired.
  • Network. Whether the server can be reached from outside the office, and by lawyers working from home.
  • Patching. The operating system, the model-serving software and the application, each on its own schedule.
  • Backups. Where they go, whether they are encrypted, and whether a restore has ever been tried.
  • Accounts. Who has an administrator login, and who removes it when that person leaves.

Where the documents sit is one question. Who inside the firm may open which matter is another, and moving the software in-house does not answer it. A firm with a lateral hire to screen still needs per-matter access for ethical walls whether the server is in a closet or a data center. The related post on what encryption covers and what it leaves exposed applies to an in-house server too: the key holder is now the firm.

Single-tenant and private cloud: the middle path between on-premise and shared cloud

Single-tenant and private-cloud offers put one customer's data on infrastructure that no other customer shares, while the vendor or a cloud provider still runs it. They reduce the mixing of customers. They do not take the vendor out of the path, so the vendor questions remain.

NIST's definition makes the point that "private" is about exclusivity, not location. SP 800-145 defines a private cloud as infrastructure "provisioned for exclusive use by a single organization" and adds that it "may be owned, managed, and operated by the organization, a third party, or some combination of them, and it may exist on or off premises."

So three different things can be sold under nearby names.

  1. A dedicated instance. The vendor runs a separate copy of its application and database for one firm, in the vendor's cloud account.
  2. The firm's own cloud account. The vendor's software is installed in a cloud account the firm owns. The firm holds the keys and sees the logs. The vendor may still need access to support it.
  3. A dedicated region or location. The firm's data is kept in a named place, which matters where a client or a law requires it.

For each, the questions are the same as for on-premise, one level up. Where does the model run? Is the model also dedicated, or is it a shared service the dedicated application calls? Who at the vendor can sign in to the dedicated instance, and is that recorded? A dedicated instance may be priced differently from a shared one, and the post on affordable legal AI covers costs that a price list leaves out.

Where Lucerna Law sits: a cloud service with named processors

Lucerna Law is a cloud service, and its pages describe no version that can be installed on a firm's own hardware. A firm's files, the text read from them, and each question are handled by companies its privacy policy names.

The privacy policy lists them.

  • Amazon Web Services stores uploaded files and runs the model that answers questions, on Amazon Bedrock.
  • Neon hosts the database that holds accounts, firms, the text read from files, and the questions and answers.
  • Vercel hosts the website and application.
  • Google confirms a person's identity at sign-in.

The policy says data is stored in the United States. The homepage adds that storage and the database are set up in AWS's Oregon region and that the model may process text in other US regions.

Firms are kept apart by rules in the database, and each firm's original files are under a key of their own. Its pages describe no single-tenant deployment. The Enterprise plan's description lists "A dedicated region for your data", and the pricing section says dedicated regions are not built. No auditor has certified the service, and a SOC 2 Type I audit is planned.

The product's in-app security page says the service runs on those companies' cloud services, "not on your premises". A firm whose client forbids any third-party processing cannot meet that term with Lucerna Law.

On-premise legal AI fits a firm that has both a hard requirement to keep data in-house and the staff to run a server properly. A firm with only the first has a requirement it cannot meet safely. A firm with neither is paying for control it does not need.

If this is true of the firmIt points toward
A client contract or court order forbids sending the documents to any third partyOn-premise, or declining to use AI on that matter
The firm has IT staff who already run and patch serversOn-premise is feasible
The firm has no one who would notice a missed security updateA cloud service
Clients ask for data in a named location, and third-party processing is allowedA dedicated region or single-tenant offer
Use is uneven, with heavy weeks before trialA cloud service, where capacity is the vendor's problem
The firm wants the newest models as they appearA cloud service
The firm wants nothing to change without its sayOn-premise
Only one or two matters carry the restrictionA cloud service for the rest, and a separate answer for those matters

The last row deserves a note. A firm does not have to choose one arrangement for every matter. It can keep restricted matters out of a cloud tool by policy and use the tool for everything else, provided the policy is written down and people follow it. The post on firm policy covers an approved tools list and what may be entered into each tool.

Before deciding, read the documents that create the requirement.

  • The engagement letters and outside counsel guidelines of the firm's most demanding clients
  • Any protective order that limits where produced documents may be stored
  • The firm's malpractice and cyber insurance terms on self-hosted systems
  • The local-use license of the model the firm would run