Dev.to AI 🤖 Ai 👁 0 📖 8 min read

AWS Releases Strands Decider v2 Decision Models

Five Apache-2.0 models give agent builders a non-generative layer for routing, tool selection and evaluation, with sizes ranging from E2B to 31B. AWS’s Strands team released Strands Decider v2 on November 23, 2026, intr

Five Apache-2.0 models give agent builders a non-generative layer for routing, tool selection and evaluation, with sizes ranging from E2B to 31B.

AWS’s Strands team released Strands Decider v2 on November 23, 2026, introducing five open-weight decision models: E2B, E4B, 12B, 26B-A4B and 31B. Built from Google’s Gemma 4 instruction-tuned models, the family scores developer-supplied options and returns their probabilities in one forward pass, without generating text.

The Strands Decider v2 announcement positions these models as a specialized layer inside AI agents. An LLM can write an answer or plan a task; Decider can choose which model should handle it, select a tool or judge whether an answer meets a defined criterion.

The practical change is a common interface across five sizes, paired with a new scoring architecture. Builders can test different accuracy and hardware tradeoffs by changing the model name. Choosing well requires looking beyond those size labels, which mix effective, total and active parameter counts.

Why AWS Built a Non-Generative Decision Layer

Strands Decider v2 handles decisions whose possible answers are already known. A request contains a shared state, such as a support ticket or agent trace, followed by questions and their permitted answers.

The supported question types are:

  • choice: Pick among two to 255 supplied options.
  • noul: Answer a yes/no question, returning the probability of “yes.”
  • score: Rate something on an ordered scale with two to 10 levels.

That covers many repetitive steps inside an agent: assigning a ticket, selecting a tool, checking tool arguments or evaluating whether a response is grounded. Because the result is structured probabilities, an application does not need to extract a label from generated prose.

AWS’s economic rationale comes partly from an earlier deployment. The team says engineers on a large internal Amazon ticketing system replaced Anthropic’s Claude Sonnet 4.6 with Decider v1 for labeling, cutting inference cost by 98% and making calls 78% faster. Those figures describe one internal workload using the previous generation, as covered in Zeniteq’s earlier report on Amazon’s labeling-cost claim. They are not a measured v2 saving.

The design also creates a boundary builders must handle: Decider chooses within the supplied answer space. If a workflow needs an “escalate” or “none of these” route, that outcome should be represented in its options or surrounding application logic. A confident selection cannot compensate for a missing valid answer.

How Strands Decider v2 Scores Options

Strands Decider v2 replaces v1’s added pointer head with direct option-token scoring and changes causal attention to prefix-bidirectional attention. The architecture description ties both changes to a workload that reads inputs and scores answers without decoding text.

Component Strands Decider v1 Strands Decider v2
Readout Added pointer head Direct scoring of option tokens
Attention Causal Prefix-bidirectional
LoRA adaptation Rank 16 Rank 64, including every routed expert in 26B-A4B
Training examples 136,000 17.48 million
Objective Cross-entropy, distillation and KL regularization Answer-only cross-entropy

The v2 readout is a 255-row layer, initialized from the language-model head’s rows for option tokens such as A, B and C. The rest of that head is dropped. Each option’s probability comes from scoring its token at the end of the prompt.

Prefix-bidirectional attention addresses a different cost: repeatedly reading the same information. Decider encodes the shared state once, and additional questions attend to that state while processing their own tokens. This makes several checks against one agent trace a particularly relevant workload.

AWS calls the inference process “all prefill”: the model reads the inputs in one pass instead of producing an answer token by token. That removes decoding work, but a long state still requires processing. One forward pass is not a fixed-cost operation independent of input length.

Each size was trained for one epoch on 17.48 million examples. The team says it averaged weights from three runs with different random seeds, then fitted a calibration temperature on held-out questions and included it in the checkpoint. That calibration step matters because applications may use confidence to decide whether to act or escalate.

Strands Decider v2 Sizes and GPU Requirements

Strands Decider v2 spans a CPU-capable E2B checkpoint through a 31B model recommended for an 80 GB GPU. The E2B model card’s family table supplies parameter and weight sizes; the official model matrix provides recommended GPU capacity and latency.

Model Published parameter count bf16 weights Recommended GPU memory Median H100 latency
E2B 2.3B effective; 5.1B including embeddings 10.3 GB 24 GB; CPU also supported 62 ms
E4B 4.5B effective; 8B including embeddings 16 GB 40 GB 78 ms
12B 11.95B 24 GB 48 GB 80 ms
26B-A4B 25.2B total; 3.8B active 52 GB 80 GB 86 ms
31B 30.7B 63 GB 80 GB 99 ms

These latency figures are Strands-team measurements, reported as medians for one question over 231 JevBench items on an NVIDIA H100. They are not measurements on every GPU with the listed memory capacity. The benchmark, calibration and economic claims in the launch sources have not been independently reproduced in the evidence available for this article.

The labels need careful reading. E2B’s 2.3 billion effective parameters do not mean its full weights occupy the memory of a conventional 2.3B dense model. Likewise, 26B-A4B activates 3.8 billion parameters but retains 25.2 billion total parameters across its mixture-of-experts architecture, which has 128 experts.

Weight size is also not the complete serving-memory budget. Activations require additional space, which helps explain why the recommended GPU capacities exceed the bf16 files. Zeniteq’s hardware-matched local LLM guide provides broader context for matching models to hardware; the Decider-specific recommendations above are the relevant starting point here.

