Sensitive AI workflow Ho Bae

Before Buying GPUs for a Local LLM, Where Can Your Data Go?

A tall purple block on the left with three horizontal lanes to the right, the middle lane passing through a highlighted blue square

An IT team collects GPU quotes to bring every AI task in-house on a local LLM. Nobody has yet mapped which of that work involves data that has to stay inside.

A local LLM is a large language model that runs on infrastructure a company controls. Before buying hardware for one, an enterprise should first decide where each kind of data may go: what must stay inside, what may reach a frontier model once sensitive values are replaced, and what can be used as is.

Does a local LLM need to handle every AI task?

Enterprise IT teams planning AI infrastructure for 2027 should begin with the work employees need to finish and the data that work touches. Keeping data inside the company is a valid requirement for some information, but not necessarily for every task, and the approved setup also has to handle the work well enough that people keep using it.

Consider a financial services company that wants employees to search internal policies, classify customer documents and analyze contractual obligations. Each task carries different data restrictions and needs different model capabilities. Policy search may work well on a smaller model, while contract analysis may need stronger reasoning.

Some tasks have to run locally because company policy prohibits sending the data out. Other tasks contain sensitive values that a team could replace before sending the rest of the content to an external model. Public information may need neither restriction. A company therefore does not need to send every AI task to one model just because some of its data must stay inside.

Why can a weaker local LLM create a new data risk?

When an approved model gives incomplete answers or struggles with complex instructions, employees may look for another tool. The company keeps control of its own servers but can lose sight of where people paste their work.

The Microsoft and LinkedIn 2024 Work Trend Index, based on a survey of 31,000 knowledge workers in 31 markets published in May 2024, found that 78% of AI users bring their own AI tools to work. The survey did not study locally deployed models or measure whether approved tools fell short, but it shows the habit is already widespread among AI users.

Unsupervised fine-tuning on company documents is not a reliable way to add company knowledge. In a 2023 study, Fine-Tuning or Retrieval? Comparing Knowledge Injection in LLMs, Ovadia et al. found that retrieval-augmented generation consistently outperformed unsupervised fine-tuning on knowledge-intensive tasks, for both previously seen and new knowledge. Giving a model company knowledge and closing its reasoning gap with frontier models are separate problems, and CUBIG’s view is that gains from fine-tuning on internal documents say little about whether a smaller model can reason like a frontier model.

Model size is not the only factor. The way a team prepares data also changes what a model can do. In the CUBIG Korean PII Replacement Benchmark (2026), described in CUBIG’s article on PII redaction for LLMs, the same answering model ran once per replacement method. Document-level extraction F1 was 99.3 with typed labels (Korean equivalents of [PHONE_A]) and 0 with plain masking (***); for dialogues it was 96.3 and 0.

One benchmark run on a Korean extraction task does not predict results across every enterprise workflow. Plain masking scored 0 partly because the task asked the model to answer with the original values, and the benchmark did not test how well sensitive values were detected. The CUBIG results still show why teams should test how sensitive values are replaced instead of assuming every replacement method leaves the model equally able to finish the task.

How do you draw a data map before choosing a model?

A data map starts with the information employees use every day. IT teams identify where documents come from, which fields contain sensitive values, who can access them and whether company policy allows external processing.

Security teams have long categorized information before deciding how to protect it. NIST’s Guide for Mapping Types of Information and Information Systems to Security Categories (SP 800-60, 2008), written for U.S. federal agencies, describes how to categorize information types by the potential impact of losing confidentiality, integrity or availability. Enterprise teams can apply the same idea to decide where each kind of data may be processed by a model.

CUBIG’s article on on-premise LLMs versus cloud APIs for sensitive data uses three similar groups to choose a deployment route; here the map decides where each task’s data may go, and therefore which model can receive it.

Diagram of three data lanes: must stay inside goes to a local model only, can leave after replacement goes through value replacement to a frontier model and back with the original values restored, and can be used as is goes to any approved model
Route the data before choosing the model: each lane of the data map decides where a request can go.
Data laneExamplesWhich model can receive itWhat happens first
Must stay insideUnreleased financials, source code under export control, raw patient recordsLocal model onlyAccess control and logging
Can leave after replacementSupport tickets with names and account numbers, contracts with client namesA frontier model, after replacementReplace values with context-preserving labels, restore them in the answer
Can be used as isPublic product documentation, published policiesAny approved modelNormal review only

Security teams should treat these examples as starting points, not universal classifications. Regulations, contracts and internal policies decide whether a given piece of information can leave the organization, even after a team replaces identifiable values.

Teams should also classify what a model produces. The OWASP LLM02:2025 Sensitive Information Disclosure entry notes that language models, especially when embedded in applications, can expose sensitive information through their output. Running inference inside the company does not remove the need to control who receives the answer.

Once the data lanes are set, which tasks fit a local LLM and which need a frontier model?

After classifying the data, teams identify the capability each workflow needs. The goal is a model that can finish the work within the data restrictions, not the most capable model for every request.

