Development
en-US

Probabilities Instead of Prose: How Amazon Replaced Sonnet 4.6 with a Decision Model for Ticket Classification

A decision model drops the generation head to output per-option probabilities; rewriting twenty labels into short criteria and rolling out behind a three-mode switch for shadow comparison and config-only rollback.

·27 min read·Lios09
#decider#classification#calibration#llm#aws#routing

1. Generative Models Got Ticket Classification Running, but the Task Is Multiple Choice

Amazon saves millions by replacing Sonnet 4.6 with Strands Decider was published on 2026-11-09 by Carr Onstott, Mehul Jaiswal, and the Strands Agents Team. The post describes a massive internal ticketing system at Amazon: for a while, teams across Amazon and AWS used Claude Sonnet 4.6 to label tickets, trying to stay smart enough without blowing up the bill. The authors called it a "goldilocks" choice—just the right balance between intelligence and cost. Considering this is "one of the world's largest internal ticketing systems," they also acknowledge that the model, which had been running in production for nine months, performed well.

They later replaced it with Strands Decider, which had launched about a month earlier. Their headline summary: the new model "performed just as well at 98% less cost," and "This change will save millions of dollars of token costs in a year." Both claims are their own conclusions and estimates—I will unpack where the numbers come from below, and I have not reproduced this production traffic myself.

The tickets themselves cover customer escalations, capacity requests, automated alarms, security findings, and anything else across the company that needs to be sorted into roughly 20 categories. The old pipeline was an agent: each ticket came with a long system prompt, asking the model to generate JSON against a fixed set of labels along with its reasoning. In other words, what production actually needed was "pick one label from a known catalog," yet the interface was "write structured text with a reasoning trace." Text generation was a means to an end here, not a requirement of the task itself.

A decision model sits on the exact opposite side of that divide. It cannot generate text. The caller passes in some state, a question, and a set of options; the model returns a probability for each option along with a confidence score. The authors mapped that straight onto ticket labeling: the state is the ticket, and the options are the label catalog. Once the task interface narrows from "write a paragraph" to "score a fixed set of options," latency, cost, calibration, and rollback all follow a completely different design.

They started with the original Strands Decider 2B. On their internal ticket test set, the E4B Gemma 4 build performed noticeably better, so they switched to it and then tuned how confident the model needed to be before applying a label. The result: on a separate holdout set of tickets, E4B outperformed the production Sonnet setup. The post does not publish accuracy percentages for this comparison, so I will not invent any.

Ticket events enter SQS and are read by Lambda; JSON keys are sorted first and the oldest comments are dropped if the ticket is too long; the ticket is then sent as state with twenty one- or two-sentence criteria plus none as options to Decider; the model returns per-option probabilities and a confidence score, applying the label if it meets the threshold and is not none, or escalating otherwise


2. What a Decision Model Actually Outputs

To see why this replacement works, it helps to strip "decision model" of marketing language and look at it as an interface. The 2026-10-01 launch post, Introducing Strands Decider 2B, frames it as an emerging class of "decision model" or "system one model." Authors Marc Brooker, Mike Chambers, and Fabio Nonato de Paula note that this category gained attention starting with Jev, released earlier that month by TypeSafe AI. Unlike LLMs that can generate arbitrary text, a decision model is built to choose among a set of options and return simple numerical scores. The examples in the launch post include whether a sentence is about a coffee machine, whether a passage is in English, Zulu, or Dutch, and scoring a review's sentiment from 0 to 1.

It trades flexibility for three things: at the same parameter count it is faster and better at making decisions; the answer is guaranteed to fall within the options you provide; and latency can be very low. The trade-offs are stated just as plainly: every output is produced simultaneously in a single parallel forward pass, making it markedly weaker than reasoning models on complex problems, and because it cannot generate text, it is unsuited for coding, chat, summarization, or other typical LLM tasks. In return, it attaches a high-quality reliability score to each decision—something the launch post notes "is not available through frontier LLM inference APIs." Asking multiple questions over the same prompt also becomes cheap.

