# Strands Decider 2B

> Strands Labs' open-weight decision model joins the Decisions family: run `strands-decider serve` or Ollama (`strands-decider:2b`) on your own hardware and route POST /api/v1/decisions to it through AnyRouter.

- Date: 2026-10-02
- HTML: https://anyrouter.dev/blog/releases/2026-10-02-strands-decider

## Models

- `strandsagents/strands-decider-2b` (Strands Decider 2B) — Decision model, 4,096-token context, Apache-2.0 open weights. Serve on your own hardware: `strands-decider serve`, or Ollama (`strands-decider:2b`) over the AnyRouter relay.

## Notes

[`strandsagents/strands-decider-2b`](https://anyrouter.dev/model/strandsagents/strands-decider-2b) is Strands Labs' small open-weight decision model ([`StrandsAgents/strands-decider-2B-hobson-v19`](https://huggingface.co/StrandsAgents/strands-decider-2B-hobson-v19), Apache-2.0). Send `state` and typed `questions` (noul / choice / score) to `POST /api/v1/decisions` and get back answers with calibrated probabilities. It returns decisions, not generated chat text, so it produces no free-form output. The published recipe serves a 4,096-token context window.

- Terminal: `anyr decision --model strandsagents/strands-decider-2b` ([Decisions app](https://anyrouter.dev/apps/decisions)).
- App code, plain `fetch` to `/api/v1/decisions`, see the example below.

There is **no hosted API**. The weights run on your own hardware. Install the server (`pip install strands-decider`), start `strands-decider serve StrandsAgents/strands-decider-2B-hobson-v19 --port 8000`, and expose it at a reachable origin. Then add a Strands Decider key under [Dashboard → BYOK](https://anyrouter.dev/dashboard/byok): the serve defines no auth, so the saved value rides along as a passthrough `Authorization` header the server ignores. AnyRouter charges nothing for a BYOK route, and the model itself is free. You pay only for your own compute.

```bash
pip install strands-decider
strands-decider serve StrandsAgents/strands-decider-2B-hobson-v19 --port 8000

curl -fsSL https://anyrouter.dev/cli.sh | bash
anyr login
anyr decision --model strandsagents/strands-decider-2b
```

_Serve the weights, then run it with the native anyr command._

```ts
const res = await fetch("https://anyrouter.dev/api/v1/decisions", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.ANYROUTER_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    state: "My checkout page shows a blank screen after I click Pay.",
    model: "strandsagents/strands-decider-2b",
    questions: {
      team: {
        type: "choice",
        instructions: "Which team should own this ticket?",
        criteria: {
          account: "Login, permissions, or profile issues.",
          frontend: "Rendering, layout, or browser compatibility issues.",
          payments: "Checkout, billing, or payment processing issues.",
        },
      },
    },
  }),
})
console.log(await res.json())
```

_One request, one choice question._

More: [Decisions app](https://anyrouter.dev/apps/decisions) · [BYOK setup](https://anyrouter.dev/use-cases/byok).
