How to Run LLMs and SLMs at the Industrial Edge: Use Cases, Hardware and Architecture

Learn how to use LLMs and SLMs at the edge for Industrial AI: which model fits which task, the plant-floor use cases that work, how to size edge hardware, and a reference architecture to build on.

How to Run LLMs and SLMs at the Industrial Edge
How to Run LLMs and SLMs at the Industrial Edge

Most teams try generative AI by sending questions to a cloud model. That works for office documents. It breaks down on the plant floor, where the data is time-series, the network is segmented or air-gapped, and an answer that arrives after the line has restarted helps nobody. Running LLMs and SLMs at the edge puts the language model next to the machines and the data it needs to answer well.


This guide covers how to use LLMs and SLMs at the edge for Industrial AI: which model type fits which task, the use cases that work today, how to size hardware, and an architecture you can build on.

What does it mean to run LLMs and SLMs at the edge?

Running LLMs and SLMs at the edge means hosting a language model on compute inside the plant, such as an industrial PC, an edge server or a compact GPU system, instead of calling a cloud API. The model reads contextualized plant data and local documents, and its answers never leave the site.


Small language models (SLMs) are compact models, typically a few billion parameters or fewer, that handle narrow tasks well and can run on modest hardware. Large language models (LLMs) are larger and more general. They reason better across long documents but need far more memory and usually a GPU.

LLM vs SLM at the edge: which one fits?

Factor

SLM at the edge

LLM at the edge

Typical size

Up to a few billion parameters

Tens of billions of parameters

Hardware

Smaller, quantized models can run on CPU; a GPU improves response time

GPU with substantial memory

Strengths

Fast, repeatable, narrow tasks: classifying alarms, extracting fields, translating fault codes, summarizing short event windows

Open-ended questions, multi-step troubleshooting, reasoning across many documents

Limits

Less general knowledge; needs tight prompts and good retrieval

Higher hardware cost, more power and heat, slower per answer

Best placement

Next to a line or cell, handling high-volume tasks

A site server, serving maintenance and engineering teams


Many plants end up running both. SLMs handle high-volume tasks close to each line, and a larger model on a site server answers the open-ended questions. The model choice matters less than the data the model reads. Either one gives poor answers if it sees raw tag addresses with no units, no asset names and no time context.

Why run language models at the edge instead of the cloud?
  • Response time. Operator-facing answers need to arrive while the event is still happening, not after a round trip to a remote data center.

  • Data residency. Process parameters, recipes and quality records often cannot leave the site under customer contracts or internal policy.

  • Connectivity. Segmented OT networks and air-gapped plants cannot depend on a cloud API. An edge model keeps working when the WAN is down.

  • Predictable cost. High-volume tasks, such as classifying every alarm, generate many model calls. Local inference avoids paying per call.

  • Data gravity. The time-series history, events and documents the model needs are already in the plant.


The cloud still has a role. Training, fine-tuning, cross-site analysis and occasional use of very large models usually belong there. The edge is where the model meets live operations.

Industrial use cases for LLMs and SLMs at the edge

Use case

What the model does

Model that usually fits

Inputs it needs

Fault code translation

Turns PLC fault codes and alarm text into plain-language troubleshooting steps

SLM

Fault code, alarm history, relevant manual sections

Alarm flood summarization

Groups an alarm flood into one summary with the probable first cause

SLM

Alarm and event stream with timestamps and asset IDs

Shift handover notes

Drafts a summary of downtime, quality holds and open issues for the next shift

SLM or LLM

Downtime events, reason codes, open work orders

Maintenance troubleshooting assistant

Answers "what fixed this last time?" from past work orders, manuals and recent trends

LLM

Work order history, manuals, recent sensor history

Natural-language data queries

Translates a question into a structured query on tags and history

SLM with tool calling

Data models, tag catalog, time-series store

Procedure Q&A at the line

Answers questions about standard operating procedures and work instructions

SLM or LLM

Controlled SOP and work instruction documents


Every use case in this table explains, summarizes or retrieves. None of them gives the model control of equipment. Setpoints and control logic stay with the control system and the people authorized to change them.

How much hardware do you need for an SLM or LLM at the edge?

Start with memory. A model's weights need roughly its parameter count multiplied by the bytes stored per parameter: about 2 bytes at 16-bit precision, 1 byte at 8-bit and 0.5 bytes at 4-bit quantization.


Model size

16-bit weights

8-bit weights

4-bit weights

1 billion parameters

~2 GB

~1 GB

~0.5 GB

3 billion parameters

~6 GB

~3 GB

~1.5 GB

7–8 billion parameters

~14–16 GB

~7–8 GB

~3.5–4 GB

13 billion parameters

~26 GB

~13 GB

~6.5 GB

70 billion parameters

~140 GB

~70 GB