The model architecture is much more concrete than that product pitch. According to the architecture docs, you take a pretrained decoder LLM trunk, drop its language-modelling head (removing the ability to generate text), and replace it with a pointer head of roughly one million parameters. The trunk is adapted with rank-16 LoRA. Each request is rendered into a single prompt structured as <state>…</state>, a typed <question> (with <options> nested inside), ending at <answer>. The trunk runs once. The pointer head uses the hidden state at <answer> as the query and the hidden state of the last token on each option's line as the key—under causal attention, that token has just finished reading its own line—and scores them as:

logit_k = <q(h_answer), k(h_option_k)> / sqrt(dim)

Take a softmax over those logits and you have the answer. The entire inference path ends right there: a single forward pass, no generation, no decoding loop. The 2B model in the launch post uses Qwen3.5-2B as its trunk; the architecture docs list Qwen3.5-2B-Base for v13 through v19. The readout head itself is tiny—roughly one million parameters (dim=256)—and runs in fp32. As the architecture docs explain, the trunk can run in bf16, but a low-precision classification head needlessly introduces calibration error.

The three question types all use the same masked softmax, just interpreted differently:

  • noul: binary yes/no question, returning P(true).
  • choice: pick one of N options, returning the argmax, per-option probabilities, and a confidence score.
  • score: rate across 2 to 10 ordered levels, returning the expected value, distribution, and confidence score.

Ticket labeling uses choice. The CLI example in the launch post makes this immediately clear: pass the customer message via --state and --choice "Which team should handle this?=billing,sales,retail", and the model prints the selected option, a confidence score, and individual probabilities for billing, retail, and sales. Amazon's setup simply swaps "which team should handle this" for "which label should be applied," and replaces three department names with twenty criteria.

One detail changes how you actually use these numbers: confidence for choice is not trained separately—it is derived from the probabilities. The architecture docs give the formula:

confidence = (N · p_max − 1) / (N − 1)

It is 0 for a uniform distribution, 1 for a one-hot distribution, and invariant to N. That means the same routing threshold represents the same degree of certainty whether a question has 3 options or 10. noul has no separate confidence field because with only two outcomes, the probability itself is the uncertainty. When Amazon later "tuned how confident the model needed to be before applying a label," they were tuning this kind of comparable score—not asking a generative model to append "I am very confident" inside a JSON blob.

The pointer head has another consequence that sets it apart from a standard classifier: an option's score depends on what it says, not which position it sits in. The model has no per-slot parameters, so it cannot learn that "the first option is usually right," and the number of options is not capped by the weight matrix—the architecture docs note the limit comes only from the schema cap of 255. The exact same weights can answer a two-option yes/no question or route across thirty options; label sets never seen during training work out of the box as long as each option is clearly described in the request. The authors call this "runtime-defined labels": adding a new category does not require retraining. Training also enforces one rule more important than any loss function: option order is shuffled per example and per epoch, with the target label remapped accordingly; otherwise the readout head would silently memorize that "slot 0 is usually the positive class," destroying its generality.

So a decision model is not "a tiny chat model that refuses to talk." It changes the computation graph: the generation head is removed, options are read as text in the request, and the answer is a single softmax. Amazon did not replace Sonnet because a 2B or E4B model suddenly learned to write better ticket summaries—they replaced it because labeling never needed a summary in the first place.


3. Rewriting Twenty Labels into One- or Two-Sentence Criteria

The authors break the token reduction down into two sources. First, Strands Decider emits a single output—just the choice—instead of a full JSON payload, dropping output tokens per ticket from 170 to 1. Second, its prompt is much shorter than Sonnet 4.6's. In production, the label descriptions alone exceeded Strands Decider's 4,096-token context window, so they rewrote each of the 20 labels into a one- or two-sentence criterion, passed them in as options to a multiple-choice question, and added a none option. The ticket payload is the same one Sonnet receives, with one exception: for unusually long tickets, Strands Decider drops the oldest comments so the request fits inside the window.