Which Size Fits Which Deployment?

  • E2B: Start here for the smallest deployment. The model card supports one 24 GB GPU or slower CPU execution.
  • E4B: A 40 GB GPU option with a substantial reported improvement over E2B on detail-sensitive decisions.
  • 12B: Fits the team’s 48 GB recommendation and improves several benchmarks while remaining close to E4B’s reported single-question latency.
  • 26B-A4B: The team’s recommendation for many questions about one shared state, on an 80 GB GPU.
  • 31B: The highest-scoring model in the published matrix, also recommended for an 80 GB GPU.

All five models use the same request format. That makes workload-specific comparisons straightforward without rewriting the application’s decision interface.

Benchmarks Show Why the Task Matters

Strands Decider v2’s published results improve across the family, but the size of the improvement depends heavily on the benchmark. The official v2 results use a 0–100 scale:

Model Decision Index 0.3 JevBench OpenDecisions DecisionPivot BEV
E2B 57.1 87.4 77.7 23.3 74.0
E4B 63.2 88.3 83.9 45.2 78.9
12B 64.1 92.2 85.7 58.9 79.0
26B-A4B 69.0 92.6 88.6 69.2 81.4
31B 71.5 93.1 92.2 84.3 84.5

Decision Index 0.3 spans 41 tasks in five areas. JevBench measures correctness on 231 public items. OpenDecisions includes answer quality and calibration; BEV covers choice, yes/no and ordered-score decisions across 18 domains. DecisionPivot measures pair accuracy on examples that differ in one decisive detail.

Two comparisons are particularly useful for deployment planning:

  • E4B to 12B: Decision Index rises only 0.9 points, but DecisionPivot rises 13.7 points. The GPU recommendation moves from 40 GB to 48 GB, while reported median latency moves from 78 to 80 milliseconds.
  • 26B-A4B to 31B: Both target an 80 GB GPU. The larger model gains 2.5 Decision Index points and 15.1 DecisionPivot points, with reported latency increasing from 86 to 99 milliseconds.

The implication is specific: a broad aggregate may understate the value of a larger checkpoint for routing rules that hinge on a small textual distinction. These published results make that a useful hypothesis to test on representative requests, not a guaranteed production outcome.

The announcement also reports a six-text-benchmark average of 82.1 for v2 31B, compared with 70.0 for v1 26B-A4B. That compares different sizes. Its E4B comparison holds the size label constant: 74.4 for v2 against 62.7 for v1.

For calibration, the team reports expected calibration error falling from 0.062 for v1 26B-A4B to 0.027 for v2 31B on those six benchmarks. Lower error means confidence better matches observed correctness across the evaluated predictions; it does not make every high-confidence decision correct.

Shared-state processing has a separate illustration in the E2B card: the team reports 62 milliseconds for one question and 92 milliseconds for 30 questions about one state on an H100. That supports testing grouped checks together, although it is not an end-to-end agent latency measurement.

How to Run Strands Decider v2

Strands Decider v2 is available through the strands-decider package, with Apache-2.0 weights on Hugging Face. The E2B model card links the open-source strands-labs/strands-decider repository, also licensed under Apache-2.0, and documents Python 3.11 or later.

Its command-line example asks three questions about one support message:

pip install strands-decider

strands-decider ask StrandsAgents/strands-decider-E2B-gemma4-v2-2611 \
  --state 'Help! My payouts have been failing for 3 days!' \
  --noul "Does this convey urgency?" \
  --choice "Which team should handle this?=billing,sales,retail" \
  --score "How frustrated is the writer?=calm,frustrated,very angry"

The first invocation downloads the checkpoint. The command requests an urgency probability, a probability distribution across teams and an ordered frustration score. Adding --device cpu selects CPU execution for E2B.

The score is an expected level, so it can fall between labels. Choice confidence is also distinct from the winning option’s probability: the card’s example gives billing a probability of 0.979 and reports normalized confidence of 0.969 across three options. Thresholds should therefore use the intended output field.

The models documentation lists a 32,768-token context. The E2B card identifies that as its validated default and lists support up to 131,072 tokens; the larger limit should not be treated as equally validated.

For local HTTP experiments, the documented command is:

strands-decider serve StrandsAgents/strands-decider-E2B-gemma4-v2-2611 --port 8000

The server exposes POST /v1/systemone, binds to 127.0.0.1 and has no authentication. That makes the documented setup suitable for local experiments. Any broader exposure needs access controls outside that default configuration.

Frequently Asked Questions

How Do You Switch Between Strands Decider v2 Sizes?

Change the model name in strands-decider ask, strands-decider serve or the corresponding application configuration. The v2 model card says all five sizes accept the same request and return the same kind of answer. Hardware requirements still change, so confirm available memory before loading a larger checkpoint.

How Much GPU Memory Does Strands Decider v2 Need?

The official recommendations are 24 GB for E2B, 40 GB for E4B, 48 GB for 12B and 80 GB for either 26B-A4B or 31B. These capacities exceed the bf16 weight sizes because serving also needs activation memory. E2B additionally supports slower CPU execution.

Where Are the Weights and Open-Source Code?

The Apache-2.0 weights are on Hugging Face under StrandsAgents. The E2B model card lists the complete family and links the Apache-2.0 strands-labs/strands-decider repository. It also includes installation instructions, command-line examples and the local HTTP serving interface, providing a practical entry point for evaluating the models.

Originally published on Zeniteq.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.