~35 GB


These figures cover the weights only. Add headroom for the context window, the runtime and anything else running on the same device. Then check five more factors:

  1. 1.

    Concurrency. How many users or data flows will call the model at the same time?

  2. 2.

    Response time. Batch jobs such as shift summaries tolerate slower CPU inference. Interactive assistants usually need a GPU.

  3. 3.

    Context length. Long prompts, such as an hour of alarms plus three manual sections, need more memory than short ones.

  4. 4.

    Shared workloads. The same node may also run connectivity, analytics and vision models. Reserve CPU and GPU capacity for each workload explicitly.

  5. 5.

    Environment. A fanless industrial PC on the line, a rack server in the site data center and a compact GPU system have very different limits on power, heat and dust.


For larger models on the plant floor, Litmus Edge runs on NVIDIA DGX Spark, a compact system built for local AI inference.

Reference architecture for LLMs and SLMs at the edge
  1. 1.

    Connect. Litmus Edge collects data from PLCs, SCADA, historians, MES and other systems through native connectors.

  2. 2.

    Contextualize. Data Normalization and Data Contextualization turn a raw tag address into something a model can read, such as "Pump P-101 discharge pressure, bar", with asset attributes attached through a data model.

  3. 3.

    Store locally. Edge-local time-series storage keeps recent history available for queries, even when the network is down.

  4. 4.

    Retrieve. A retrieval step gathers the slice of data a question needs: the event window, asset attributes, relevant manual sections and past work orders. It then builds the prompt.

  5. 5.

    Infer. The SLM or LLM runs in a container on the same edge node, with its own CPU and GPU allocation. In Litmus Edge, a model connection can be added to an analytics flow so inference runs inside a real-time data flow.

  6. 6.

    Deliver. Answers go to an HMI, a dashboard, a chat interface or a maintenance system, with the source data shown alongside.

  7. 7.

    Govern. Litmus Edge Manager distributes model containers and versions to sites, monitors their health and rolls back a version that misbehaves.

  8. 8.

    Connect agents. Litmus MCP Server exposes Litmus Edge operations, such as tag reads, history queries and data models, as tools an AI agent can call.

Guardrails for language models on the plant floor
  • No direct control writes. Recommendations go to a person or through an existing, approved workflow.

  • Answer from plant data, with sources. Every answer should name the asset, time window and records it used.

  • Refuse when data is missing. Check freshness before answering. "I don't have data for that period" is a correct answer.

  • Log every prompt and response for review and improvement.

  • Version models and prompts together, and test both against recorded events before rollout.

How to start your first edge language model project
  1. 1.

    Pick one narrow, high-volume task, such as fault code translation on a single line.

  2. 2.

    Confirm the data exists and is contextualized: fault codes, alarm history and the matching manual sections.

  3. 3.

    Start with the smallest model that passes your test set. Move to a larger model only if accuracy falls short.

  4. 4.

    Build a test set from past events with known answers, and score every model version against it.

  5. 5.

    Run in advisory mode for several weeks and collect operator feedback on every answer.

  6. 6.

    Roll out to more lines through central management once accuracy and response time hold steady.


You can test connectivity and edge workflows on your own hardware with the free Litmus Edge Developer Edition.

Frequently asked questions

What is the difference between an LLM and an SLM in Industrial AI?
An SLM is a compact language model, usually a few billion parameters or fewer, suited to narrow and repeatable tasks such as translating fault codes or summarizing alarms. An LLM is larger and more general, and better at open-ended troubleshooting across many documents. SLMs fit modest edge hardware; LLMs usually need a GPU.


Can an SLM run on an industrial PC without a GPU?
Yes, for smaller quantized models and tasks that do not need instant interactive responses, such as generating shift summaries. Interactive assistants and larger models generally need a GPU to respond fast enough for operators.


Can LLMs run in an air-gapped plant?
Yes. The model weights are loaded locally and inference runs entirely on site. Litmus Edge supports offline-first and air-gapped deployments, as well as locally hosted language models.


Should an edge LLM control equipment?
No. Language models should explain, summarize and recommend. Control actions stay with the control system and authorized people, and any automated action should be narrow, approved in advance and logged.


How do you update language models across many plants?
Package each model as a versioned container, register it centrally and roll it out in stages. Litmus Edge Manager provides AI model management with controlled deployment, health monitoring and rollback-ready updates across edge sites.

Put language models next to your plant data

Language models are only as useful as the plant data they can read. Litmus Edge connects, contextualizes and stores that data at the source and runs SLMs and LLMs beside it, while Litmus Edge Manager keeps every site on the right model version. Book a demo to see edge language models running on live industrial data.

Rahul Kulkarni

Rahul Kulkarni

Technical Product Marketing Manager

Rahul is Technical Product Marketing Manager at Litmus.