Smaller local models often suit document classification, finding and replacing personal data, and searching internal documents. Local systems can also run OCR and speech-to-text with models built for those jobs. These workflows usually have defined inputs and expected outputs, so a team can check whether the system picked the right document category, found the right personal data or retrieved the right policy.

Frontier models are often better at multi-step reasoning, complex analysis and drafting judgments from several sources. Teams should still test models on their own workflows instead of relying on general capability claims.

Two columns comparing tasks that often fit a local model, such as OCR, classification, personal data replacement and internal search, with tasks that often need a frontier model, such as multi-step reasoning and complex analysis
A common task split between local and frontier models, to be tested on your own workflows.

Consider a procurement team reviewing supplier contracts. A smaller local model could find and replace supplier names, classify clauses and retrieve the relevant purchasing policies. A frontier model could then compare obligations, flag conflicts and draft findings from text that the security team has approved for external processing.

Not every workflow allows that split. If company policy prohibits external processing of the information an analysis needs, the team keeps the task inside its approved environment, whatever an external model could offer.

What should happen to sensitive values before they reach a frontier model?

Removing sensitive values without keeping their function can leave a document hard for a model to read. Replacing every customer name and account number with identical asterisks can stop the model from telling customers apart, connecting related records or knowing which account a request concerns.

Context-preserving replacement is designed to keep that information within a document. A system swaps sensitive values for substitutes that keep their type and relationships, so labels such as [CUSTOMER_A], [CUSTOMER_B] and [ACCOUNT_A] let the model distinguish entities without receiving the original values. When an approved user receives the answer, the system can restore the original values so the result is usable in the business workflow. Restoring the original values cannot fix an answer in which the model picked the wrong entity.

Security teams still need to check whether the remaining text holds confidential business details or clues that could identify a person indirectly. Replacing identifiable values does not by itself make every document suitable for external processing, so data teams should test the prepared text against the intended task before relying on it.

CUBIG Shorts

Where LLM Capsule Sits in Your Workflow

A short clip from CUBIG on The Ravit Show.

▶  Watch on YouTubeSubscribe

What should a team decide before buying hardware?

Teams can start with one workflow employees already use and map its data before sizing any hardware. A good first workflow has known inputs and a clear definition of a good output, written down before any model is chosen.

Infrastructure budgets should cover hardware refreshes, power, cooling, space, operations staff and model updates. Most of these costs continue after the hardware is installed. Before requesting a GPU budget, IT, security and data leaders can answer these questions together:

  • Data inventory: Which information will the model receive, and which restrictions apply to each type?
  • Task fit: Which workflows can a smaller model complete well enough that employees will keep using it?
  • Model routing: Which tasks need a frontier model, and does company policy allow external processing for them?
  • Data preparation: Which sensitive values must be replaced, and what context must the replacement keep?
  • Adoption: How will the team measure output quality, repeat use and the cost of running the system?

Teams should watch whether employees keep using the approved workflow after launch. If people abandon it because answers need heavy correction, the team should find out whether the cause is model capability, missing information or poor data preparation before buying more hardware.

Where does LLM Capsule fit?

LLM Capsule is CUBIG’s context-preserving data layer for AI and covers the middle lane of the data map. LLM Capsule replaces sensitive or controlled values with context-preserving substitutes before text goes to an approved AI model, and restores the original values when the answer comes back, for workflows where company policy allows external processing after that preparation.

LLM Capsule does not replace a company’s own model infrastructure or decide whether a given piece of information may leave the organization. Enterprise teams remain responsible for data restrictions, model choice, output quality and compliance. CUBIG confirms supported models, deployment location and the scope of restoring original values for each customer environment and contract.

Next week, take one workflow employees already use and sort its data into the three lanes. Keep the must-stay-inside lane on systems the company controls. For data that policy allows to leave after replacement, test whether a frontier model can still finish the task on the replaced text, before committing to hardware. If that workflow needs the context of sensitive values, see how LLM Capsule fits.

LLM Capsule. AI works on context-preserving stand-ins. Original values restored in your environment. Contact CUBIG.

FAQ

What is a local LLM?

A local LLM is a large language model that runs on infrastructure a company controls instead of through an external provider. Before buying one, the main decision is where each kind of data may go, including what may reach a frontier model after sensitive values are replaced.

Should an enterprise run every AI task on a local LLM?

Not necessarily. Company policy decides which data must stay inside and which may be processed externally. Smaller local models often handle classification, OCR, personal data replacement and internal search well, while frontier models are often better at multi-step reasoning.

Does fine-tuning a local LLM on company documents close the gap with frontier models?

Not reliably, in CUBIG's view. A 2023 study by Ovadia et al. found retrieval outperformed unsupervised fine-tuning for adding knowledge. The study compared ways to add knowledge, not ways to close a reasoning gap, which CUBIG treats as a separate problem.

What should a team do before buying GPUs for a local LLM?

Map the data an AI workflow uses into lanes such as "must stay inside," "can leave after replacement" and "can be used as is," then match tasks to models and test one workflow with real users.