This was not a casual "let's try trimming the prompt." Because the old label definitions already blew past the context window, a decision model was physically unusable until the catalog was rewritten. And since the pointer head scores the option text directly, the closer each option reads like a testable criterion, the clearer the matching target becomes. The contrast below is my own illustration of the difference between a bare name and a criterion—not Amazon's actual label catalog:

  • Bare name: networking
  • Written as a criterion: The ticket describes network connectivity, VPN, certificate rotation, or firewall changes, rather than an application bug or access provisioning.

Adding none explicitly builds "none of these criteria apply" into the catalog. Half of the abstention and escalation story starts right here: the model can not only return low confidence, it can also put its probability mass squarely on none.

Here are the call-side numbers they published. Average latency per invocation dropped from 4,215 ms to 897 ms, a 78% reduction; input tokens per ticket fell from 6,554 to 2,009 and output tokens from 170 to 1, bringing total tokens from 6,724 down to 2,010 (a 70% drop). All of these are their own measurements. The post also includes a chart showing average Lambda execution duration dropping 74% on the day Sonnet was turned off. Note that these timing figures measure different scopes: they separately note that a single model request takes about 640 ms on one instance, while 897 ms is the average per invocation and 4,215 ms is the matching figure on the old path.

Costs are calculated using public us-east-1 on-demand pricing. Claude Sonnet 4.6 via Bedrock's global endpoint costs $3.00 per million input tokens and $15.00 per million output tokens, which works out to $0.0222 per ticket, or roughly $22,200 per million tickets. Strands Decider E4B runs on a SageMaker ml.g5.xlarge instance at $1.408 per instance-hour. At roughly 640 ms per request, one fully utilized instance handles about 5,600 tickets per hour—around $250 per million tickets at peak utilization. Keeping headroom for bursts puts their actual cost at roughly $500 per million tickets, or about $0.0005 per ticket. They put the difference at roughly 44x cheaper—a 98% cost reduction. These figures use public list prices and exclude Lambda, which also runs for less time per ticket now.

The serving architecture is described in concrete detail. E4B runs on ml.g5.xlarge (a single 24 GB A10G GPU), where the model occupies roughly 19 GiB and handles a request in about 640 ms on a single instance. The endpoint autoscales with traffic inside an isolated network with no outbound internet access; SageMaker copies the weights from S3 before startup. Ticket events land in SQS and trigger a Lambda function, which fetches the ticket and calls the SageMaker endpoint. Feature switches live in AppConfig, logs, metrics, and alarms go to CloudWatch, and the whole stack is defined in CDK across Beta, Gamma, and Prod stages. As the authors emphasize, apart from their ticketing API, everything in the pipeline is standard AWS infrastructure.

It is worth keeping the provenance of 2B and E4B distinct. The 2026-10-01 launch post describes Strands Decider 2B as a 2-billion-parameter open-source model that runs locally on CPU or GPU, with code on GitHub, weights on Hugging Face, and training data and scripts published alongside it—aimed at rapid experimentation, local development, and further iteration. In Amazon's case study, they tried "the original Strands Decider 2B" first, then switched to "the E4B Gemma 4 build" based on their test set. On 2026-10-15, Strands published four Gemma 4-based sizes—E2B, E4B, 12B, and 26B-A4B—with the public E4B identifier StrandsAgents/strands-decider-E4B-gemma4-v1-2610. The case study does not specify whether production ran that exact Hugging Face artifact, so I treat it only as the later public build of the same name rather than claiming byte-for-byte identity. The Gemma 4 family keeps the same question types and the same LoRA plus pointer-head architecture.


4. Calibration, Thresholds, and Not Auto-Labeling When Uncertain

