Decision Models for Edge Deployment: Which Option Fits Microcontrollers, Edge Computers and Jetson Boards
Rules and LiteRT Micro classifiers fit microcontrollers. DecisionNode Edge Mini and Edge fit edge computers with gigabytes of memory. A memory budget and a device test decide the rest.
The right decision model for edge deployment depends on the device's memory and the decision's input. On microcontrollers, use rules or decision tables for fixed policies and a small LiteRT for Microcontrollers classifier for sensor signals. On ARM or x86 edge computers and accelerator boards with gigabytes of memory, DecisionNode Edge Mini (0.85B parameters) and Edge (2.2B) handle text and image decisions offline. Their accuracy and speed figures are preliminary vendor results, so a test on the target device should decide the final choice.
Four options cover most edge decisions, and each one fits a different device class
The options differ most in where they can run and what they accept as input. The table compares them on the facts that change a purchase or design decision.
| Option | Input and output | Smallest device class | Licence and runtime |
|---|---|---|---|
| Rule or decision table | Any structured value, fixed answer | Any microcontroller | Your own code |
| LiteRT Micro classifier | One sensor signal, a few classes | 32-bit microcontroller | C++17 runtime, no OS needed |
| DecisionNode Edge Mini | Text and up to 16 images, typed answer | Edge computer, 0.8 GB weights | AGPL-3.0 or commercial, Python |
| DecisionNode Edge | Text and up to 16 images, typed answer | Edge computer, 2.0 GB weights | AGPL-3.0 or commercial, Python |
The weight sizes are for the 8-bit GGUF builds that DecisionNode publishes. In bfloat16 the weights take 1.7 GB for Edge Mini and 4.43 GB for Edge. No 4-bit build is offered.
Fixed policies on any device should be written as rules or decision tables
A rule is the right choice whenever the decision can be stated exactly. Examples include a temperature threshold, a stock level that triggers a reorder, or an eligibility check against known fields. A rule runs on the smallest microcontroller, gives the same answer every time and needs no training data. It also serves as the fallback for every learned model in this guide.
Sensor decisions on microcontrollers fit a small LiteRT Micro classifier
Google's LiteRT for Microcontrollers is built for devices with very little memory. According to Google, its core runtime fits in 16 KB on an Arm Cortex M3. It needs no operating system, no standard C or C++ libraries and no dynamic memory allocation. It is written in C++17 and requires a 32-bit platform. Google lists supported boards that include the Arduino Nano 33 BLE Sense, the STM32F746 Discovery kit and the Espressif ESP32-DevKitC.
The 16 KB runtime figure does not establish how much RAM a deployment needs. The trained model is converted to a C byte array and stored in read-only program memory. The model's working memory sits in a separate buffer called the tensor arena, which the application allocates. The TensorFlow Lite Micro memory guide shows how RecordingMicroInterpreter and PrintAllocations() report the arena that a model really uses. In the guide's example, a small test model used 9,568 bytes.
Two limits of the runtime restrict which models can be deployed. The runtime supports a limited subset of TensorFlow operations, so the architecture has to stay within that subset. It also has no on-device training. Google's examples, a keyword detector and a person detector, show the scale of decision that fits. For embedded Linux boards such as the Raspberry Pi, Google says that standard LiteRT may be easier to integrate.
Text and image decisions on edge computers fit DecisionNode Edge Mini first
DecisionNode Edge and Edge Mini are open-weight decision models from Bynn Intelligence. They return typed answers, which DecisionNode lists as Choice, Score, Truth, Number, Point and Box, each with a calibrated probability. They do not generate text, and the model card warns that loading them in a text-generation pipeline yields "meaningless output." They run only through the decisionnode-edge Python package, version 0.9.2, which requires Python 3.10 or newer.
Edge Mini is the sensible starting point on constrained hardware. It is the model that DecisionNode labels for CPUs and constrained devices, and it runs about 1.8 times faster than Edge on a CPU. On DecisionNode's internal 15-suite evaluation it scores 69.2%, against 74.2% for Edge. Edge is worth its extra memory only if that gap appears on your own held-out data.
The supported hardware follows the runtime's backends. DecisionNode lists NVIDIA GPUs, Apple silicon, x86 CPUs and any device that llama.cpp supports, including NVIDIA Jetson. It publishes no timings for Jetson and does not name ARM single-board computers such as the Raspberry Pi 5. Those configurations are untested as far as any published source shows.
The published timings come from desktop processors with about 500 input tokens. On an AMD Ryzen 7 9800X3D with OpenVINO, the median is 0.24 seconds for Edge Mini and 0.46 seconds for Edge. The llama.cpp 8-bit build on the same CPU takes 0.58 and 1.1 seconds. On an Apple M5 Max with MLX, the medians are 17 and 35 ms.
Offline setup takes three steps that DecisionNode documents:
- Install the runtime with
pip install decisionnode-edge, or withpip install "decisionnode-edge[images]"when the decisions include images. - Download the model folder once while the device is online, because the runtime loads the weights from local files.
- Run one request file with
python -m decisionnode_edge <model-folder> request.json, or start a local server withpython -m decisionnode_edge serve <model-folder> --port 8000.
The local server listens on 127.0.0.1:8000 and handles one request at a time. The runtime accepts inputs up to 16,384 tokens and refuses longer ones instead of cutting them short. DecisionNode evaluated accuracy only up to 8,192 tokens.
The licence should be settled before any device testing, because Edge, Edge Mini and the runtime are AGPL-3.0. Bynn Intelligence sells a commercial licence for closed-source products or customer services.
Tuning a model on your own labels needs a different route, because Edge cannot be fine-tuned
DecisionNode lists fine-tuning as a hosted-only feature that is unavailable on Edge. Parsec publishes one open-source alternative, open-jev, under the MIT licence. It scores a list of options in one pass with a local Gemma 3 4B and includes an SDK, openjev-sdk, for fine-tuning small decision models. Its README describes an encoder method that fully fine-tunes a Hugging Face model, by default ModernBERT-large, on GPUs and then serves it on CPU. The README publishes no latency, memory figure or export format for that encoder, and its benchmarks use synthetic data. The default Gemma 3 4B scorer needs roughly 8 GB of GPU memory at 16-bit. TOD, Parsec's separate decision model built from LoRA adapters on Gemma 4 12B, needs a GPU with 40 GB or more to fine-tune, and Parsec does not state edge deployment for it.
A worked memory and cost example shows what a Jetson deployment needs
Consider a Jetson Orin Nano 8GB, which NVIDIA lists with a power range of 7 W to 25 W. The assumptions are stated so that each can be replaced with your own numbers:
- The device answers 100,000 decisions a day, each with about 500 input tokens of text.
- The model is either Edge in bfloat16 or Edge Mini in its 8-bit build.
- About 20% of questions fall below the 0.7 confidence threshold and go to hosted DecisionNode Flash.
Memory comes first. Edge in bfloat16 needs 4.62 GB at 2,048 tokens and 5.09 GB at 8,192 tokens, according to the model card, which measured these figures with PyTorch. That total would use most of an 8 GB module and would not fit the 4 GB module at all. The operating system and the application also need memory, and their share has not been measured. Edge Mini's 8-bit weights take 0.8 GB, but DecisionNode does not publish its working memory, so that total also needs a measurement on the board.
The hosted fallback costs little at list price. DecisionNode Flash charges $0.035 per million input tokens, and output is free. Twenty thousand escalated questions at 500 tokens each make 10 million tokens a day. That costs $0.35 a day, or about $10.50 for a 30-day month. Questions that stay below 0.7 after Flash go to DecisionNode, whose price is not included here. A device without a network has no hosted fallback, so the 20% would go straight to a safe rule.
Energy per decision on this board has not been measured. It can be calculated from a power meter reading at the supply, divided by the number of decisions in a sustained run.
A device test should settle the choice before rollout
No independent, cross-model benchmark of these options on named edge devices has been published. Each team should measure the candidates on its own hardware and record the same conditions for every run.
The test should cover these items:
- Measure p50 and p95 latency from raw input to typed answer, and not only the forward pass.
- Measure peak process memory at your longest input, including the runtime and the working memory.
- Measure startup cost as the time from process start to the first answer.
- Measure energy per decision under a sustained load that runs long enough for the board to throttle.
- Measure errors on held-out data from your own task, and record how often answers fall below 0.7 confidence.
- Record the precision, input length, number of options, temperature, cooling and exact model and runtime versions.
Keep DecisionNode's 15-suite scores separate from your own results, because they measure different tasks. Set a pass mark before testing, such as a maximum error rate and a maximum p95 latency. Rerun the same test set after every model or runtime update as a regression check.
The model's answer is a scored choice and does not authorize an action by itself. Your code should map each answer to an action and send any answer below the threshold to a rule that the device can execute offline. DecisionNode's documentation also states that Edge should not be used alone for consequential decisions about people, such as hiring, credit or health care.
Sources
- DecisionNode, DecisionNode Edge docs: https://decisionnode.com/docs/models/edge
- Hugging Face, bynn-intelligence-com/decisionnode-edge model card: https://huggingface.co/bynn-intelligence-com/decisionnode-edge
- Google, LiteRT for Microcontrollers overview: https://developers.google.com/edge/litert/microcontrollers/overview
- Google, LiteRT for Microcontrollers, build and convert models: https://developers.google.com/edge/litert/microcontrollers/build_convert
- TensorFlow Lite Micro, Memory management: https://github.com/tensorflow/tflite-micro/blob/main/docs/memory_management.md
- NVIDIA, Jetson modules: https://developer.nvidia.com/embedded/jetson-modules
- Raspberry Pi 5: https://www.raspberrypi.com/products/raspberry-pi-5/
- Parsec, open-jev repository: https://github.com/daseinlabs/open-jev
- Hugging Face, parsecai/tod model card: https://huggingface.co/parsecai/tod