LIVE · Thursday 3 December

Rules, Classifier, LLM or Decision Model? Choosing a Decision Model for Logistics Exception Handling

Keep SOP rules for triggers and escalation, and put a calibrated decision model on disposition only where volume and labelled history justify it. List prices run from about $0.11 to $15 per 1,000 exceptions.

By Thomas8 min read

For logistics exception handling, use SOP rules for triggers, escalation and closure, and add a calibrated decision model for the disposition of each exception once you have enough labelled history. Send rerouting to an optimization solver, use an LLM agent for portal work and customer drafts, and keep people on high-value cases. A frontier LLM called on every exception costs about $7.50 per 1,000 decisions at list price, against about $0.11 to $0.30 for purpose-built decision models. No one has published a head-to-head benchmark of these approaches on shipment exceptions, so test them on your own closed cases.

The choice of decision model applies to one step of exception handling

Most systems described in 2026 split exception handling into layers, and only one layer needs a decision model. A Pharmaceutical Commerce report from LogiPharma USA, published October 15, 2026, states that the workflow still follows the SOP. It also notes that SOPs vary by product, customer and trade lane. A May 2026 arXiv preprint on supply chain decision engines keeps the LLM away from rerouting and lets a MILP solver make every final optimization decision. In its March 2, 2026 release for an ocean exceptions agent, project44 states that analysts keep final authority over rebooking.

The step that remains is disposition. The system sees one exception, such as a late pickup, a missed milestone, damage, an address or customs hold, a temperature excursion or a carrier no-show. It then picks one action from a fixed set: auto-resolve, rebook, re-promise the date, notify the customer, escalate to a human, or send to the optimizer. Four approaches can make that pick.

Four approaches can make the disposition choice, and they differ in cost and confidence

The table compares the four approaches at one set of assumptions. Each exception sends 3,000 input tokens, and a general LLM writes 150 output tokens to return a ranked action list. Costs use each provider's list price.

Approach Returns a probability for each action List cost per 1,000 decisions Fits best
SOP rules engine No No model fee Few exception types with clear SOPs
Gradient-boosted classifier Yes, after calibration No model fee High volume with structured fields
Frontier LLM per exception (Claude Sonnet 5.5) No, writes text $7.50 New or rare cases with no history
Token-priced decision model (Jev, Clef-flash) Yes $0.11 to $0.13 High volume with text-heavy records
Per-decision model with deferral (Parsec TOD) Yes $0.30 Sitting in front of an existing LLM

The rules and the classifier run on your own systems, so they carry no per-call model fee. Their cost is the engineering time to write rules or to build features and labels.

Accuracy, calibration error, deferral rate and latency for these approaches have not been measured on the same shipment exceptions. The arXiv decision-engine preprint reports a 14.6 percent cost reduction for its hybrid design, but in simulated environments and against other LLM frameworks only. The ORThought benchmark, LogiOR, tests whether an LLM can write a logistics optimization model, which is a different task.

Small operations with standard SOPs should stay with rules

An operation with a few exception types and clear SOPs gains little from a learned model. The rules are already the policy, they are fully auditable, and they need no training data. An LLM assistant can still write the case notes and the customer messages. Today staff do that work by hand across multiple portals, a manual process that Henry Ames of Zoomlogi called "hugely error-prone."

The limit of rules is that they give no confidence score. A case that the rules do not describe falls through to a default, usually escalation to a person.

High-volume networks with many exception types benefit from a calibrated model

A network with thousands of exceptions a month across many types and lanes is where a learned decision model can take load off the team. The key requirement is calibration, which means that the model's stated probability matches how often it is right. The scikit-learn documentation defines it with an example. Among cases that a well-calibrated model scores at about 0.8, about 80 percent should be correct.

Calibration is what lets a model act on confident cases and defer the rest. The scikit-learn docs state that isotonic calibration works as well as or better than the simpler sigmoid method once there are more than about 1,000 samples. That gives a practical floor of around 1,000 labelled cases for each exception type that the model will handle alone.