A generative pipeline gives you text. Even if you ask for JSON, a field like "confidence": "high" is still just sampled tokens, not a score you can validate against empirical accuracy. The launch post explicitly contrasts a decision model's reliability score with frontier LLM inference APIs, which generally do not provide one. On the old path, implementing "don't auto-label if you aren't sure" usually meant bolting on heuristics: checking whether a known label name appeared, whether the output parsed cleanly, or prompting the model a second time to ask how sure it was.

A decision model collapses that into two quantities you can write rules against directly: per-option probabilities and a confidence score normalized from the top probability. Because the formula normalizes for N, a 0.8 across 20 labels plus none means the same degree of separation from uniform as a 0.8 across three teams. The next thing Amazon's engineers did was not another round of prompt tweaking, but tuning how confident the model had to be before applying a label.

The post does not disclose their exact threshold. The architecture docs cite example bands from the public Jev API documentation—0.9 and above to act autonomously, 0.5 to 0.9 to confirm first, and below 0.5 to hand off to a human—while noting that the right threshold depends on the cost of each action and must be measured on your own traffic. Those bands are not published settings from Amazon's ticketing system, so I am not presenting them as their production config. For ticket labeling, the shape of the policy matters more than any single number:

  • Top option is not none and confidence meets the threshold: apply the label and route accordingly.
  • The model picks none or confidence falls short: skip auto-labeling and escalate to a human or the fallback path.

Picking none and returning low confidence are not the same thing. The first says "none of these criteria fit"; the second says "even the closest match doesn't stand out clearly from the rest." Both lead to abstention, but they point to different fixes: frequent none predictions suggest the catalog does not cover real traffic, whereas frequent low confidence points to overlapping criteria or under-specified tickets. Calibration answers a specific question: when the model reports 0.8, is it right roughly 80% of the time? The launch post evaluates calibration alongside accuracy using Brier score on the public JevBench dataset. Amazon's case study does not publish reliability diagrams for its ticketing task—only that they tuned the confidence bar for applying labels and that E4B outperformed production Sonnet on a separate set of tickets.

This changes more than metrics—it changes what the product lets you control. With a comparable confidence score, the coverage-versus-precision trade-off becomes a dial: raise the threshold and fewer tickets are auto-labeled, but the ones that are stay cleaner; lower it and automation rises while the escalation queue shrinks. A generative model can certainly refuse to answer, too, but its refusal is still free text—hard to threshold and hard to compare week over week. A decision model turns abstention from a phrasing problem into a policy parameter.

The architecture docs also explain why the readout head runs in fp32: the head is tiny, and a low-precision classification head introduces calibration error for no gain. For a model whose outputs drive thresholds, that matters just as much as accuracy. A score that looks confident while routinely misfiring around 0.7 is more dangerous than a slightly lower, honest score, because it tricks you into setting the wrong threshold.


5. The Three-Mode Switch: BEDROCK, DUAL, DECIDER

They did not want to "flip a switch and hope for the best." On every message, the labeling Lambda reads a three-mode setting from AWS AppConfig:

  • BEDROCK: every ticket is labeled by Sonnet; Strands Decider is not called.
  • DUAL: Sonnet and Strands Decider are called in parallel. Sonnet's result is applied to the ticket while being compared against Strands Decider's output.
  • DECIDER: every ticket is labeled by Strands Decider; Bedrock is no longer called.

Lambda reads the three-mode switch from AppConfig on every message: BEDROCK labels with Sonnet only; DUAL calls both in parallel, applies Sonnet's label, and logs disagreements with Decider for review; DECIDER labels with Decider only. Switching from DECIDER back to BEDROCK is roughly a 45-second config change

The point of DUAL is not simply "run both models," it is that the old path still owns the write-back. The new model shadows live traffic while production behavior stays unchanged. As the authors put it, running both on real traffic and adjudicating every disagreement taught them more than any offline evaluation could. It also meant rolling back was just a ~45-second config change.

