LLM for Manufacturing: Use Cases, OT Networks and Sizing

8 min read

An LLM for manufacturing is most useful on the paperwork that surrounds production: finding the right page in a 600-page maintenance manual, drafting a non-conformance report, summarizing a shift, or reading a scanned inspection form. It is least useful anywhere near the control loop. The plants that get value from one run it on their own servers, outside the control network, and treat every safety-relevant answer as a pointer to the controlled document rather than the instruction itself.

Running it on-premise is often not a preference but a constraint. Many plants have weak or deliberately restricted internet links, and the documents that matter most, such as drawings, process recipes and supplier specifications, are the ones the company least wants on someone else's servers. This post covers the use cases that hold up, where the model should sit relative to the OT network, how big it needs to be, and what to keep away from it.

This post is general information, not legal or safety engineering advice. Your OT security, EHS and quality teams decide what applies to your plant.

Use cases for an LLM for manufacturing

Use case What the model reads What it produces Who checks it
Maintenance and troubleshooting assistant OEM manuals, service bulletins, past work orders An answer with the manual section and revision quoted The technician, against the cited page
Non-conformance report drafting Inspector notes, measurements, part and lot numbers A structured NCR draft The quality engineer
NCR and CAPA analysis Hundreds of past reports Recurring defect themes, linked reports The quality team
Shift handover summary Shift log, alarms list, open work orders A one-page summary for the next shift The incoming supervisor
SOP search Standard operating procedures, work instructions The relevant procedure and step, quoted The operator
Supplier document review Certificates of conformance, specs, PPAP packages A list of mismatches against your requirements Supplier quality
Reading scanned forms Photos and scans of checklists and travelers Extracted fields as structured data A spot check against the original

Maintenance manuals and troubleshooting

This is the use case most plants start with, and for good reason. A technician facing a fault code on a 15-year-old machine wants the three relevant paragraphs, not the PDF. Retrieval-augmented generation (RAG), where the system first finds the relevant passages and then gives them to the model with the question, does this well. Add past work orders to the index and the assistant can also say "this fault was last fixed on line 3 by replacing the encoder cable", which is knowledge that usually lives only in a senior technician's head. Our guide to RAG with a local LLM covers chunking and retrieval for long manuals.

Require every answer to cite the document, section and revision. If the manual in the index is not the controlled revision, the answer is wrong no matter how fluent it sounds.

Quality reports and handovers

NCR drafting is a good fit because the inputs are already structured (part number, lot, characteristic, measured value, specification) and the narrative is the slow part. Give the model your NCR template and ask it to fill the fields, flagging any it cannot fill. Analysis across past reports is the bigger prize: a model can group 400 free-text defect descriptions into themes in minutes, and a quality engineer then checks whether the grouping holds.

Shift handover summaries work the same way. The model condenses the log and open items into a fixed format, and the outgoing supervisor confirms it before leaving.

Supplier documents and scanned forms

Supplier review is comparison work: does this certificate state the alloy, heat number and test results the purchase order requires? A model can list mismatches for a person to resolve.

Much plant data is still on paper: travelers, inspection checklists, calibration tags. A vision-language model, which reads images and text together, can extract the fields from a phone photo or scan into structured data. Spot-check a sample against the originals, because handwritten digits are where errors hide. The self-hosted vision language model post covers model choice and how image resolution affects memory.

Where the model sits: OT segmentation

Operational technology (OT) covers the systems that run the physical process: PLCs, SCADA, HMIs and the networks between them. NIST's SP 800-82 Rev. 3, Guide to Operational Technology Security recommends logical separation between corporate and OT networks, a DMZ architecture that prevents direct traffic between them, and segmenting devices by trust, criticality and data flow, using models such as Purdue or ISA-95 levels. The ISA/IEC 62443 series sets requirements for securing industrial automation and control systems; its part 3-2 covers risk assessment that partitions a system into zones, groups of assets based on risk, connected by conduits, as the IEC's summary puts it.

