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.

InferCrane Research · 9 min read

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.

Commerce-1 architectureDirect option scoring replaces the language modeling output path.
Statecart, inventory, policy, customer context
QuestionsChoice, Noul, Score
Strict renderer65,536 token maximumfails closed on overflow
27B decision backbonenoncausal full attentionrecurrent linear layers preserved
Decision readoutlast position poolingall supplied options scored directly
Choice
Noul
Score
typed distributions
Application authorityinventory truthbudget and safety gatesreview thresholdspayment execution
Figure 1. Commerce-1 scores the options supplied by the application. It does not generate an explanation and it does not become the system of record.

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 evidenceTwo runs with different evaluation boundaries. Official 0.3 rank is pending.
Release gate60.99

Decision Index 0.2.1

150,317 / 150,317 rows complete
Current public component61.69

Decision Index 0.3 public index

140,178 / 140,178 scoreable requests
Figure 2. Chance-corrected public suite area scores are diagnostic benchmark measurements, not production success rates.

The 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.

Inspect the immutable evaluation artifacts

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.

Qualified latency for one complete fixtureChoice, Noul, and Score on one H200, BF16, network disabled.
Commerce-1 qualified runtime latencyOn one NVIDIA H200 using BF16, the complete three-decision fixture measured 340.146 milliseconds median latency, 349.026 milliseconds p95 latency, and 8.836 decisions per second across 12 measured iterations after 2 warmups, with question microbatch 1.320330340350360 msp50 340.146 msp95 349.026 ms12 measured iterations after 2 warmups8.836 decisions/s
p50 latency340.146 ms
p95 latency349.026 ms
Throughput8.836 decisions/s
Measurement12 iterations
Hardware 1 NVIDIA H200Runtime CUDA 13.0, PyTorch 2.14.0Microbatch one questionParity 0.0 maximum difference
Figure 3. This is content-bound package qualification. It is not single-decision HTTP latency, official benchmark latency, or a claim about other hardware.

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.

Commerce-1 Arcade showing Black Friday Live, Buy It For Me, and Spend Guard
Figure 4. Commerce-1 Arcade. Black Friday Live and Spend Guard are labeled synthetic workflow replays. Buy It For Me displays a verified frozen H200 model receipt.

Open Commerce-1 Arcade

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.

Run Commerce-1

Start with the immutable model and source revisions. Inspect the evidence, reproduce the qualified path, then evaluate the model on the decisions your agent actually needs to make.

Model 47e8004868765fbd209ad5421a5af3e27f872e1e
Source 5c4a24c19b0d30dfbf00f6d75e25aaf29ce421db
Results 8de2672f0b3b24275834b045d9e3a3dcd83282fc