I put this switch on the same tier of importance as the model itself. No matter how carefully you curate an offline test set, it rarely captures alarm storms, rare security findings, or a ticket class that suddenly doubles in length one week. DUAL shifts evaluation from "the sample we curated" to "the tickets hitting the system right now," at the cost of paying for double inference—once for Sonnet, once for Decider—while that mode is active. Only after disagreements are reviewed and thresholds tuned do you cut over to DECIDER, where the published latency and cost numbers actually kick in. And if the new model starts misbehaving on some ticket slice, flipping back to BEDROCK requires neither redeploying Lambda nor waiting for a SageMaker endpoint to cold-start an old model.

Near the end of the post, the authors remark that they would copy this pattern regardless of which model they used. I agree. The decision model itself is replaceable; the three-mode switch captures a more general rollout discipline: shadow the new path first, keep writes on the old path, and make rollback a config toggle rather than a deployment.


6. JSON Key Ordering Can Shift Probabilities by Up to 0.19

The case study shares one finding that surprised even the authors: JSON key order changes the answer. For identical content serialized with keys in a different order, output probabilities could shift by up to 0.19. They now sort the keys on every request before sending it, and warn that if you serve a decision model behind an API, you should check this before comparing any two runs.

A 0.19 swing is not negligible noise. On a multi-option classification problem, that is enough to turn a marginal lead into a confident-looking prediction, or flip two close labels outright. If you are tracking disagreements in DUAL mode, unstable serialization will make the model look erratic when the real culprit is the same ticket being written as two different strings.

The architecture docs report another related figure that should not be conflated with this one: reversing the entire option list shifts the distribution by only about 0.016. The authors attribute that to causal attention letting later options attend to earlier ones; eliminating it completely would require isolating attention per option, which they did not implement. 0.016 and 0.19 are an order of magnitude apart and measure different things—option order versus the key order of the state (the ticket) serialized as JSON. During training, option order is shuffled on every example, explicitly regularizing the model not to memorize which slot tends to win; nobody regularized JSON field ordering with the same rigor.

The authors do not offer a mechanistic explanation for why key order moves probabilities so much. Here is my own hypothesis. A decision model is still a causal sequence model: the entire hidden-state trajectory depends on token order. Ticket state can make up a large chunk of the prompt, so reordering its keys rewrites a huge prefix—and both the query at <answer> and every option's end-of-line key attend over that shuffled prefix. Tokenization shifts too: whether "priority" or "title" comes first changes token boundaries around quotes, commas, and colons. Position matters as well: under causal attention, fields closer to the question and options tend to exert stronger influence on downstream hidden states, so moving a title from the first key in an object to the last is hardly a small perturbation. Those are reasonable inferences from how sequence models react to surface form, not explanations the authors gave when reporting the 0.19 figure.

The snippet below illustrates request canonicalization before sending, not scoring itself. I ran it on Python 3.13.5 and included the actual output; it is not Amazon or Strands source code.

# Unofficial / illustrative: sort the state JSON keys before sending to a decision model.
import json


def canonicalize(obj):
    if isinstance(obj, dict):
        return {k: canonicalize(obj[k]) for k in sorted(obj)}
    if isinstance(obj, list):
        return [canonicalize(x) for x in obj]
    return obj


ticket_a = {
    "priority": "high",
    "title": "VPN cannot connect after the certificate rotation",
    "queue": "network",
}
ticket_b = {
    "queue": "network",
    "title": "VPN cannot connect after the certificate rotation",
    "priority": "high",
}

raw_a = json.dumps(ticket_a, ensure_ascii=False)
raw_b = json.dumps(ticket_b, ensure_ascii=False)
canon_a = json.dumps(canonicalize(ticket_a), ensure_ascii=False)
canon_b = json.dumps(canonicalize(ticket_b), ensure_ascii=False)