The choice between a classifier and a decision model depends on the data:

  • A gradient-boosted classifier suits exceptions that are described by structured fields, such as carrier, lane, milestone codes and delay hours. It returns probabilities, but the scikit-learn docs show that many classifiers need a correction step before those probabilities are reliable.
  • A purpose-built decision model suits exceptions that arrive with free text, emails or images. It scores every allowed action and cannot return an action outside the list. TypeSafe's Jev 1.14 costs $0.042 per million input tokens, and Cloudflare's Clef-flash costs $0.038, with no charge for output on either.

Parsec, a small language model lab, sells TOD, a decision model that ranks the next action from a list of allowed actions. A confidence gate lets TOD act when it is confident and passes the turn unchanged to a parent LLM otherwise. According to Parsec's TOD page, it costs $0.30 per 1,000 decisions regardless of context length, and its median forward pass is 69 ms on one H100 GPU. Parsec also publishes openjev-sdk under an MIT licence for fine-tuning such models on a team's own records. The TOD page reports no logistics evaluation, and Parsec publishes no price for tuning a model on a customer's decisions.

Clinical and other high-value shipments should keep a person on every disposition

Low-volume, high-value freight is the case where a learned model does not pay off. The Pharmaceutical Commerce report describes clinical shipments as lower-volume, higher-value parcels, sometimes one of one for autologous therapies. Ames sees the level of automation as potentially higher on the commercial side. A clinical network will rarely reach 1,000 labelled cases for any exception type, and the cost of one wrong decision is high.

In this situation, the LLM agent still helps by collecting the facts and drafting the case file. The disposition itself stays with experienced staff, and the rules handle escalation.

A worked example puts a busy network's model cost between $2.52 and $300 a month

Take a commercial network that handles 20,000 exceptions a month. Assume, as in the table, 3,000 input tokens and 150 output tokens for each exception. The monthly model cost at list price follows from those figures:

  1. Claude Sonnet 5.5, at $2 input and $10 output per million tokens, costs $0.0075 per exception, or $150 a month.
  2. Claude Opus 5.5, at $4 input and $20 output, costs $300 a month.
  3. OpenAI's gpt-6.2-sol costs the same as Sonnet 5.5, $150 a month, and gpt-6-luna costs about $7.50.
  4. Jev, at $0.042 per million input tokens and no output charge, costs about $2.52 a month.
  5. TOD, at a flat $0.30 per 1,000, costs $6 a month before any deferred cases.

Deferral adds the cost of the fallback model. Suppose that TOD bills every exception and sends 30 percent of them on to Sonnet 5.5. The 6,000 deferred cases add $45, for a total of $51 a month. The 30 percent is an assumption, because no deferral rate on shipment exceptions has been published.

Caching changes the LLM figures. If 2,000 of the 3,000 input tokens are a fixed SOP prefix, read from cache at $0.10 per million on Sonnet 5.5, the cost falls to about $3.70 per 1,000, or about $74 a month. That figure leaves out cache writes, which Anthropic bills at 1.25 times the input price for a five-minute cache.

These sums are small next to the cost of a wrong decision. The project44 release states that a single rolled container can delay cargo by seven days or more. It adds that customers often pay "panic premiums" of 200 to 300 percent for expedited drayage and trucking once delayed containers arrive. The price per call should therefore rank below accuracy and calibration in the choice.

Every automated disposition should log a ranked action list and a threshold

An auditable system records every allowed action with its probability, the threshold in force and whether the case was deferred. Classifiers and decision models produce this ranked list directly. A frontier LLM needs its text output checked against the action set before it is logged.

The threshold is a business choice. TypeSafe's confidence documentation states that "a threshold is not one number" and should vary with the stakes of each action. It advises teams to start with conservative thresholds and adjust them on their own data. A conservative setting sends more cases to people, and an aggressive setting automates more cases and accepts more errors.

SOP changes need a plan before launch. Removing an action takes effect as soon as it leaves the list that the calling code supplies. A change in which action the SOP prefers needs new labels and a retraining run for any learned model. The ORThought authors note that logistics constraints "frequently change in response to volatile markets," so the retraining step should be tested along with the model.

To test the options on your own network, export several thousand closed exceptions with their final actions and split them by date. Score each approach on accuracy, expected calibration error, accuracy at a fixed coverage, median latency and cost per 1,000 decisions. Then rerun the test after the next SOP change.

Sources

More in Research

All Research →