Research
Introducing Commerce‑1: a decision model for agentic commerce
A 27B open-weight model that scores bounded actions, returns calibrated probabilities, and leaves authority with the application.
Most commerce agents use a language model for two different jobs. The first is understanding an open-ended request. The second is choosing an action from a set the application already knows is possible. Those jobs look similar in an API, but they have different engineering requirements.
A model deciding whether to reserve inventory, request review, retry a payment, or stop does not need to write a paragraph. It needs to evaluate the available actions, return a complete probability distribution, and do so in a form that deterministic policy code can inspect.
We built Commerce-1 for that second job. It is a self-hosted 27B decision model for bounded judgment inside commerce workflows. The weights, serving code, evaluation evidence, and exact runtime identities are public.
A deliberately narrower model
A generative model predicts the next token, then repeats that operation until it has produced a response. Commerce-1 receives a structured state and one or more typed questions. It scores the supplied answers directly and returns the selected answer together with the entire distribution.
Commerce-1 exposes three primitives.
- Choice
- Choose one named action and return a probability for every candidate.
- Noul
- Answer a binary gate and return the probability that it is true.
- Score
- Evaluate an ordered rubric and return its full ordinal distribution.
The reduced output space is the point. The caller can set a review threshold, compare alternatives, or escalate uncertainty without parsing generated prose. The tradeoff is equally important: Commerce-1 is not useful for writing product copy, answering open questions, planning long tasks, or explaining a decision.
Architecture
Commerce-1 starts from the Perplexity Decider 27B family. We retain the hybrid backbone, apply noncausal masks to the full-attention layers, and preserve the recurrence in the linear attention layers. This gives each option access to the complete rendered decision while keeping the backbone structure intact.
The language modeling head is not used for inference. Last position pooling feeds a dedicated decision readout that scores every supplied option. Choice-order augmentation reduces dependence on option position. We then fit held-out temperature calibration separately for Choice, Noul, and Score.
The renderer is part of the model contract. It preserves option order, accepts up to 255 Choice candidates, and rejects requests that exceed 65,536 tokens. Overflow fails closed rather than silently truncating the state or an answer option.
Why the application keeps authority
Commerce state changes faster than model weights. Inventory, prices, payment status, delivery promises, merchant rules, and legal restrictions belong to the system that owns the transaction. We do not ask Commerce-1 to recreate those facts from memory.
Instead, the application supplies the current state and the actions that are actually available. Commerce-1 ranks those actions. Deterministic code still owns hard constraints such as an allergy exclusion, a spending limit, or the authority to move money. This separation is what makes the model useful inside an agent rather than merely impressive in a chat window.
- Model responsibility
- Rank the supplied actions and return a probability for each one.
- Application responsibility
- Validate current state, enforce policy, and authorize external effects.
One state, several decisions
The native API accepts one structured state and an ordered set of questions. The same scorer is also available through a strict JSON-only OpenAI-compatible bridge for clients that cannot call the native route.
{
"state": { "cart_total": 117, "approved_total": 94 },
"questions": {
"route": {
"type": "choice",
"instructions": "Choose the safest next action.",
"criteria": {
"continue": "Continue.",
"review": "Ask for review.",
"block": "Stop."
}
},
"review": { "type": "noul", "instructions": "Is review required?" },
"risk": {
"type": "score",
"instructions": "Score commerce risk.",
"criteria": ["low", "guarded", "high", "block"]
}
}
}The qualified runtime scores each question with question microbatch one. A request can contain several questions, but that is not a claim that every question is answered in a single model pass.
Evaluation
We used a complete Decision Index 0.2.1 reproduction as the release gate. Commerce-1 scored 60.99 and completed all 150,317 merged rows. We subsequently ran the public component of Decision Index 0.3. That run scored 61.69 and completed all 140,178 scoreable requests with no unsupported requests and no errors.
Decision Index 0.2.1
150,317 / 150,317 rows completeDecision Index 0.3 public index
140,178 / 140,178 scoreable requestsThe 0.3 public index is not the benchmark Full Score. Private tests, held-out answer checks, official latency, and leaderboard placement remain with the maintainers. We submitted the immutable public release for evaluation and do not claim a rank before that process is complete.
Runtime qualification
Model quality and deployability are separate questions. We therefore qualified the released package against one exact serving path: Linux, one NVIDIA H200, BF16, CUDA 13.0, PyTorch 2.14.0, Python 3.12.10, and network access disabled.
The qualification also checks that native inference, the evaluated runtime, and the released package produce the same values. The maximum absolute difference was 0.0 across the published comparisons. Every required file is inventoried and hashed before load, and the runtime rejects undeclared files, mutable identities, changed checkpoint bytes, calibration drift, and network fallback.
Seeing the contract work
We built Commerce-1 Arcade to show the three primitives in familiar commerce situations. Black Friday Live routes store operations through bounded actions. Buy It For Me ranks complete baskets under budget, timing, diet, and safety constraints. Spend Guard shows binary gates, action choice, and ordinal risk across card, invoice, and stablecoin activity.

Limits and next work
Commerce-1 is text and structured state only. Vision and audio are not supported in this release. The qualified path requires one NVIDIA H200; CPU, macOS, laptop GPUs, Jetson, and llama.cpp have not been qualified. The approximately 54 GiB BF16 checkpoint also needs additional memory for activations and staging.
Probabilities are useful for routing and review, but they are not guarantees of correctness. A production team should recalibrate on representative traffic, measure the decisions that matter to its business, and keep consequential actions behind explicit controls.
Our next work is to broaden hardware qualification, improve commerce-specific evaluation, and measure real serving economics. Until those measurements exist, we will not turn them into claims.