print("unsorted equal:", raw_a == raw_b)
print("raw_a:", raw_a)
print("raw_b:", raw_b)
print("canonical equal:", canon_a == canon_b)
print("canonical:", canon_a)
unsorted equal: False
raw_a: {"priority": "high", "title": "VPN cannot connect after the certificate rotation", "queue": "network"}
raw_b: {"queue": "network", "title": "VPN cannot connect after the certificate rotation", "priority": "high"}
canonical equal: True
canonical: {"priority": "high", "queue": "network", "title": "VPN cannot connect after the certificate rotation"}

Both objects have identical keys and values, yet default json.dumps preserves insertion order and produces two distinct strings. Once sorted, they collapse to the exact same input. If a decision model is sensitive to this difference, canonicalizing at the API boundary has to come first—before talking about reproducibility across runs or whether a disagreement in DUAL mode is real.


7. Comparing Three Alternatives and Where Each Fits

Swapping a generative model for a decision model is neither the only way to handle classification nor always the best one. At least three other well-established approaches compete for the same class of problems.

Classic fine-tuned classifiers—linear models, SVMs, or a BERT-style encoder with a fixed classification head—remain the floor for latency and cost. On Hacker News, someone brought up Linnaeus, a six-year-old SVM system for ticket and log classification that trains in minutes and infers in milliseconds. This path requires labeled historical data and relatively stable categories: because the labels live in the final layer's weights, changing the catalog usually means gathering new data and retraining. It fits teams with a steady taxonomy, abundant labeled history, and the appetite to maintain a training and evaluation loop. It fits poorly when all you have is a written policy that needs to ship next week, or when category definitions keep evolving every sprint. A decision model keeps labels in the request so adding a class requires no retraining; a classic classifier buys lower per-call cost at the price of baking the taxonomy into the model.

Logprob-based classification with a generative LLM looks like a close middle ground: ask the model to pick from A / B / C or a list of label names, then read the log probabilities of those tokens as a pseudo-distribution. Under the hood, it is still a generative model. Label names frequently split into multiple tokens, APIs do not always expose logprobs, and what you get is probability mass over the vocabulary rather than mass over fully read option descriptions. Prompt wording and option order can still sway it. When volume is modest, you are already calling an LLM, and you just want slightly cleaner structure, this is convenient. Amazon's old pipeline was heavier still: the model had to emit both a label and reasoning inside JSON, spending 170 output tokens per ticket. A decision model turns "softmax over the options" from a prompting trick into a native computation in the model head.

Vector embeddings plus kNN (or similar neighbor voting) answer a different question: "does this ticket look like past tickets?" You embed the incoming ticket, retrieve its nearest neighbors from labeled history, vote on their labels, and reject if the distance is too large. When ground truth really is "resembles historical tickets of class X," this is clean and cheap. When ground truth comes from a written rule—say, "only certificate rotation counts as networking," while the nearest neighbors happen to be filled with access-provisioning tickets that superficially look like networking—similarity leads you astray. Adding a new category requires a batch of examples rather than a single criterion. Distance thresholds can also drive abstention, but they calibrate geometric proximity in embedding space, not probabilities over verbally defined options.

Decision models sit somewhere in the middle. They keep the zero-shot feel of describing categories in natural language while collapsing the output into a single thresholdable distribution; options are defined in the request so taxonomy edits do not force retraining; inference is a single forward pass with no decoding loop. Amazon states its own criteria for when this fits: a closed-set choice from a known catalog, high volume, and latency on the existing path that has become a real bottleneck. They also list when it does not fit: when labels require written explanations, when the catalog changes every week, or when useful context does not fit inside a few thousand tokens.

That last point is worth unpacking. Architecturally, labels are runtime-defined, so changing the catalog does not require retraining. My read is that weekly catalog churn changes more than option strings: you also have to craft new criteria, decide whether thresholds need retuning, and review fresh disagreements in DUAL mode. Because a decision model cannot generate explanations, when a new category is fuzzy you cannot ask it why it picked a label the way you could with Sonnet. And when context overflows the window, their workaround—dropping the oldest comments—is explicit information loss, especially when a ticket's crucial detail lives in an early reply rather than the last few messages. Those boundaries are not my guesses about the model, they are Amazon's own stated limits; the explanation for why weekly catalog churn still hurts is my own extrapolation.