For an LLM, this leads to a clear placement rule. Almost every use case above works on documents, not on live control data, so the model belongs on the enterprise or site IT side, not inside a control zone. If operators on the floor need it, they reach it through the paths your zone and conduit design already allows, such as a tablet on the plant Wi-Fi that can reach the site IT network. The model gets no write path to any control system. Treat it as a new asset in your 62443 risk assessment, not an exception to it.

If a use case needs live data, such as summarizing the alarm history for a handover, export that data through the DMZ to the IT side as you would for a historian, and let the model read the copy.

Edge server or central data center

Plant edge server Central data center
Works when the WAN is down Yes No
Latency for floor users Local network Depends on the WAN link
Data leaves the site No Yes, to your own data center
GPU utilization Often low, one site's demand Higher, shared across sites
Operations Hardware at every site, local patching One place to run and patch

The choice depends on two things: how reliable your site links are, and whether a given document set may leave the site. A multi-site manufacturer often ends up with both: a central cluster for engineering and quality work across sites, and a small edge server at plants with poor connectivity or with process data that must stay local. Sites with no external connection at all follow the transfer and update process in the air-gapped LLM deployment guide.

Model size per use case

At 4-bit quantization, a model needs roughly 0.6 bytes per parameter for its weights, plus memory for the KV cache, the model's working memory for the current context. That gives a practical sizing table:

Use case Model size that usually suffices Weights at 4-bit
SOP search, manual Q&A (with RAG) 7B-14B ~4-8.4 GB
NCR and handover drafting 7B-14B ~4-8.4 GB
Cross-report defect analysis, supplier comparisons 27B-32B ~16-19 GB
Scanned forms A 7B-12B vision-language model ~4-7 GB plus the vision encoder
Retrieval An embedding model Under 2 GB for most

A 14B text model, an embedding model and a small vision model fit together on one 48 GB GPU with room for context, which makes a single edge server realistic. Test on your own documents before scaling up: a larger model is slower per token, and a technician waiting at a stopped line notices. LLM quantization explained covers the quality trade-off between 4-bit and 8-bit.

Protecting designs and process recipes

The documents that make a manufacturing LLM useful are often the company's most valuable IP: CAD-derived drawings, tolerances, process windows, recipes, and supplier pricing. Sending them to a public API means they are processed on someone else's infrastructure under terms you do not control. Running the model on your own servers keeps prompts, retrieved passages and outputs inside your network.

Self-hosting does not remove the need for access control. The index behind a RAG assistant can surface any document it contains, so build separate indexes or filters per role: a line technician does not need the recipe database, and a contractor should not see either. Log which user asked what, and review it.

Risks: what needs human verification

  • Safety-critical steps, such as lockout procedures, confined space entry and chemical handling, come from the controlled procedure, never from the model's paraphrase. The assistant may point to the procedure. It does not restate it.
  • Torque values, setpoints and tolerances are always read from the cited source. A model can swap two digits with total confidence.
  • Outdated documents in the index produce outdated answers. Tie the index to your document control system and remove superseded revisions.
  • Disposition decisions on non-conforming parts stay with quality, and the model's draft is recorded separately from the final decision.
  • Nothing the model outputs goes to a PLC, recipe system or MES without a person in between.

Where AI Refinery fits

AI Refinery, a self-hosted LLM platform, installs inside your own infrastructure: a plant server, your data center, your cloud VPC or a fully air-gapped network. Nothing phones home, so it keeps working on a site with no internet link. You pick open-source text, embedding and vision-language models from a curated catalog where each quantization variant is benchmarked for size on disk, GPU memory and tokens per second, which makes the sizing table above a lookup rather than a guess. Every deployed model gets an OpenAI-compatible endpoint, and RBAC, SSO, approval workflows and a full audit log cover the access and logging points.

It is not an OT security product and it does not connect to control systems. It also has no built-in chat interface, document index or vector database, so you pair it with the front end and document store your team chooses. You provide the GPUs. If your use case is a single site with good connectivity and only non-confidential documents, a hosted API may be the simpler choice.