8. My Take

  1. What actually changed was the interface, not just swapping in a smaller chat model. If you simply replace Sonnet with a cheaper generative model, you are still paying output tokens for JSON and a reasoning trace, still lacking a confidence score you can check against empirical frequency, and still lacking a structural guarantee that the answer belongs to the catalog. The first thing Amazon got right was admitting that labeling is a closed multiple-choice task. The pointer head, single forward pass, and runtime-defined labels all serve that interface. Of the 98% cost drop, part comes from a smaller self-hosted model, part from cutting output from 170 tokens to 1, and part from rewriting over-budget label docs into twenty short criteria. Flattening all of that into "smaller models are cheaper" misses the most transferable lesson.

  2. Rewriting labels into one- or two-sentence criteria both compresses the prompt and re-specifies the classification rules. The legacy production descriptions exceeded 4,096 tokens, so rewriting them was a hard prerequisite for using a decision model at all. Once rewritten, the model's job shifts from "parse our sprawling internal wiki" to "evaluate this testable sentence." Because the pointer head reads the option text directly, crisper criteria make the scores behave more like rule matching and less like free-associating on a label name—and adding none forces the catalog to acknowledge incomplete coverage. I have not seen their twenty criteria verbatim, so I cannot judge the prose quality, but structurally this step matters just as much as swapping the model.

  3. The three-mode switch is even more worth copying than the model itself. BEDROCK / DUAL / DECIDER breaks rollout into three clear phases: keep the old path owning writes, expose disagreements on live traffic with the new path, and cut over only after verifying—with rollback as roughly a 45-second config change. The authors themselves say they would keep this pattern regardless of the model. An offline eval tells you who wins on the sample you curated; DUAL tells you where the two models disagree on the tickets actually arriving this week. For internal ticket streams that drift over time, the latter is much closer to production reality.

  4. Calibrated confidence plus an explicit none option is what makes auto-labeling safe enough to leave human-in-the-loop defaults. Generative models can abstain too, but their abstention is prose and their thresholds are heuristics. A decision model reduces certainty to a single N-invariant number, turning coverage versus precision into a configurable policy. Tuning that threshold was the very first thing they did after switching models. They published neither reliability diagrams for ticketing nor their exact cutoff, so the takeaway to copy is the workflow—score first, set a threshold, route disagreements to humans—not guessing whether their magic number was 0.7 or 0.9.

  5. The JSON key-order bug is a reminder that these models remain sensitive to surface form, so canonicalize at the request boundary. A probability shift of up to 0.19 is plenty to pollute DUAL disagreement logs and break comparability between two "identical" eval runs. Option order was deliberately shuffled during training while state field order was not, which may help explain why reversing options moved distributions by only ~0.016 whereas reordering JSON keys moved them by up to 0.19—that last part is my hypothesis. The actionable rule does not depend on the hypothesis: sort keys at the API boundary before talking about reproducibility or comparisons.

  6. Treat the published latency, token, and cost figures as their own self-reported measurements. Going from 4,215 ms to 897 ms, cutting tokens from 6,724 to 2,010, the ~98% cost drop, ~$250 per million tickets at peak utilization versus ~$500 per million with headroom, and "save millions of dollars of token costs in a year" all come from the case study—and cost explicitly depends on how busy your instances stay. I have not reproduced those numbers on production traffic or benchmarked E4B against Sonnet 4.6 myself. What is more useful for system design are their stated boundaries: closed-set choice, known catalog, high volume, and latency that is already hurting on the old path; when you need written explanations, weekly catalog churn, or more than a few thousand tokens of context, a decision model probably cannot replace an LLM. Dropping the oldest comments to fit the window is an accepted information loss at that boundary, not a free optimization.


References

Related Posts